show arp | in ip找到MAC地址,
然后show mac-address-table address MAC找到对应交换机端口, vlan1 必须管理DOWN 掉,否则netmaneger vlan2不通,无法远程管理交换机。
0710-SCM4506-A>show cdp neighbors GigabitEthernet3/15 查找端口上所接的设备
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
254150 Gig 3/15 166 S I WS-C2950G-Gig 0/2 Cisco2924#show mac-address-table dynamic address 0009.6b8c.64ec Non-static Address Table: Destination Address Address Type VLAN Destination Port ------------------- ------------ ---- -------------------- 0009.6b8c.64ec Dynamic 2 FastEthernet0/2 Cisco2924#show mac-address-table dynamic interface f0/2
Non-static Address Table: Destination Address Address Type VLAN Destination Port ------------------- ------------ ---- -------------------- 0009.6b8c.64ec Dynamic 2 FastEthernet0/2 通过以上命令可知,MAC地址0009.6b8c.64ec 与Cisco 2924交换机相连,且是该端口上唯一活动的MAC地址,所以IP为10.10.1.250的机器应该就连接在这个端口上。 |
根据IP查找在交换机上的端口
转载根据IP查找在交换机上的端口
上一篇:九种食物让你越吃牙越白
下一篇:Vlan间DHCP配置
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章