Configuring and managing security ACLs 495
Nortel WLAN—Security Switch 2300 Series Configuration Guide

Viewing security ACL details

You can display the contents of one or all security ACLs that are committed. To display the contents of all committed
security ACLs, type the following command:
WSS# show security acl info
ACL information fo r all
set security acl ip acl-999 (hits #2 0)
----------------------------------------------------
1. deny IP source IP 192.168.0.1 0.0.0.0 destination IP any
2. permit IP source IP 192.168.0.2 0.0.0.0 destination IP any enable-hits
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
You can also view a specific security ACL. For example, to view acl-2, type the following command:
WSS# show security acl info acl-2
ACL information fo r acl-2
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

Displaying security ACL hits

Once you map an ACL, you can view the number of packets it has filtered, if you included the keyword hits. (For infor-
mation on setting hits, see “Setting a source IP ACL” on page 485.) Type the following command:
WSS# show security acl hits
ACL hit-counters
Index Counter ACL-name
-------------------- ---------------
1 0 acl-2
2 0 acl-999
5 916 acl-123
To sample the number of hits the security ACLs generate, you must specify the number of seconds between samples. For
example, to sample the hits generated every 180 seconds, type the following commands:
WSS# set security acl hit-sample-rate 180
WSS# show security acl hits
ACL hit-counters
Index Counter ACL-name
------------------- --------------
1 31986 acl-red
2 0 acl-green