Mac-Address-Table Static - Cisco AP775A - Nexus Converged Network Switch 5010 Command Reference Manual

Cisco nexus 5000 series command reference, release 4.1(3)n1(1) (ol-16599-01, august 2009)
Hide thumbs Also See for AP775A - Nexus Converged Network Switch 5010:
Table of Contents

Advertisement

mac-address-table static

S e n d c o m m e n t s t o n x 5 0 0 0 - d o c f e e d b a c k @ c i s c o . c o m
mac-address-table static
To configure a static entry for the MAC address table, use the mac-address-table static command. To
delete the static entry, use the no form of this command.
Syntax Description
mac-address
vlan vlan-id
drop
interface type slot/port Specifies the interface. The type can be either ethernet. Specify the
port-channel number
auto-learn
Command Default
None
Command Modes
Configuration mode
Command History
Release
4.0(0)N1(1a)
Usage Guidelines
You cannot apply the mac-address-table static mac-address vlan vlan-id drop command to a multicast
MAC address.
When you install a static MAC address, it is associated with a port. If the same MAC address is seen on
a different port, the entry is updated with the new port if you enter the auto-learn keyword.
Examples
This example shows how to add a static entry to the MAC address table:
switch(config)# mac-address-table static 0050.3e8d.6400 vlan 3 interface ethernet 1/4
Cisco Nexus 5000 Series Command Reference
2-32
mac-address-table static mac-address vlan vlan-id {drop | interface {type slot/port |
port-channel number} [auto-learn]
no mac-address-table static mac-address {vlan vlan-id}
Specifies the MAC address to add to the table. Use the format
EEEE.EEEE.EEEE.
Specifies the VLAN to apply static MAC address; valid values are from 1 to
4094.
Drops all traffic that is received from and going to the configured MAC
address in the specified VLAN.
appropriate slot and port number.
Specifies the interface. Use the EtherChannel number.
(Optional) Allows moving of this MAC address.
Modification
This command was introduced.
Chapter 2
Ethernet Commands
OL-16599-01

Advertisement

Table of Contents
loading

Table of Contents