解决了,谢谢icefired的文章
http://www.netexpert.cn/thread-19714-1-1.html
只不过华为的叫ndp
看看命令吧
<SW-H3C3652-4-1>disp 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: 213560, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/2
Status: Enabled, Pkts Snd: 39, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/3
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/4
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/5
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/6
Status: Enabled, Pkts Snd: 332898, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/7
Status: Enabled, Pkts Snd: 13, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/8
Status: Enabled, Pkts Snd: 302099, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/9
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/10
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/11
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/12
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/13
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/14
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/15
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/16
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/17
Status: Enabled, Pkts Snd: 14, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/18
Status: Enabled, Pkts Snd: 22458, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/19
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/20
Status: Enabled, Pkts Snd: 364470, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/21
Status: Enabled, Pkts Snd: 253142, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/22
Status: Enabled, Pkts Snd: 0, Pkts Rvd: 0, Pkts Err: 0
Interface: Ethernet1/0/23
Status: Enabled, Pkts Snd: 12113, Pkts Rvd: 3, Pkts Err: 0
Neighbor 1: Aging Time: 169(s)
MAC Address : 000f-e249-fd87
Port Name : Ethernet1/0/46
Software Ver: Release 1510P08
Device Name : H3C S3600-52P-EI
Port Duplex : AUTO
Product Ver : S3600-EI-1510P08
这里Interface: Ethernet1/0/23这个口和Ethernet1/0/46产生了环路
Ethernet都是和pc连接的,上面不应该有ndp的信息