NETCONF Configuration Guide
...
Mac‑Security
SAVI
6 min
asternos savi this chapter provides examples on how to use netconf to manage savi configurations on asternos devices get current savi configurations request example to get all savi configurations via get config with subtree filter \<filter type="subtree"> \<top> \<savi/> \</top> \</filter> response example \<data xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0"> \<top> \<savi> \<interfaces> \<interface> \<name>ethernet1\</name> \<enable>true\</enable> \</interface> \<interface> \<name>vlan100\</name> \<enable>true\</enable> \</interface> \</interfaces> \</savi> \</top> \</data> set savi configuration of interface note the trust interface of savi is included in ipsg v6 and does't require separate configuration request example to set savi configuration of interface to enabled via edit config \<config> \<top> \<savi> \<interfaces> \<interface> \<name>ethernet1\</name> \<enable>true\</enable> \</interface> \<interface> \<name>vlan100\</name> \<enable>true\</enable> \</interface> \</interfaces> \</savi> \</top> \</config> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ bb24faf4 2dba 4801 bff1 1442572b985f"> \<ok/> \</rpc reply> delete savi configuration request example to delete savi configuration of interface via edit config \<config> \<top> \<savi> \<interfaces> \<interface operation="delete"> \<name>ethernet1\</name> \</interface> \</interfaces> \</savi> \</top> \</config> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ c601d610 7f2c 4230 96f1 d0f57506b05a"> \<ok/> \</rpc reply>
