1. View the system MAC address
盒式:display bridge mac-add
system bridge MAC address: xxxx-xxxx-xxxx
框式:display system-mac
MAC-num :1
Index MAC Addr
----------------------------
default xxxx-xxxx-xxxx
current xxxx-xxxx-xxxx
2. View interface MAC
display interface GigabitEthernet0/0/10
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is xxxx-xxxx-xxxx
3. View the mac entries learned by the device
View all types of mac address entries of the whole machine: display mac-address
Check the mac address entry of a port: display mac-address GigabitEthernet x/x/x
View all dynamic MAC address entries in the system: display mac-address dynamic
Here, dynamic can be replaced with blackhole, static, security, sticky, and summary to view the summary information of blackhole MAC, static MAC, secure dynamic MAC, sticky MAC, and MAC entries respectively.
Check the mac address entry of the switch: display device manuinfo
MAC_ADDRESS: xxxx-xxxx-xxxx