Reference Guide

Layer 2 | 975
Parameters
Command Modes
EXEC
EXEC Privilege
Command
History
dynamic
(OPTIONAL) Enter the keyword dynamic to display only those
MAC addresses learned dynamically by the switch. 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
address specifically configured on the switch. Optionally, you can
also add one of these combinations:
address/mac-address,
interface/interface, or vlan vlan-id.
address mac-address (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.
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 keyword
port-channel
followed by a number:
C-Series and S-Series Range: 1 to 128
E-Series Range:1 to 255 for TeraScale and 1 to 512 for
ExaScale.
For a SONET interface, enter the keyword
sonet followed by the
slot/port information.
For a 10-Gigabit Ethernet interface, enter the keyword
TenGigabitEthernet followed by the slot/port information.
For a 40-Gigabit Ethernet interface, enter the keyword
fortyGigE
followed by the slot/port information.
interface interface-type (OPTIONAL) Instead of entering the keyword interface followed by
the interface type, slot and port information, as above, you can enter
the interface type, followed by just a slot number.
vlan vlan-id (OPTIONAL) Enter the keyword vlan followed by the VLAN ID to
display the MAC address assigned to the VLAN.
Range: 1 to 4094.
count
(OPTIONAL) Enter the keyword count, followed optionally, by an
interface or VLAN ID, to display total or interface-specific static
addresses, dynamic addresses, and MAC addresses in use.
Version 8.3.19.0 Introduced on S4820T.
Version 8.3.12.0 Updated output
Version 8.5.1.0 Added support for 4-port 40G line cards on ExaScale.
Version 8.3.7.0 Introduced on S4810
Version 7.6.1.0 Introduced on S-Series
Version 7.5.1.0 Introduced on C-Series
pre-Version
6.2.1.1
Introduced on E-Series