NETCONF Configuration Guide
...
Mac‑Security
ND‑Snooping
5 min
asternos nd snooping this chapter provides examples on how to use netconf to manage nd snooping configurations on asternos devices get current nd snooping configurations request example to get all nd snooping configurations via get config with subtree filter \<filter type="subtree"> \<top> \<nd snooping/> \</top> \</filter> response example \<data xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0"> \<top> \<nd snooping xmlns="http //asterfusion com/ns/yang/asternos nd snooping"> \<global> \<enabled>true\</enabled> \</global> \<interfaces> \<interface> \<name>vlan100\</name> \<enabled>true\</enabled> \<trusted>true\</trusted> \</interface> \<interface> \<name>vlan200\</name> \<enabled>true\</enabled> \<trusted>true\</trusted> \</interface> \</interfaces> \</nd snooping> \</top> \</data> set nd snooping configurations request example to set nd snooping configuration via edit config \<config> \<top> \<nd snooping> \<global> \<enabled>true\</enabled> \</global> \<interfaces> \<interface> \<name>vlan100\</name> \<enabled>true\</enabled> \<trusted>true\</trusted> \</interface> \<interface> \<name>vlan200\</name> \<enabled>true\</enabled> \<trusted>true\</trusted> \</interface> \</interfaces> \</nd snooping> \</top> \</config> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid\ b9171b24 a88c 42da 82f5 d1b8ac58edeb"> \<ok/> \</rpc reply> delete nd snooping configuration request example to delete nd snooping configurations of interface via edit config \<config> \<top> \<nd snooping> \<interfaces> \<interface operation="delete"> \<name>vlan100\</name> \</interface> \</interfaces> \</nd snooping> \</top> \</config> response example \<rpc reply xmlns="urn\ ietf\ params\ xml\ ns\ netconf\ base 1 0" message id="urn\ uuid 6845257e fb87 4b08 80c5 2a8b1b1dc264"> \<ok/> \</rpc reply>
