Use this command to enable the counter of packet matching the extended MAC access list. Use the
no form of this command to disable the counter.
Use this command to enable the counter of packets matching the MAC access list to monitor the
packets matching and filtering.
The following example enables the counter of packet matching the extended MAC access list named
mac-acl:
Ruijie(config)# mac access-list counter mac-acl
Ruijie(config)# show access-lists
mac access-list extended mac-acl
10 permit host 0023.56ac.8965 any (170 matches)
20 deny any any etype-any cos 6 (239 matches)
The following example disables the counter of packet matching the extended MAC access list named
mac-acl:
Ruijie(config)#no mac access-list counter mac-acl
Ruijie(config)# show access-lists
mac access-list extended mac-acl
10 permit host 0023.56ac.8965 any
20 deny any any etype-any cos 6