ARP To Host Routing Configuration
ARP To Host Routing Configuration
arp-to-host convert enable vrfname
[Command] arp-to-host convert enable vrfname no arp-to-host convert enable
[Purpose] Turn on ARP-TO-HOST function
[Parameter]
Parameter | Description |
|---|---|
vrfname | VRF name, the default VRF is “default” |
[View] System configuration view
[Usage Scenario] Enabling this feature ensures that ARP (Address Resolution Protocol) and NDP (Neighbor Discovery Protocol) entries that match the ARP-TO-HOST policy are converted into host routes. This allows for more efficient routing and management of ARP and NDP entries.
[Use Cases]
sonic# configure terminal
sonic(config)# arp-to-host convert enable defaultarp-to-host policy
[Command] arp-to-host policy default-policy {vlan vlan ID|network A.B.C.D/M} {permit|deny} arp-to-host policy {vlan vlan ID|network A.B.C.D/M} {permit|deny} no arp-to-host policy default-policy {vlan vlan ID|network A.B.C.D/M} no arp-to-host policy {vlan vlan ID|network A.B.C.D/M}
[Purpose] Configure the ARP-TO-HOST interface routing policy
[Parameter]
Parameter | Description |
|---|---|
vlan vlan ID | Filter ARP/ND table entries by VLAN |
network A.B.C.D/M | Filter ARP/ND table entries by network segment |
[View] System configuration view
[Notes] If the neighbor table entry matches the configured segment, it will be processed according to the policy action, permit means allowed to convert to host route, deny means not allowed. Table entries that not hit the network policy will be processed by the default policy in the same way as above.
[Use Cases]
sonic# configure terminal
sonic(config)# arp-to-host policy network 10.1.1.1/24 permit