ARP to Host
URLs Summary
URL | GET | POST | PATCH | PUT | DELETE |
|---|---|---|---|---|---|
/rest/v1/running/arp-to-host/ | Y | N | Y | N | N |
/rest/v1/running/arp-to-host/port-policy/{port-name} | Y | Y | Y | N | Y |
/rest/v1/running/arp-to-host/vrf/{vrf-name} | Y | Y | Y | N | N |
/rest/v1/running/arp-to-host/vrf/{vrf-name}/network-policy/{ip-prefix} | Y | Y | Y | N | Y |
Examples
Get all arp-to-host information.
GET HTTPS://{switch IP}/rest/v1/running/arp-to-hostresponse:
{
"vrf": [],
"port-policy": [
{
"port-name": "Ethernet53:3",
"action": "permit"
}
]
}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"
}Modify an arp-to-host port policy.
PATCH HTTPS://{switch IP}/rest/v1/running/arp-to-host/port-policy/Ethernet18
{
"action": "deny"
}Delete an arp-to-host port policy.
DELETE HTTPS://{switch IP}/rest/v1/running/arp-to-host/port-policy/Ethernet18Get all arp-to-host configuration.
GET HTTPS://{switch IP}/rest/v1/running/arp-to-host/vrfCreate an arp-to-host network policy.
POST HTTPS://{switch IP}/rest/v1/running/arp-to-host/vrf/Vrftest/network-policy/192.168.1.1%2F24
{
"action": "permit"
}Properties Descriptions
ARP to Host for VRF
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 actionTable of Properties
Name | Required | Type/Range | Description |
|---|---|---|---|
arp-to-host | M | | Path-only node, has no configurable value. |
vrf | M | | (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-name | M | "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) |
ARP to Host port policy
Tree Diagrams
+--rw arp-to-host
+--rw port-policy* [port-name]
+--rw port-name
+--rw actionTable of Properties
Name | Required | Type/Range | Description |
|---|---|---|---|
arp-to-host | M | | Path-only node, has no configurable value. |
port-policy | M | | (sub-property of arp-to-host) Path-only node, has no configurable value. the list of port-policy. |
port-name | M | Ethernet name PortChannel name | (sub-property of port-policy) The name of the interface ethernet or link-aggregation. |
action | M | "permit" "deny" "pass" | (sub-property of port-policy) |