Skip to main content

192.168.1.1 > 新闻资讯 >

根据mac或者ip地址查找交换机对应端口

2013-09-10 23:54 浏览:

cisco有2种方法:

1、traceroute mac ip 211.151.181.70 211.151.181.78 (第一个ip为源ip第二个ip为目的ip,必须在同一网段)得到结果如下:

ource d4be.d9ae.e669 found on Switch

1 Switch (211.151.181.70) : Fa0/2 => Fa0/4

Destination d4be.d9ae.67ac found on Switch

Layer2 trace completed.

2、show arp (查到对应ip和mac地址信息)

show mac mac-address (查到mac地址对应的端口,和上面查到的mac比对,即可直达对应端口了)。

相关文章

家里新装了宽度,怎么挑选路由器

2024-09-12 21:49:25    浏览: 154

中国人使用最多的十大路由器品牌,TP-LINK、华为、小米、水星路由器上榜

2024-09-12 21:43:21    浏览: 56

手机wifi显示已连接,却还是上不了网怎么办

2024-01-23 22:03:27    浏览: 121

普通用户装光纤宽带,能不折腾就别折腾,尤其是“老破小”

2023-01-28 19:43:36    浏览: 142

光猫可以设置WiFi,为什么还要买路由器?

2023-01-28 19:39:48    浏览: 165