Specifications

Table Of Contents
Chapter 2: acl-edit Commands
2 - 6 SSR Command Line Interface Reference Manual
move
Purpose
Re-order ACL rules by moving a rule to another position.
Format
move <
src
-
rule#>
after
<dst-rule#>
Mode
ACL Editor
Description
The
move
command provides the user with the ability to re-order rules within an ACL.
When new rules are entered in the ACL Editor, they are appended to the end of the
rules. One can move these rules to the desired location by using the move command.
The move command can also be used on existing ACL rules created in Configuration
mode instead of the ACL Editor.
Parameters
<src-rule#>
Rule number of the rule you want to move.
<dst-rule#>
Rule number of the rule after which you want the source rule
to move to.
Restrictions
None
Examples
ssr(config)# acl-edit 111
1*: acl 111 permit tcp 10.1.15.0/24 10.1.11.0/24 2000-2002 any
2*: acl 111 permit tcp 10.1.15.0/24 10.1.11.0/24 2003-2005 any
3*: acl 111 permit udp 10.1.17.0/24 10.1.22.0/24 2000-2002 any
4*: acl 111 permit udp 10.1.18.0/24 10.1.34.0/24 2003-2005 any
ssr(acl-edit)> move 2 after 4
1*: acl 111 permit tcp 10.1.15.0/24 10.1.11.0/24 2000-2002 any
2*: acl 111 permit udp 10.1.17.0/24 10.1.22.0/24 2000-2002 any
3*: acl 111 permit udp 10.1.18.0/24 10.1.34.0/24 2003-2005 any
4*: acl 111 permit tcp 10.1.15.0/24 10.1.11.0/24 2003-2005 any
ssr(acl-edit)>
Move rule #2 to the end of the list.