< Home

rule move (flow probe policy view)

Function

The rule move command moves a flow probe policy rule to change its priority.

Format

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

Parameters

Parameter Description Value
rule-name1 Indicates the name of a rule to be moved. The specified rule must exist.
after Moves rule-name1 after rule-name2. -
before Moves rule-name1 before rule-name2. -
rule-name2 Indicates the name of the target rule. The specified 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

Flow probe policy view

Default Level

2: Configuration level

Usage Guidelines

Flow probe policy rules are listed in descending order by priority. The system matches traffic with flow probe policy rules in descending order by priority.

By default, an earlier configured flow probe policy rule has a higher priority.

An administrator can run the rule move command to move a policy rule to change its priority.

Example

# Move flow probe policy rule test1 before flow probe policy rule test2, so that the priority of test1 is higher than that of test2.

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