Administrator Guide
address
mac-
addr
(OPTIONAL) Enter the keyword address followed by a MAC address in the
nn:nn:nn:nn:nn:nn format to display information on that MAC address.
dynamic (OPTIONAL) Enter the keyword dynamic to display only those MAC addresses
learned dynamically by the switch.
static (OPTIONAL) Enter the keyword static to display only those MAC address
specifically configured on the switch.
interface
interface
(OPTIONAL) Enter the keyword interface followed by the interface type, slot
and port information:
● For a 1-Gigabit Ethernet interface, enter the keyword GigabitEthernet
followed by the slot/port information.
● For a Port Channel interface, enter the keywords port-channel followed by
a number. For the S-Series, the range is 1 to 128.
● For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet then the slot/port information.
vlan
vlan-id
(OPTIONAL) Enter the keyword vlan followed by the VLAN ID to display the MAC
address assigned to the VLAN. The range is 1 to 4094.
Command Modes
● EXEC
● EXEC Privilege
Command
History
Version Description
9.10(0.0) Increased the stacking range to 12 units in S3100 series. Introduced on the S3148.
9.8.2.0 Introduced on the S3100 series.
9.0.2.0 Introduced on the S6000.
8.3.19.0 Introduced on the S4820T.
8.3.11.1 Introduced on the Z9000.
8.3.7.0 Introduced on the S4810.
8.5.1.0 Added support for 4-port 40G line cards on ExaScale.
7.6.1.0 Introduced on the S-Series.
show mac-address-table
Display the MAC address table.
Syntax
show mac-address-table [address mac-address | interface interface | vlan
vlan-id] [aging-time] [dynamic | static] [count [vlan vlan-id] [interface
interface-type [slot [/port]]]]
Parameters
address
mac-
address
(OPTIONAL) Enter the keyword address then a MAC address in the
nn:nn:nn:nn:nn:nn format to display information on that MAC address.
dynamic (OPTIONAL) Enter the keyword dynamic to display only those MAC addresses
the switch dynamically learns. Optionally, you can also add one of these
combinations: address/mac-address, interface/interface, or vlan
vlan-id.
static (OPTIONAL) Enter the keyword static to display only those MAC addresses
specifically configured on the switch. Optionally, you can also add one of these
combinations: address/mac-address, interface/interface, or vlan
vlan-id.
Layer 2 893