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.

mac address-table staticChapter 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 staticUse the mac address-table static global configuration comm<strong>and</strong> on the switch stack or on a st<strong>and</strong>aloneswitch to add static addresses to the MAC address table. Use the no form of this comm<strong>and</strong> to removestatic entries from the table.mac address-table static mac-addr vlan vlan-id interface interface-idno mac address-table static mac-addr vlan vlan-id [interface interface-id]Syntax Descriptionmac-addrvlan vlan-idinterface interface-idDestination MAC address (unicast or multicast) to add to the addresstable. Packets with this destination address received in the specifiedVLAN are forwarded to the specified interface.Specify the VLAN for which the packet with the specified MAC addressis received. The range is 1 to 4094.Interface to which the received packet is forwarded. Valid interfacesinclude physical ports <strong>and</strong> port channels.DefaultsNo static addresses are configured.Comm<strong>and</strong> ModesGlobal configurationComm<strong>and</strong> HistoryRelease12.2(35)SE2ModificationThis comm<strong>and</strong> was introduced.ExamplesThis example shows how to add the static address c2f3.220a.12f4 to the MAC address table. When apacket is received in VLAN 4 with this MAC address as its destination, the packet is forwarded to thespecified interface:<strong>Switch</strong>(config)# mac address-table static c2f3.220a.12f4 vlan 4 interfacegigabitethernet6/0/1You can verify your setting by entering the show mac address-table privileged EXEC comm<strong>and</strong>.Related Comm<strong>and</strong>sComm<strong>and</strong>show mac address-table staticDescriptionDisplays static MAC address table entries only.2-342<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!