网络环境:
核心交换机 3650 下联 接入交换机 2918
目标IP地址 10.0.1.200
核心:
show arp | in 10.0.1.200
3650#show arp | in 10.0.1.200
Internet 10.0.1.200 0 d4ee.0702.9e0d ARPA Vlan11
Switch#show mac address-table dynamic address d4ee.0702.9e0d
3650#show mac address-table dynamic address d4ee.0702.9e0d
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
11 d4ee.0702.9e0d DYNAMIC Gi1/0/40
Total Mac Addresses for this criterion: 1
show cdp neighbors Gi1/0/40
3650#show cdp neighbors Gi1/0/40
Capability Codes: R - Router, T - Trans Bridge, B - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater, P - Phone,
D - Remote, C - CVTA, M - Two-port Mac Relay
Device ID Local Intrfce Holdtme Capability Platform Port ID
2918-1 Gig 1/0/40 138 S I WS-C2918- Gig 0/1
Total cdp entries displayed : 1
接入:
2918-1#show mac address-table dynamic address 408d.5c83.9d6f
2918-1#show mac address-table dynamic address 408d.5c83.9d6f
Mac Address Table
-------------------------------------------
Vlan Mac Address Type Ports
---- ----------- -------- -----
11 408d.5c83.9d6f DYNAMIC Fa0/37
Total Mac Addresses for this criterion: 1
最终确定IP地址10.0.1.200为2918-1的Fa0/37接口
评论前必须登录!
注册