ND‑Snooping
5 min
\<font color="#1d50a2">asternos nd snooping\</font> this chapter provides examples on how to use netconf to manage nd snooping configurations on asternos devices \<font color="#1d50a2">get current nd snooping configurations\</font> 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> \<font color="#1d50a2">set nd snooping configurations\</font> 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> \<font color="#1d50a2">delete nd snooping configuration\</font> 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>
