在Cisco网络设备上进行ARP绑定的操作如下:
查看ARP缓存:
R5#show arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet 172.16.1.2 - ca09.1364.001c ARPA FastEthernet1/0
清空ARP表:
R5#clear arp-cache
绑定MAC地址:
R5(config)#arp 172.31.1.2 cc15.2cec.0000 arpa
R5(config)#no arp 172.31.1.2 cc15.2cec.0000 ARPA
查看MAC地址表:
J1#sh mac-address-table
Destination Address Address Type VLAN Destination Port
------------------- ------------ ---- --------------------
c010.2bfc.0000 Self 1 Vlan1
0050.56c0.0008 Dynamic 1 FastEthernet1/15
本文转自 zengwj1949 51CTO博客,原文链接:http://blog.51cto.com/zengwj1949/1922198