User Manual

Table Of Contents
[Example]
Apply access list #2001 to received frames of LAN port #1.
SWP2(config)#interface port1.1
SWP2(config-if)#access-group 2001 in
9.1.10 Show generated access list
[Syntax]
show access-list [acl_id]
[Parameter]
acl-id : <1-2000>, <2001-3000>, <3001-4000>
ID of access list
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
Shows the registered access list.
If acl-id is omitted, all access lists are shown.
If an access list is applied to an interface, and one or more frames that match the conditions are received or forwarded, the total
number (match) of those frames is also shown.
[Note]
The total number (match) of frames that match the traffic category (QoS) conditions is also incremented.
[Example]
Show all lists.
SWP2>show access-list
IPv4 access list 1
10 deny any 192.168.1.0/24 host 172.16.1.1 [match= 62]
MAC access list 2001
10 deny host 00A0.DE12.3456 any [match= 123]
IPv6 access list 3002
10 deny 3ffe:506::/32
9.1.11 Clear counters
[Syntax]
clear access-list counters [acl_id]
[Parameter]
acl-id : <1-2000>, <2001-3000>, <3001-4000>
ID of access list
[Input mode]
priviledged EXEC mode
[Description]
Clears the counters (match) that are shown by the "show access-list" command.
[Example]
Clear counters.
SWP2>clear access-list counters
9.1.12 Show access list applied to interface
[Syntax]
show access-group
Command Reference | Traffic control | 253