First, check all MAC addresses.
# Execute the command display mac-address to view all mac address table entries.
Secondly, check the MAC address learned by an interface.
# execute the command display MAC-address dynamic gigabit Ethernet1/01,and check the MAC address table entries learned by interface ge11.
Third, check the MAC address learned by VLAN.
# execute the command display MAC-address dynamic VLAN 10 to view the MAC address table entries learned by VLAN10.
Fourth, check the MAC address of the system.
For Layer 2 interfaces, the MAC address of the device is the MAC address of the interface. You can view the MAC address of the device in the following two ways.
Execute the command display interface Gigabit Ethernet11,and 00e0-f74b-6d00 in the display information is the MAC address of the device.
Display interface Gigabit Ethernet1/01
Gigabit Ethernet1/01Current status: up.
Current status of line protocol: up
Description:
Switch port, link type: access (configured),
PVID: 103, TPID: 8 100 (hexadecimal), and the maximum frame length is 92 16.
The format of "IP sending frame" is PKTFMT_ETHNT_2, and the hardware address is 00e0-f74b-6d00.
..... in V200R002 and later, execute the command display bridge mac-address to view the mac address of the device.
Displays the bridge mac address.
MAC address of system bridge: 00e0-f74b-6d00.
Verb (abbreviation for verb) checks the MAC address of the interface.
# Execute the command to display the interface Gigabit Ethernet11,and 00e0-f74b-6d00 in the display information is the MAC address of the interface. For Layer 2 interfaces, the MAC address of the interface and the MAC address of the device are the same.
6. Check the MAC address of the VLANIF interface.
# Execute the command to display interface VLANIF 10, and 00e0-0987-789 1 in the display information is the MAC address of VLANIF interface.