11.07.2015 Views

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

Catalyst 3750-E and 3560-E Switch Cisco IOS ... - DNIP . NET

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

deny (MAC access-list configuration)Chapter 2<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> <strong>Cisco</strong> <strong>IOS</strong> Comm<strong>and</strong>sUsage GuidelinesYou enter MAC-access list configuration mode by using the mac access-list extended globalconfiguration comm<strong>and</strong>.If you use the host keyword, you cannot enter an address mask; if you do not use the host keyword, youmust enter an address mask.When an access control entry (ACE) is added to an access control list, an implied deny-any-anycondition 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.For more information about named MAC extended access lists, see the software configuration guide forthis release.ExamplesThis example shows how to define the named MAC extended access list to deny <strong>NET</strong>B<strong>IOS</strong> traffic fromany source to MAC address 00c0.00a0.03fa. Traffic matching this list is denied.<strong>Switch</strong>(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:<strong>Switch</strong>(config-ext-macl)# no deny any 00c0.00a0.03fa 0000.0000.0000 netbios.This example denies all packets with Ethertype 0x4321:<strong>Switch</strong>(config-ext-macl)# deny any any 0x4321 0You can verify your settings by entering the show access-lists privileged EXEC comm<strong>and</strong>.Related Comm<strong>and</strong>s Comm<strong>and</strong> Descriptionmac access-list extended Creates an access list based on MAC addresses for non-IP traffic.permit (MAC access-list Permits non-IP traffic to be forwarded if conditions are matched.configuration)show access-listsDisplays access control lists configured on a switch.2-138<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> ReferenceOL-9776-08

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!