Reference Guide

Default Not congured
Command Mode EXEC
Usage Information If you do not enter an access-list name, all IP access-list counters clear. The counter counts the number of packets
that match each permit or deny statement in an access-list. Clear the counters to start at zero to get a more
recent count of packets matching an access-list. Use the show access-lists command to view access-list
information.
Example
OS10# clear ipv6 access-list counters
Supported Releases 10.2.0E or later
clear mac access-list counters
Clears counters for a specic or all MAC access-lists.
Syntax
clear mac access-list counters [access-list-name]
Parameters access-list-name — (Optional) Enter the name of the MAC access-list to clear counters (up to 140
characters).
Default Not congured
Command Mode EXEC
Usage Information If you do not enter an access-list name, all MAC access-list counters clear. The counter counts the number of
packets that match each permit or deny statement in an access-list. Clear the counters to start at zero to get a
more recent count of packets matching an access-list. Use the show access-lists command to view access-
list information.
Example
OS10# clear mac access-list counters
Supported Releases 10.2.0E or later
deny
Congures a lter to drop packets with a specic IP address.
Syntax
deny [protocol-number | icmp | ip | tcp | udp] [A.B.C.D | A.B.C.D/x | any |
host ip-address] [A.B.C.D | A.B.C.D/x | any | host ip-address] [capture | count
[byte] | dscp value | fragment]
Parameters
protocol-number — (Optional) Enter the protocol number identied in the IP header (0 to 255).
icmp — (Optional) Enter the ICMP address to deny.
ip — (Optional) Enter the IP address to deny.
tcp — (Optional) Enter the TCP address to deny.
udp — (Optional) Enter the UDP address to deny.
A.B.C.D — Enter the IP address in dotted decimal format.
A.B.C.D/x — Enter the number of bits to match to the dotted decimal address.
any — (Optional) Enter the lter type to subject routes to.
capture — (Optional) Capture packets the lter processes.
count — (Optional) Count packets the lter processes.
388 Access Control Lists