Specifications

Creating and Committing a Security ACL
15-8 Configuring and Managing Security ACLs
Setting a TCP ACL
ThefollowingcommandfiltersTCPpackets:
set security acl ip acl-name {permit [cos cos] | deny} tcp {source-ip-addr mask
[operator port [port2]] destination-ip-addr mask [operator port [port2]]}
[precedence precedence] [tos tos] [established] [before editbuffer-index |
modify editbuffer-index] [hits]
Example
ThefollowingcommandpermitspacketssentfromIPaddress192.168.1.5to192.168.1.6withthe
TCPdestinationportequalto524,aprecedenceof7,andatypeofserviceof15,onanestablished
TCPsession,andcountsthenumberofhitsgeneratedbytheACE:
RBT-8100# set security acl ip acl-4 permit tcp 192.168.1.5 0.0.0.0 192.168.1.6
0.0.0.0 eq 524 precedence 7 tos 15 established hits
(ForinformationaboutTOSandprecedencelevels,seetheRoamAboutMobilitySystemSoftware
CommandLineInterfaceReference.ForCoSdetails,seeClassofServiceonpage 155.)
Setting a UDP ACL
ThefollowingcommandfiltersUDPpackets:
set security acl ip acl-name {permit [cos cos] | deny} udp {source-ip-addr mask
[operator port [port2]] destination-ip-addr mask [operator port [port2]]}
[precedence precedence] [tos tos] [before editbuffer-index | modify editbuffer-
index] [hits]
Example
ThefollowingcommandpermitsUDPpacketssentfromIPaddress192.168.1.7toIP address
192.168.1.8,withanyUDPde stinationportlessthan65,535.ItputsthisACEfirstintheACL,and
countsthenumberofhitsgeneratedbytheACE.
RBT-8100# set security acl ip acl-5 permit udp 192.168.1.7 0.0.0.0 192.168.1.8
0.0.0.0 lt 65535 precedence 7 tos 15 before 1 hits
(ForinformationaboutTOSandprecedencelevels,seetheRoamAboutMobilitySystemSoftware
CommandLineInterfaceReference.ForCoSdetails,seeClassofServiceonpage 155.)