[
port-list
]
Lists the MAC addresses of the devices the switch has detected, on the specified
ports.
[
mac-addr
]
Lists the port on which the switch detects the specified MAC address.Returns the
following message if the specified MAC address is not detected on any port in the
switch:
MAC address <
mac-addr
> not found.
[vlan
<vid>
]
Lists the MAC addresses of the devices the switch has detected on ports belonging
to the specified VLAN, along with the number of the specific port on which each MAC
address was detected.
Viewing the switch's MAC address assignments for VLANs configured on the switch
The Management Address Information screen lists the MAC addresses for:
• Base switch (default VLAN; VID=1)
• Any additional VLANs configured on the switch.
Also, the Base MAC address appears on a label on the back of the switch.
NOTE:
The Base MAC address is used by the first (default) VLAN in the switch. This is usually the
VLAN named "DEFAULT_VLAN" unless the name has been changed (by using the VLAN Names
screen). On the switches covered in this guide, the VID (VLAN identification number) for the default
VLAN is always "1,"
and cannot be changed
.
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.
NOTE:
This procedure displays the MAC addresses for all ports and existing VLANs in the switch,
regardless of which VLAN you select.
Procedure
1.
If the switch is at the CLI Operator level, use the
enable
command to enter the Manager level of the CLI.
2.
Enter the following command to display the MAC address for each port on the switch:
switch# walkmib ifPhysAddress
(The above command is not case-sensitive.)
Example:
A switch with the following module configuration shows MAC address assignments similar to those shown in the
example below:
384
Aruba 2930F / 2930M Management and Configuration Guide
for ArubaOS-Switch 16.08