Skip to content
Ask AI

VRF

Virtual Routing and Forwarding.

URLGETPOSTPATCHPUTDELETE
/rest/v1/rpc/show-vrf-briefNYNNN
/rest/v1/rpc/show-vrf-interfaceNYNNN
/rest/v1/running/vrfs/{name}YYYNY
POST HTTPS://{switch IP}/rest/v1/rpc/show-vrf-interface

response:

{
"vrf": [
{
"name": "Vrfint1",
"interfaces": [
"Ethernet65"
]
},
{
"name": "Vrfint2",
"interfaces": [
"Ethernet66"
]
}
]
}
GET HTTPS://{switch IP}/rest/v1/running/vrfs

response:

{
"result": [
{
"name": "Vrfint1"
},
{
"name": "Vrfint2"
}
]
}
POST HTTPS://{switch IP}/rest/v1/running/vrfs
{
"name": "Vrftest"
}

Tree Diagrams

+--rw vrfs
+--rw vrf* [name]
+--rw name
+--rw mac?

Table of Properties

NameRequiredType/RangeDescription
vrfsMPath-only node, has no configurable value.
nameM”default”
vrf name(sub-property of vrfs)
|

| mac | O | A:B:C:D:E:F | (sub-property of vrfs) Router MAC of the VRF |

Tree Diagrams

+---x show-vrf-interface
| +--ro output
| +--ro vrf* [name]
| +--ro name
| +--ro interfaces*

Table of Properties

NameRequiredType/RangeDescription
show-vrf-interfaceMPath-only node, has no configurable value.
Show slave interfaces of VRFs
vrfRO(sub-property of output)
Path-only node, has no configurable value.
nameROvrf name(sub-property of vrf)
Name of the VRF
interfacesROstring(sub-property of vrf)
Slave interfaces

Tree Diagrams

+---x show-vrf-brief
+--ro output
+--ro vrf* [name]
+--ro name
+--ro vni?
+--ro mac?

Table of Properties

NameRequiredType/RangeDescription
show-vrf-briefMPath-only node, has no configurable value.
Show all configurations of VRFs
vrfRO(sub-property of output)
Path-only node, has no configurable value.
nameROvrf name(sub-property of vrf)
Name of the VRF
vniRO1..16777215(sub-property of vrf)
Bound VNI of the VRF
macROA:B:C:D:E:F(sub-property of vrf)
Router MAC of the VRF