User Manual

Table Of Contents
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, privileged 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.
The statistical number (match) of frames that conforms to the conditions of the route map (PBR) is not counted up.
[Example]
Show a list.
SWX3220>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]
privileged EXEC mode
[Description]
Clears the counters (match) that are shown by the "show access-list" command.
[Example]
Clear counters.
SWX3220>clear access-list counters
9.1.12 Show access list applied to interface
[Syntax]
show access-group
[Input mode]
unprivileged EXEC mode, privileged EXEC mode
[Description]
For each interface, shows the ID of all access lists that are applied.
380 | Command Reference | Traffic control