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