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.
[Example]
Show all lists.
SWR2311P>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.
SWR2311P>clear access-list counters
9.1.12 Show access list applied to interface
[Syntax]
show
access-group
[Input mode]
unprivileged EXEC mode, priviledged EXEC mode
[Description]
For each interface, shows the ID of all access lists that are applied.
[Example]
Show a list.
SWR2311P>show access-group
Interface port1.7 : IPv4 access group 1 in
Interface port1.10 : IPv6 access group 3002 in
Interface port1.15 : MAC access group 2001 in
9.1.13 Set VLAN access map and move to VLAN access map mode
[Syntax]
vlan
access-map
access-map-name
no
vlan
access-map
access-map-name
[Parameter]
access-map-name
:
Single-byte alphanumeric characters and single-byte symbols(256 characters or less)
Access map name
[Initial value]
none
224
| Command Reference | Traffic control