
C613-50186-01 Rev B
Command Reference for AR2050V
2602
AlliedWare Plus™ Operating System - Version 5.4.7-1.x
F
IREWALL
C
OMMANDS
MOVE
RULE
(F
IREWALL
)
move rule (Firewall)
Overview
Use this command to change the order of firewall rules.
Firewall rules are applied in rule ID order. When rules match the same application,
source entity and destination entity, only the rule with the lowest ID is applied.
Note that you can move an existing rule ID only to an ID that is not assigned to any
rule; otherwise you will be given an error message. Also note that a change to the
rule order may change the rule results.
Syntax
move rule <
1-65535
> to <
1-65535
>
Mode
Firewall Configuration
Examples
To change the rule ID from
20
to
10
, use the commands:
awplus#
configure terminal
awplus(config)#
firewall
awplus(config-firewall)#
move rule 20 to 10
Validation
commands
Related
commands
Parameter
Description
move rule
<
1-65535>
Move the ID of a given rule. The rule ID of the given rule
must exist.
Each rule has an ID which is either designated by the user or
automatically generated when the rule is created. The rule
ID is an integer from 1 to 65535.
to <
1-65535>
New rule ID to assign. The new rule ID must not be used by
any existing rule.