NETCONF Configuration Guide
...
Layer3
Vrf
5 min
asternos vrf this chapter provides examples of how to configure and manage vrf on asternos devices using netconf create vrf request example to create new vrf on device via edit config \<config>\<top> \<vrfs> \<vrf operation="create"> \<name>vrftest\</name> \</vrf> \</vrfs> \</top>\</config> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ d9293a56 0284 4c3c ad6d ae6822a8160f"> \<ok/> \</rpc reply> get all existing vrfs request example to get all vrfs on device via get config \<filter type="subtree"> \<top> \<vrfs/> \</top> \</filter> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ a87dd3cc f2b8 4cce bccc d8e0a098593d"> \<data> \<top> \<vrfs xmlns="http //asterfusion com/ns/yang/asternos vrf"> \<vrf> \<name>vrftest\</name> \</vrf> \</vrfs> \</top> \</data> \</rpc reply> delete vrf request example to delete specific existing vrf on device via edit config \<config>\<top> \<vrfs> \<vrf operation="delete"> \<name>vrftest\</name> \</vrf> \</vrfs> \</top>\</config> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ c2485f03 ca57 4c6e bb4d 70bb4a63cfc2"> \<ok/> \</rpc reply>
