Skip to content
Ask AI

ARP to Host

URLGETPOSTPATCHPUTDELETE
/rest/v1/running/arp-to-host/YNYNN
/rest/v1/running/arp-to-host/port-policy/{port-name}YYYNY
/rest/v1/running/arp-to-host/vrf/{vrf-name}YYYNN
/rest/v1/running/arp-to-host/vrf/{vrf-name}/network-policy/{ip-prefix}YYYNY
GET HTTPS://{switch IP}/rest/v1/running/arp-to-host

response:

{
"vrf": [],
"port-policy": [
{
"port-name": "Ethernet53:3",
"action": "permit"
}
]
}

Create an arp-to-host port policy with action.

Section titled “Create an arp-to-host port policy with action.”
POST HTTPS://{switch IP}/rest/v1/running/arp-to-host/port-policy
{
"port-name":"Ethernet18",
"action": "permit"
}
PATCH HTTPS://{switch IP}/rest/v1/running/arp-to-host/port-policy/Ethernet18
{
"action": "deny"
}
DELETE HTTPS://{switch IP}/rest/v1/running/arp-to-host/port-policy/Ethernet18
GET HTTPS://{switch IP}/rest/v1/running/arp-to-host/vrf
POST HTTPS://{switch IP}/rest/v1/running/arp-to-host/vrf/Vrftest/network-policy/192.168.1.1%2F24
{
"action": "permit"
}

Tree Diagrams

+--rw arp-to-host
+--rw vrf* [vrf-name]
| +--rw vrf-name
| +--rw enabled?
| +--rw metric?
| +--rw fast-convergence?
| +--rw default-port-policy?
| +--rw default-network-policy?
| +--rw network-policy* [ip-prefix]
| +--rw ip-prefix
| +--rw action

Table of Properties

NameRequiredType/RangeDescription
arp-to-hostMPath-only node, has no configurable value.
vrfM(sub-property of arp-to-host)
Path-only node, has no configurable value.
the list of policy includes default-policy that bind with vrf
vrf-nameM”default”
vrf name(sub-property of vrf)
|

| enabled | O | “true” “false” | (sub-property of vrf) enable switch Default value: “false” | | metric | O | 1..4294967295 | (sub-property of vrf) Default value: 5200 | | fast-convergence | O | “true” “false” | (sub-property of vrf) fast-convergence switch Default value: “true” | | default-port-policy | O | “permit” “deny” “pass” | (sub-property of vrf) | | default-network-policy | O | “permit” “deny” | (sub-property of vrf) | | network-policy | M | | (sub-property of vrf) Path-only node, has no configurable value. | | ip-prefix | M | A.B.C.D/M XX:XX:XX:XX:XX:XX:XX:XX/M | (sub-property of network-policy) | | action | M | “permit” “deny” | (sub-property of network-policy) |

Tree Diagrams

+--rw arp-to-host
+--rw port-policy* [port-name]
+--rw port-name
+--rw action

Table of Properties

NameRequiredType/RangeDescription
arp-to-hostMPath-only node, has no configurable value.
port-policyM(sub-property of arp-to-host)
Path-only node, has no configurable value.
the list of port-policy.
port-nameMEthernet name
PortChannel name(sub-property of port-policy)
The name of the interface ethernet or link-aggregation.
actionM”permit"
"deny"
"pass”(sub-property of port-policy)