Reference Guide

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
OS10(config)# do commit
Example (Port-
Channel)
OS10(config)# mac address-table static 34:17:eb:02:8c:33 vlan 10 interface
port-channel 1
OS10(config)# do commit
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 4094).
Default Not congured
Command Mode EXEC
Usage Information The network device maintains static MAC address entries saved in the startup conguration le, and reboots and
ushes dynamic entries.
Example (Address)
OS10# show mac address-table address 90:b1:1c:f4:a6:8f
VlanId Mac Address Type Interface
1 90:b1:1c:f4:a6:8f dynamic ethernet1/1/3
Example (Aging
Time)
OS10# show mac address-table aging-time
Global Mac-address-table aging time : 1800
Example (Count)
OS10# show mac address-table count
MAC Entries for all vlans :
Dynamic Address Count : 5
Static Address (User-defined) Count : 0
Total MAC Addresses in Use: 5
136 Layer 2