Reference Guide

00:00:00:00:00:00 — (Optional) Enter which bits in the MAC address must match. If you do not enter a
mask, a mask of 00:00:00:00:00:00 applies.
any — (Optional) Set which routes are subject to the lter:
protocol-number — Enter the MAC protocol number identied in the MAC header (600 to ).
capture — (Optional) Enter the capture packets the lter processes.
count — (Optional) Enter the count packets the lter processes.
byte — (Optional) Enter the count bytes the lter processes.
cos — (Optional) Enter the CoS value (0 to 7).
vlan — (Optional) Enter the VLAN number (1 to 4094).
Default Not congured
Command Mode MAC-ACL
Usage Information OS10 cannot count both packets and bytes when you use the count byte options — only bytes increment. Use
the no version of this command to remove the lter.
Example
OS10(config)# mac access-list macacl
OS10(conf-mac-acl)# permit 00:00:00:00:11:11 00:00:11:11:11:11 any cos 7
OS10(conf-mac-acl)# permit 00:00:00:00:11:11 00:00:11:11:11:11 any vlan 2
Supported Releases 10.2.0E or later
permit icmp
Congures a lter to permit all or specic internet control message protocol (ICMP) messages.
Syntax
permit icmp [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
A.B.C.D — Enter the IP address in dotted decimal format.
A.B.C.D/x — Enter the number of bits that must match the dotted decimal address.
any — (Optional) Set all routes which are subject to the lter:
capture — (Optional) Capture packets the lter processes.
count — (Optional) Count packets the lter processes.
byte — (Optional) Count bytes the lter processes.
dscp value — (Optional) Permit a packet based on the DSCP values (0 to 63).
fragment — (Optional) Use ACLs to control packet fragments.
host ip-address — (Optional) Enter the IP address to use a host address only.
Default Not congured
Command Mode IPV4-ACL
Usage Information OS10 cannot count both packets and bytes — when you enter the count byte options, only bytes increment.
Use the no version of this command to remove the lter.
Example
OS10(config)# ip access-list testflow
OS10(conf-ipv4-acl)# permit icmp any any capture session 1 count
Supported Releases 10.2.0E or later
Access Control Lists 407