show port mac

Use this command to display the MAC address(es) for one or more ports.

Syntax

show port mac [port-string]

Parameters

port-string (Optional) Displays MAC addresses for specific port(s). For a detailed description of possible port-string values, refer to Port String Syntax Used in the CLI in the S-, K-, and 7100 Series Configuration Guide.

Defaults

If port-string is not specified, MAC addresses for all ports will be displayed.

Mode

All command modes.

Usage

These are port MAC addresses programmed into the device during manufacturing. To show the MAC addresses learned on a port through the switching process, use the show mac command as described in show mac.

Example

This example shows how to display the MAC address for ge.2.4:

System(rw)->show port mac ge.2.4
Port            MAC Address
------------  ----------------------
ge.2.4        00-01-F4-DA-32-FE