1.一个查端口连接交换机的案例:
到核心层,查到mac
Internet 10.2.13.79 2 001c.2326.e3f5 ARPA Vlan131
通过mac表,查到进入端口
* 131 001c.2326.e3f5 dynamic Yes 10 Po12
Port-channel12 unassigned YES NVRAM up up
查到 进入端口所连是哪个交换机
ALY-HX-2#show int Port-channel12
Port-channel12 is up, line protocol is up (connected)
Hardware is EtherChannel, address is 0015.6251.5837 (bia 0015.6251.5837)
Description: Link to AJH-MZHJ002
查到这个交换机的ip
-------------------------
Device ID: AJH-MZHJ002
Entry address(es):
IP address: 10.2.6.21
Platform: cisco WS-C3750G-12S, Capabilities: Switch IGMP
Interface: GigabitEthernet9/4, Port ID (outgoing port): GigabitEthernet1/0/10
Holdtime : 115 sec
10.2.6.21这个交换机是一个汇聚层,通过拓朴图,知道它连接七楼的.121的机器,
登录到121机器, show mac-add查出它是连接如下端口
131 001c.2326.e3f5 DYNAMIC Fa0/9
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/687883/viewspace-1030797/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/687883/viewspace-1030797/