< Home

rule move (authentication policy view)

Function

The rule move command moves an authentication policy rule to change the priority of the authentication policy rule.

Format

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

Parameters

Parameter Description Value
rule-name1 Specifies the name of an authentication policy rule to be moved. The specified authentication policy rule must exist.
after Moves rule-name1 to after rule-name2. -
before Moves rule-name1 to before rule-name2. -
rule-name2 Specifies the name of an authentication policy rule considered as a reference. The specified authentication policy 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

Authentication policy view

Default Level

2: Configuration level

Usage Guidelines

The topmost authentication policy rule has the highest priority and is matched first.

The authentication policy rule configured first ranks topmost and has the highest priority, unless you manually adjust the priority.

You can run the rule move command to move an authentication policy rule to change its priority.

Example

# Move authentication policy rule auth_rule_2 to before auth_rule_1 so that the auth_rule_2 priority is higher than the auth_rule_1 priority.

<sysname> system-view
[sysname] auth-policy
[sysname-policy-auth] rule move auth_rule_2 before auth_rule_1
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >