The rule move command allows you to move a PCP policy rule so that the priority of the PCP policy rule changes.
| Parameter | Description | Value |
|---|---|---|
| rule-name1 | Specifies the name of a policy rule to be moved. | The policy rule must exist. |
| after | Moves rule-name1 after rule-name2. | - |
| before | Moves rule-name1 before rule-name2. | - |
| rule-name2 | Specifies the name of a reference policy rule. | The 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 | Move a rule to the bottom ( before the default policy ) . | - |
The position of a PCP policy rule determines the priority of the rule. PCP policy rules are arranged in descending order by priority. The system matches traffic with policy rules in descending order by priority.
By default, an earlier configured traffic policy rule has a higher priority.
An administrator can run the rule move command to move a policy rule to change the rule priority.