RESTAPI Manual
Layer 3
VRF
10 min
virtual routing and forwarding urls summary urls summary url get post patch put delete /rest/v1/rpc/show vrf brief n y n n n /rest/v1/rpc/show vrf interface n y n n n /rest/v1/running/vrfs/{name} y y y n y examples examples show vrf of interface show vrf of interface post https //{switch ip}/rest/v1/rpc/show vrf interface get all the vrfs get all the vrfs get https //{switch ip}/rest/v1/running/vrfs create a vrf create a vrf post https //{switch ip}/rest/v1/running/vrfs { "name" "vrftest" } properties descriptions properties descriptions vrf entry vrf entry tree diagrams + rw vrfs + rw vrf \[name] + rw name + rw mac? table of properties name required type/range description vrfs m path only node, has no configurable value name m "default" vrf name (sub property of vrfs) mac o a\ b c\ d e\ f (sub property of vrfs) router mac of the vrf show vrf of interface show vrf of interface tree diagrams + x show vrf interface \| + ro output \| + ro vrf \[name] \| + ro name \| + ro interfaces table of properties name required type/range description show vrf interface m path only node, has no configurable value show slave interfaces of vrfs vrf ro (sub property of output) path only node, has no configurable value name ro vrf name (sub property of vrf) name of the vrf interfaces ro string (sub property of vrf) slave interfaces show vrf brief show vrf brief tree diagrams + x show vrf brief + ro output + ro vrf \[name] + ro name + ro vni? + ro mac? table of properties name required type/range description show vrf brief m path only node, has no configurable value show all configurations of vrfs vrf ro (sub property of output) path only node, has no configurable value name ro vrf name (sub property of vrf) name of the vrf vni ro 1 16777215 (sub property of vrf) bound vni of the vrf mac ro a\ b c\ d e\ f (sub property of vrf) router mac of the vrf
