Reference Guide
Layer 2 | 881
Command Modes
EXEC
EXEC Privilege
Command
History
Example
Figure 30-5. show mac-address-table Command Example
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-128
E-Series Range: 1 to 32 for EtherScale, 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.
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.4.2.3 Added support for sticky-MAC learned addresses on the C-Series and S-Series.
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
Table 30-1. show mac-address-table Information
Column Heading Description
VlanId Displays the VLAN ID number.
Mac Address Displays the MAC address in nn:nn:nn:nn:nn:nn format.
Type Lists whether the MAC address was manually configured (Static), learned dynamically
(Dynamic), or learned on a port configured for sticky-MAC learning (Sticky).
FTOS#show mac-address-table
VlanId Mac Address Type Interface State
999 00:00:00:00:00:19 Dynamic Gi 0/1 Active
999 00:00:00:00:00:29 Dynamic Gi 0/2 Active
10 00:00:00:11:11:11 Sticky Gi 0/3 Active
FTOS#