2-57
Cisco ME 3800X and ME 3600X Switch Command Reference
OL-28238-01
Chapter 2 Cisco ME 3800X and ME 3600X Switch Cisco IOS Commands
deny (MAC access-list configuration)
Usage Guidelines
You enter MAC-access list configuration mode by using the
global
configuration command.
If you use the
host
keyword, you cannot enter an address mask; if you do not use the
host
keyword, you
must enter an address mask.
When an access control entry (ACE) is added to an access control list, an implied
deny
-
any
-
any
condition exists at the end of the list. That is, if there are no matches, the packets are denied. However,
before the first ACE is added, the list permits all packets.
Note
For more information about named MAC extended access lists, see the software configuration guide
for
this release.
You can verify your settings by entering the
show access-lists
privileged EXEC command.
Examples
This example shows how to define the named MAC extended access list to deny NETBIOS traffic from
any source to MAC address 00c0.00a0.03fa. Traffic matching this list is denied.
Switch(config-ext-macl)#
deny any host 00c0.00a0.03fa netbios.
This example shows how to remove the deny condition from the named MAC extended access list:
Switch(config-ext-macl)#
no deny any 00c0.00a0.03fa 0000.0000.0000 netbios.
This example denies all packets with Ethertype 0x4321:
Switch(config-ext-macl)#
deny any any 0x4321 0
Related Commands
Command
Description
mac access-list extended
Creates an access list based on MAC addresses for non-IP traffic.
permit (MAC access-list
configuration)
Permits non-IP traffic to be forwarded if conditions are matched.
show access-lists
Displays access control lists configured on a switch.
Summary of Contents for ME 3600X
Page 14: ...Contents xiv Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 534: ... 100 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 Chapter xconnect ...
Page 625: ...Index IN 15 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 626: ...Index IN 16 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 627: ...Index IN 17 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...
Page 628: ...Index IN 18 Cisco ME 3800X and ME 3600X Switch Command Reference OL 28238 01 ...