< Home

rule copy (proxy policy view)

Function

The rule copy command clones a proxy policy rule.

Format

rule copy rule-name new-rule-name

Parameters

Parameter Description Value
rule-name Specifies the name of the proxy policy rule to be cloned. The specified proxy policy rule must exist.
new-rule-name Specifies the name of the new proxy policy rule. The value is a case-sensitive character string. The length of a name without spaces ranges from 1 to 32 characters. The length of a name with spaces ranges from 3 to 34 characters. If a name contains spaces, the name must be enclosed with quotation marks (for example, "policy for test"). The name cannot contain any question marks (?) or quotation marks (").

Views

Proxy policy view

Default Level

2: Configuration level

Usage Guidelines

You can clone a proxy policy rule and modify it to create a similar proxy policy rule.

Example

# Clone proxy policy rule policy_proxy and name the new rule policy_proxy_1.

<sysname> system-view
[sysname] proxy-policy
[sysname-policy-proxy] rule copy policy_proxy policy_proxy_1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >