IP-ACL Counter Cleanup
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
Use the show interface command to display the IPv6-ACL configuration on an interface.
switch# show interface gigabitethernet 2/1
GigabitEthernet2/1 is up
IP-ACL Counter Cleanup
Use the clear command to clear the counters for a specified IPv4-ACL filter entry.
You cannot use this command to clear the counters for individual filters.
Note
switch# show ip access-list abc
ip access-list abc permit tcp any any (0 matches)
ip access-list abc permit udp any any (0 matches)
ip access-list abc permit icmp any any (0 matches)
ip access-list abc permit ip 10.1.1.0 0.0.0.255 (2 matches)
ip access-list abc permit ip 10.3.70.0 0.0.0.255 (7 matches)
switch# clear ip access-list counters abc
switch# show ip access-list abc
ip access-list abc permit tcp any any (0 matches)
ip access-list abc permit udp any any (0 matches)
ip access-list abc permit icmp any any (0 matches)
ip access-list abc permit ip 10.1.1.0 0.0.0.255 (0 matches)
ip access-list abc permit ip 10.3.70.0 0.0.0.255 (0 matches)
Use the clear ipv6 access-list command to clear the counters for all IPv6-ACLs.
switch# clear ipv6 access-list
Use the clear ipv6 access-list name command to clear the counters for a specified IPv6-ACL.
switch# clear ipv6 access-list List1
Note
You cannot use this command to clear the counters for each individual filter.
.
Cisco MDS 9000 Family CLI Configuration Guide
35-12
0 carrier errors
Hardware is GigabitEthernet, address is 000e.38c6.28b0
Internet address is 10.1.1.10/24
MTU 1500
bytes
Port mode is IPS
Speed is 1 Gbps
Beacon is turned off
Auto-Negotiation is turned on
ip access-group RestrictMgmt
5 minutes input rate 1208 bits/sec, 151 bytes/sec, 2 frames/sec
5 minutes output rate 80 bits/sec, 10 bytes/sec, 0 frames/sec
6232 packets input, 400990 bytes
0 multicast frames, 0 compressed
0 input errors, 0 frame, 0 overrun 0 fifo
503 packets output, 27054 bytes, 0 underruns
0 output errors, 0 collisions, 0 fifo
0 carrier errors
Chapter 35
Configuring IPv4 and IPv6 Access Control Lists
OL-18084-01, Cisco MDS NX-OS Release 4.x