Command Line Reference
IP Service
ARP Configuration
11 min
show arp show arp \[command] show arp \[purpose] show ip arp table \[view] system view \[use cases] sonic# show arp address macaddress iface vlan type \ 192 168 0 1 6c\ b3 11 33\ aa 6c mgmt dynamic 192 168 0 237 8c\ ec 4b 67\ ae 42 mgmt dynamic 192 168 14 35 00 0c 29 89\ bc 9b mgmt dynamic total number of entries 3 show arp proxy count show arp proxy count \[command] show arp proxy count \[ second ] \[purpose] show the number of arp proxy replies \[parameter] true 176,485#2166ae #4283c7 unhandled content type #2166ae #4283c7 unhandled content type unhandled content type unhandled content type \[view] system view \[use cases] sonic# show arp proxy count show interface arp proxy status show interface arp proxy status \[command] show interface arp proxy status \[purpose] show interface arp proxy status \[view] system view \[use cases] sonic# show interface arp proxy status + + + \| interfaces | status | +==============+============+ \| ethernet49 | disable | + + + \| ethernet50 | disable | + + + \| vlan400 | anycast gw | + + + clear neighbor clear neighbor \[command] clear neighbor {all|static|dynamic} clear neighbor interface { interface type } interface name \[purpose] clear arp, ndp table entries \[parameter] true 213,448#2166ae #4283c7 unhandled content type #2166ae #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type \[view] system view \[use cases] sonic# clear neighbor all arp static arp static \[command] arp static a b c d hh\ hh\ hh\ hh\ hh \ hh { interface type } interface name no arp static a b c d { interface type } interface name \[purpose] configure static arp \[parameter] true 190,471#2166ae #4283c7 unhandled content type #2166ae #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type \[view] system configuration view \[use cases] sonic# configure terminal sonic(config)# arp static 3 3 3 3 00 00 00 00 00 01 vlan 5 sonic(config)# arp static 4 4 4 4 00 00 00 00 00 02 ethernet 1 sonic(config)# arp static 5 5 5 5 00 00 00 00 00 03 link aggregation 1 arp timeout arp timeout \[command] arp timeout expire time \[purpose] configure arp table entry aging time \[parameter] true 172,489#2166ae #4283c7 unhandled content type #2166ae #4283c7 unhandled content type unhandled content type unhandled content type \[view] system configuration view \[use cases] sonic# configure terminal sonic(config)# arp timeout 500 arp proxy arp proxy \[command] arp proxy mode { mode type } no arp proxy \[purpose] enable the arp proxy function of the interface \[parameter] true 162,499#2166ae #4283c7 unhandled content type #2166ae #4283c7 unhandled content type unhandled content type unhandled content type \[view] interface view \[usage scenario] in scenarios where layer 2 broadcast isolation is enabled, allowing communication between devices in the same lan requires a common approach one common method is to enable arp proxy on the interface acting as the gateway this allows the gateway's mac address to be sent to devices initiating arp requests, effectively converting local layer 2 communication into layer 3 routed communication in a vxlan scenario, enabling the arp proxy evpn mode allows the local vtep to use the arp information synchronized from the remote end via evpn to perform proxy responses for local terminal arp requests \[notes] on devices with arp proxy enabled, you may need to use the arp to host convert enable command to convert learned arp entries into host routes, ensuring proper routing \[use cases] sonic# configure terminal sonic(config)# interface vlan 400 sonic(config vlanif 400)# arp proxy mode anycast gw arp broadcast {copy|trap} arp broadcast {copy|trap} \[command] arp broadcast {copy|trap} \[purpose] configure the handling actions for arp broadcast messages on the device \[parameter] true 146,515#2166ae #4283c7 unhandled content type #2166ae #4283c7 unhandled content type unhandled content type unhandled content type #d8e5f5 unhandled content type #d8e5f5 unhandled content type \[view] system configuration view \[usage scenario] this command is commonly used in conjunction with the "broadcast drop" command to change the processing method of arp messages to only send to the cpu without forwarding, completely isolating layer 2 broadcast messages between terminals \[use cases] sonic# configure terminal sonic(config)# arp broadcast trap
