Reference Guide

mac address-table static
Congures a static entry for the L2 MAC address table.
Syntax
mac address-table static mac-address vlan vlan-id interface {ethernet node/
slot/port[:subport] | port-channel number}
Parameters
mac-address — Enter the MAC address to add to the table in nn:nn:nn:nn:nn:nn format.
vlan vlan-id — Enter the VLAN to apply the static MAC address to (1 to 4093).
interface — Enter the interface type:
ethernet node/slot/port[:subport] — Enter the Ethernet information.
port-channel channel-number — Enter a port-channel interface number (1 to 128).
Default Not congured
Command Mode CONFIGURATION
Usage Information The no version of this command resets the value to the default.
Example (VLAN)
OS10(config)# mac address-table static 34:17:eb:f2:ab:c6 vlan 1 interface
ethernet 1/1/30
Example (Port-
Channel)
OS10(config)# mac address-table static 34:17:eb:02:8c:33 vlan 10 interface
port-channel 1
Supported Releases 10.2.0E or later
show mac address-table
Displays information about the MAC address table.
Syntax
show mac address-table [address mac-address | aging-time | [count [vlan vlan-
id] | dynamic | interface {ethernet node/slot/port[:subport] | port-channel
number}]| static [address mac-address] | vlan vlan-id
Parameters
address mac-address — (Optional) Displays MAC address table information.
aging-time — (Optional) Displays MAC address table aging-time information.
count — (Optional) Displays the number of dynamic and static MAC address entries.
dynamic — (Optional) Displays dynamic MAC address table entries only.
interface — Set the interface type:
ethernet node/slot/port[:subport] — Displays MAC address table information for a physical
interface.
port-channel channel-number — Displays MAC address table information for a port-channel
interface (1 to 128).
static — (Optional) Displays static MAC address table entries only.
vlan vlan-id — (Optional) Displays VLAN information only (1 to 4093).
Default Not congured
Command Mode EXEC
194 Layer 2