< Home

rule move (proxy policy view)

Function

The rule move command moves a proxy policy rule to change the priority of the proxy 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 a rule to be moved. The specified proxy 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 the target rule. The specified proxy 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

Proxy policy view

Default Level

2: Configuration level

Usage Guidelines

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

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

You can use the rule move command to move a proxy policy rule to change its priority.

Example

# Move proxy policy rule test1 to before test2.

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