Specifications
Modifying a Security ACL
15-18 Configuring and Managing Security ACLs
Modifying an Existing Security ACL
Youcanusethemodifyeditbuffer‐indexportionofthesetsecurityaclcommandtomodifyan
activesecurityACL.
Example
Forexample,supposetheACLacl‐111currentlyblockssomepacketsfromIPaddress
192.168.254.12withthemask0.0.0.255andyouwanttochangetheACLtopermitallpacketsfrom
thisaddress.Followthesesteps:
1. TodisplayallcommittedsecurityACLs,typethefollowingcommand:
RBT-8100# show security acl info
ACL information for all
set security acl ip acl-111 (hits #4 0)
----------------------------------------------------
1. deny IP source IP 192.168.254.12 0.0.0.255 destination IP any
2. permit IP source IP 192.168.253.11 0.0.0.0 destination IP any
set security acl ip acl-2 (hits #1 0)
----------------------------------------------------
1. permit L4 Protocol 115 source IP 192.168.1.11 0.0.0.0 destination IP
192.168.1.15 0.0.0.0 precedence 0 tos 0 enable-hits
2. TomodifythefirstACEinacl‐111,typethefollowingcommands:
RBT-8100# set security acl ip acl-111 permit 192.168.254.12 0.0.0.0 modify 1
RBT-8100# commit security acl acl-111
success: change accepted.
3. Toviewtheresults,typethefollowingcommand:
RBT-8100# show security acl info
ACL information for all
set security acl ip acl-111 (hits #4 0)
----------------------------------------------------
1. permit IP source IP 192.168.254.12 0.0.0.0 destination IP any
2. permit IP source IP 192.168.253.11 0.0.0.0 destination IP any
set security acl ip acl-2 (hits #1 0)
----------------------------------------------------
1. permit L4 Protocol 115 source IP 192.168.1.11 0.0.0.0 destination IP
192.168.1.15 0.0.0.0 precedence 0 tos 0 enable-hits