1、简单几条命令:
1)、查看MAC地址表
display mac-address
2)、根据MAC查端口
display mac-address <mac-address>
display mac-address | include <key-mac-addr>
3)、根据端口查MAC
display mac-address interface <int-type int-number>
dispaly mac-address | include <key-int-num>
4)、查看ARP缓存表
display arp
5)、根据MAC查IP
display arp | include <key-mac-addr>
6)、根据IP查MAC
display arp <ip-addr>
dipaly arp | include <key-ip-addr>
2、如何查看H3C交换机每个上行端口上接的设备
1)、设备上开启NDP 协议
ndp enable
2)查看上行设备的接口display