naze32:show arp 、show cdp nei相关的问题

来源:百度文库 编辑:中科新闻网 时间:2024/05/07 14:14:56
有没有办法,可以明确知道,交换机具体哪个端口,连接的具体哪个MAC或IP的设备。如:如何知道192.168.47.7的主机,连接交换机的具体哪个端口?!!!

server-3750-1#show arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 192.168.3.100 1 0014.384e.d5b1 ARPA Vlan2
Internet 192.168.3.43 0 Incomplete ARPA
Internet 192.168.47.7 161 000b.db91.dd3d ARPA Vlan3
Internet 192.168.47.4 4 0014.5e0b.9b4a ARPA Vlan3
Internet 192.168.47.3 2 0014.5e0b.9ba4 ARPA Vlan3
Internet 192.168.47.2 66 0014.5e0b.9ba4 ARPA Vlan3
Internet 192.168.47.8 2 000b.db91.dd3d ARPA Vlan3
Internet 192.168.47.31 0 0006.5bfd.af93 ARPA Vlan3
Internet 192.168.3.11 2 0011.258f.75d5 ARPA Vlan2
Internet 192.168.3.10 8 0014.5e32.83b2 ARPA Vlan2
Internet 192.168.47.33 0 0014.5e32.83f7 ARPA Vlan3
Internet 192.168.3.13 2 0006.29ee.2e46 ARPA Vlan2
Internet 192.168.3.3 141 0002.556a.d4bf ARPA Vlan2
Internet 192.168.2.2 89 00a0.8e9e.81ed ARPA Vlan7
Internet 192.168.3.2 19 0002.556a.5401 ARPA Vlan2
Internet 192.168.3.1 12 0014.5e4d.0332 ARPA Vlan2
Internet 192.168.2.1 0 0050.5aa8.0201 ARPA Vlan7
Internet 192.168.2.6 - 0015.2bb4.e6c3 ARPA Vlan7
Internet 192.168.2.4 - 0000.0c07.ac07 ARPA Vlan7
Internet 192.168.2.5 147 00a0.8e9e.836d ARPA Vlan7
Internet 192.168.3.19 3 0014.5e2a.1a63 ARPA Vlan2
Internet 192.168.3.20 1 000f.ea01.e35b ARPA Vlan2
Internet 192.168.3.254 - 0000.0c07.ac02 ARPA Vlan2
Internet 192.168.3.253 - 0015.2bb4.e6c1 ARPA Vlan2
Internet 192.168.3.252 96 0013.1922.44c1 ARPA Vlan2
Internet 192.168.47.254 - 0000.0c07.ac03 ARPA Vlan3
Internet 192.168.47.253 - 0015.2bb4.e6c2 ARPA Vlan3

server-3750-1#show cdp neighbors
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone

Device ID Local Intrfce Holdtme Capability Platform Port ID
server-3750-2 Gig 1/0/25 149 R S I WS-C3750G-Gig1/0/25
CALLMANAGER4. Gig 1/0/13 169 H Win2000 SeEth1/1