< Home

rule copy (SACG interworking policy view)

Function

The rule copy command clones a SACG interworking policy rule.

Format

rule copy rule-name new-rule-name

Parameters

Parameter Description Value
rule-name Specifies the name of a SACG interworking policy rule to be cloned. The value must be the name of an existing SACG interworking policy rule.
new-rule-name Specifies a new name for the SACG interworking policy rule. The name is a string of case-sensitive characters. If the name does not contain any space, the length ranges from 1 to 32 characters. If the name contains spaces, the length ranges from 3 to 34 characters, and you must use double quotation marks ("") to enclose it (for example, "user for test"). The name cannot contain any question mark (?), comma (,) or quotation mark (").

Views

SACG interworking policy view

Default Level

2: Configuration level

Usage Guidelines

If a new SACG interworking policy rule is similar to an existing one, you can run the rule copy command to clone the existing policy rule as a new rule.

Example

# Clone SACG interworking policy rule policy_sec and name it to policy_sec_1.

<sysname> system-view
[sysname] rightm-policy
[sysname-policy-rightm] rule copy policy_sec policy_sec_1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >