show interface mac-address
To display the information about the MAC address, use the show interface mac-address command.
show interface [type slot / port| portchannel-no] mac-address
Syntax Description
(Optional) Interface for which MAC addresses should
be displayed. T he type can be either Ethernet or
EtherChannelor vethernet.
type
Ethernet interface port number and slot number. The
slot number is from 1 to 255, and the port number is
from 1 to 128.
slot /port
EtherChannel number. The EtherChannel number is
from 1 to 4096.
portchannel-no
Command Default
None
Command Modes
EXEC mode
Command History
ModificationRelease
This command was introduced.4.0(0)N1(1a)
Usage Guidelines
If you do not specify an interface, the system displays all the MAC addresses.
Examples
This example shows how to display the information on MAC addresses for the entire switch:
switch# show interface mac-address
----------------------------------------------------------------------------
Interface Mac-Address Burn-in Mac-Address
----------------------------------------------------------------------------
Ethernet1/1 0005.9b78.6e7c 0005.9b78.6e48
Ethernet1/2 0005.9b78.6e7c 0005.9b78.6e49
Ethernet1/3 0005.9b78.6e7c 0005.9b78.6e4a
Ethernet1/4 0005.9b78.6e7c 0005.9b78.6e4b
Ethernet1/5 0005.9b78.6e7c 0005.9b78.6e4c
Ethernet1/6 0005.9b78.6e7c 0005.9b78.6e4d
Ethernet1/7 0005.9b78.6e7c 0005.9b78.6e4e
Ethernet1/8 0005.9b78.6e7c 0005.9b78.6e4f
Ethernet1/9 0005.9b78.6e7c 0005.9b78.6e50
Ethernet1/10 0005.9b78.6e7c 0005.9b78.6e51
Ethernet1/11 0005.9b78.6e7c 0005.9b78.6e52
Cisco Nexus 5000 Series Interfaces Command Reference
124
Show Commands
show interface mac-address