77  
查询码:00000007
华为交换机通过IP找对应端口
作者: 系统管理员 于 2023年03月22日 发布在分类 / IT常用技巧 / 网络管理 下,并于 2023年03月22日 编辑
华为交换机

1、查询核心内mac地址表对应的mac地址与端口
display arp | include 192.168.8
192.168.8.176   e43a-6e2e-a091  5         D-0         XGE5/0/0
2、发现对应端口是去向此台交换机
interface XGigabitEthernet5/0/1
 description TO JG6789 XGE0/0/1
 port link-type trunk
 undo port trunk allow-pass vlan 1
 port trunk allow-pass vlan 7 to 8 100 118
 port-mirroring to observe-port 1 inbound
3、登录对端交换机按mac地址查询端口
dis mac-address e43a-6e2e-a091
结果
e43a-6e2e-a091 8/-      GE0/0/36        dynamic


 推荐知识

 历史版本

修改日期 修改人 备注
2023-03-22 16:02:41[当前版本] 系统管理员 创建版本

知识分享平台 -V 4.8.7 -wcp