Cisco WS-C3560E-24PD-E Command Reference - Page 330
permit (MAC access-list configuration
View all Cisco WS-C3560E-24PD-E manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 330 highlights
permit (MAC access-list configuration) Chapter 2 Catalyst 3560 Switch Cisco IOS Commands permit (MAC access-list configuration) Use the permit MAC access-list configuration command to allow non-IP traffic to be forwarded if the conditions are matched. Use the no form of this command to remove a permit condition from the extended MAC access list. {permit | deny} {any | host src-MAC-addr | src-MAC-addr mask} {any | host dst-MAC-addr | dst-MAC-addr mask} [type mask | cos cos | aarp | amber | dec-spanning | decnet-iv | diagnostic | dsm | etype-6000 | etype-8042 | lat | lavc-sca | lsap lsap mask | mop-console | mop-dump | msdos | mumps | netbios | vines-echo | vines-ip | xns-idp] no {permit | deny} {any | host src-MAC-addr | src-MAC-addr mask} {any | host dst-MAC-addr | dst-MAC-addr mask} [type mask | cos cos | aarp | amber | dec-spanning | decnet-iv | diagnostic | dsm | etype-6000 | etype-8042 | lat | lavc-sca | lsap lsap mask | mop-console | mop-dump | msdos | mumps | netbios | vines-echo |vines-ip | xns-idp] Note Though visible in the command-line help strings, appletalk is not supported as a matching condition. Syntax Description any host src-MAC-addr | src-MAC-addr mask host dst-MAC-addr | dst-MAC-addr mask type mask aarp amber cos cos dec-spanning decnet-iv diagnostic dsm etype-6000 etype-8042 lat lavc-sca Keyword to specify to deny any source or destination MAC address. Define a host MAC address and optional subnet mask. If the source address for a packet matches the defined address, non-IP traffic from that address is denied. Define a destination MAC address and optional subnet mask. If the destination address for a packet matches the defined address, non-IP traffic to that address is denied. (Optional) Use the Ethertype number of a packet with Ethernet II or SNAP encapsulation to identify the protocol of the packet. • type is 0 to 65535, specified in hexadecimal. • mask is a mask of don't care bits applied to the Ethertype before testing for a match. (Optional) Select Ethertype AppleTalk Address Resolution Protocol that maps a data-link address to a network address. (Optional) Select EtherType DEC-Amber. (Optional) Select an arbitrary class of service (CoS) number from 0 to 7 to set priority. Filtering on CoS can be performed only in hardware. A warning message appears if the cos option is configured. (Optional) Select EtherType Digital Equipment Corporation (DEC) spanning tree. (Optional) Select EtherType DECnet Phase IV protocol. (Optional) Select EtherType DEC-Diagnostic. (Optional) Select EtherType DEC-DSM. (Optional) Select EtherType 0x6000. (Optional) Select EtherType 0x8042. (Optional) Select EtherType DEC-LAT. (Optional) Select EtherType DEC-LAVC-SCA. 2-298 Catalyst 3560 Switch Command Reference 78-16405-05