< Home

rule move (SACG interworking policy view)

Function

The rule move command moves a SACG interworking policy rule to change its priority.

Format

rule move rule-name1 { { before | after } rule-name2 | up | down | top | bottom }

Parameters

Parameter Description Value
rule-name1 Specifies the name of a rule to be moved. The rule must exist.
before Moves rule-name1 to before rule-name2. -
after Moves rule-name1 to after rule-name2. -
rule-name2 Specifies the name of the target rule. The rule must exist.
up Moves the rule before the upper one. -
down Moves the rule after the lower one. -
top Moves the rule to the top. -
bottom Moves the rule to the bottom (before the default policy). -

Views

SACG interworking policy view

Default Level

2: Configuration level

Usage Guidelines

By default, SACG interworking policy rules are prioritized by configuration order. This command is used to change the priorities of policy rules.

Example

# Move SACG interworking policy rule test1 to before SACG interworking policy rule test2.

<sysname> system-view
[sysname] rightm-policy
[sysname-policy-rightm] rule move test1 before test2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >