华为S5735S-S24T4S-AVRP ® software, Version 5.170 (S5735 V200R019C10SPC500)
华为S5720-28p-LI-ACVRP ® software, Version 5.170 (S5720 V200R011C10SPC600
华为交换机如何根据已知一个IP查他对应的MAC地址和交换机端口命令
华为交换机根据已知一个IP查他对应的MAC地址,已知终端ip:192.168.1.11
1.首先在核心交换机上dis arp | include 192.168.1.11显示
IP ADDRESS MAC ADDRESS E XPIRE(M) TYPE INTERFACE VPN-INSTANCE VLAN192.168.1.11 6xxx-9xxx-fxxx 12 D-0 GE0/0/11Total:113 Dynamic:196 static:0 Interface:4
找到ip:192.168.1.11对应mac地址为6xxx-9xxx-fxxx
查哪些IP已绑定的对应该的MAC地址display current-configuration | include 192.168.1显示
dhcp server static-bind ip-address 192.168.1.9 mac-address xxxx-xxxx-xxxxdhcp server static-bind ip-address 192.168.1.108 mac-address xxxx-xxxx-xxxxdhcp server static-bind ip-address 192.168.1.149 mac-address xxxx-xxxx-xxxx
2.然后找到对应接入层交换机dis mac-address 6xxx-9xxx-fxxx
[ACCESS]dis mac-address 6xxx-9xxx-fxxxMAC Address VLAN/VSI/BD Learned-From Type6xxx-9xxx-fxxx 16/-/- GE0/0/18 dynamic
找到mac地址:6xxx-9xxx-fxxx对应端口号GE0/0/18
查看接口对应有哪些mac地址
dis mac-address g0/0/23
MAC Address VLAN/VSI/BD Learned-From Type
3d9c-232d-091a 16/-/- GE0/0/23 dynamic
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。