MAC Address Management

Determining MAC Addresses

CLI: Viewing the Port and VLAN MAC Addresses

The MAC address assigned to each switch port is used internally by such features as Flow Control and the spanning-tree protocol. Using the walkmib command to determine the MAC address assignments for individual ports can sometimes be useful when diagnosing switch operation.

The switch’s base MAC address is assigned to VLAN (VID) 1 and appears in the walkmib listing after the MAC addresses for the ports. (All VLANs in the switch have the same MAC address.)

To display the switch’s MAC addresses, use the walkmib command at the command prompt:

N o t e

This procedure displays the MAC addresses for all ports and existing VLANs

 

in the switch, regardless of which VLAN you select.

 

1.

If the switch is at the CLI Operator level, use the enable command to enter

 

 

 

the Manager level of the CLI.

 

2.

Type the following command to display the MAC address for each port on

 

 

the switch:

ProCurve# walkmib ifPhysAddress (The above command is not case-sensitive.)

ProCurve(config)# walkmib ifphysaddress ifPhysAddress.1 = 00 1f fe 74 b3 ff ifPhysAddress.2 = 00 1f fe 74 b3 fe ifPhysAddress.3 = 00 1f fe 74 b3 fd ifPhysAddress.4 = 00 1f fe 74 b3 fc ifPhysAddress.5 = 00 1f fe 74 b3 fb ifPhysAddress.6 = 00 1f fe 74 b3 fa ifPhysAddress.7 = 00 1f fe 74 b3 f9 ifPhysAddress.8 = 00 1f fe 74 b3 f8 ifPhysAddress.9 = 00 1f fe 74 b3 f7 ifPhysAddress.10 = 00 1f fe 74 b3 f6 ifPhysAddress.58 = 00 1f fe 74 b3 e0 ifPhysAddress.313 = 00 1f fe 74 b3 e0 ifPhysAddress.314 = 00 1f fe 74 b3 e0 ifPhysAddress.4150 = 00 1f fe 74 b3 e0 ifPhysAddress.4151 = 00 1f fe 74 b3 e0

Figure B-5. Example of Port MAC Address Assignments on a Switch

D-5