如何查看H3C交换机每个上行端口上接的设备

在设备上开启NDP 协议
然后然后再查看一下

ndp enable ?
  interface  Select interface to configure  
    
查看
dis ndp
Neighbor Discovery Protocol is enabled.
Neighbor Discovery Protocol Ver: 1, Hello Timer: 60(s), Aging Timer: 180(s)
Interface: Ethernet1/0/1
    Status: Enabled, Pkts Snd: 26, Pkts Rvd: 0, Pkts Err: 0

Interface: Ethernet1/0/2
    Status: Enabled, Pkts Snd: 2, Pkts Rvd: 0, Pkts Err: 0

Interface: Ethernet1/0/3
    Status: Enabled, Pkts Snd: 124786, Pkts Rvd: 126413, Pkts Err: 0
    Neighbor 1:  Aging Time: 173(s)
       MAC Address : 781d-ba8a-1bc3
       Port Name   : GigabitEthernet0/0/1
       Software Ver: Version 5.70 V100R005C01
       Device Name : Quidway
       Port Duplex : FULL
       Hardware Ver: S2300 V100R005C01