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.

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>smac address-table static dropmac address-table static dropUse the mac address-table static drop global configuration comm<strong>and</strong> on the switch stack or on ast<strong>and</strong>alone switch to enable unicast MAC address filtering <strong>and</strong> to configure the switch to drop trafficwith a specific source or destination MAC address. Use the no form of this comm<strong>and</strong> to return to thedefault setting.mac address-table static mac-addr vlan vlan-id dropno mac address-table static mac-addr vlan vlan-idSyntax Descriptionmac-addrvlan vlan-idUnicast source or destination MAC address. Packets with this MAC address aredropped.Specify the VLAN for which the packet with the specified MAC address isreceived. Valid VLAN IDs are 1 to 4094.DefaultsUnicast MAC address filtering is disabled. The switch does not drop traffic for specific source ordestination MAC addresses.Comm<strong>and</strong> ModesGlobal configurationComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.Usage GuidelinesFollow these guidelines when using this feature:• Multicast MAC addresses, broadcast MAC addresses, <strong>and</strong> router MAC addresses are not supported.Packets that are forwarded to the CPU are also not supported.• If you add a unicast MAC address as a static address <strong>and</strong> configure unicast MAC address filtering,the switch either adds the MAC address as a static address or drops packets with that MAC address,depending on which comm<strong>and</strong> was entered last. The second comm<strong>and</strong> that you entered overrides thefirst comm<strong>and</strong>.For example, if you enter the mac address-table static mac-addr vlan vlan-id interfaceinterface-id global configuration comm<strong>and</strong> followed by the mac address-table static mac-addrvlan vlan-id drop comm<strong>and</strong>, the switch drops packets with the specified MAC address as a sourceor destination.If you enter the mac address-table static mac-addr vlan vlan-id drop global configurationcomm<strong>and</strong> followed by the mac address-table static mac-addr vlan vlan-id interface interface-idcomm<strong>and</strong>, the switch adds the MAC address as a static address.OL-9776-08<strong>Catalyst</strong> <strong>3750</strong>-E <strong>and</strong> <strong>3560</strong>-E <strong>Switch</strong> Comm<strong>and</strong> Reference2-343

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

Saved successfully!

Ooh no, something went wrong!