2-894
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
show port mac-address
show port mac-address
To display the MAC address associated with a physical port or ports, use the show port mac-address
command.
show port mac-address [mod[/port]]
Syntax Description
Defaults This command has no default settings.
Command Types Switch command.
Command Modes Normal.
Usage Guidelines If you do not specify a module number, the MAC addresses for all ports on all modules are shown. If
you specify a module number but no port number, the MAC addresses for all ports on the spec ified
module are shown.
Examples This example shows how to display the MAC address for port 1 on module 2:
Console> show port mac-address 2/1
Port Mac address
----- ----------------------
2/1 00-50-3e-7e-71-3c
Console>
This example shows how to display the MAC addresses for all ports on module 2:
Console> show port mac-address 2
Port Mac address
----- ----------------------
2/1 00-50-3e-7e-71-3c
2/2 00-50-3e-7e-71-3d
Console>
This example shows how to display the MAC addresses for all ports on all modules:
Console> show port mac-address
Port Mac address
----- ----------------------
2/1 00-50-3e-7e-71-3c
2/2 00-50-3e-7e-71-3d
mod[/port] (Optional) Number of the module and optionally, the
number of the port on the module.