NDP
12 min
\<font color="#1d50a2">urls summary\</font> url get post patch put delete /rest/v1/running/ndp global y y y n y /rest/v1/running/interfaces/{name}/ipv6/neighbor/{ip} y y y n y /rest/v1/rpc/show ipv6 neighbor summary n y n n n /rest/v1/rpc/clear neighbor n y n n n \<font color="#1d50a2">examples\</font> \<font color="#1d50a2">update global ndp configurations \</font> patch https //{switch ip}/rest/v1/running/ndp global { "flood enable" "false" } \<font color="#1d50a2">create an ipv6 neighbor for interface\</font> post https //{switch ip}/rest/v1/running/interfaces/lag12/ipv6 { "neighbor" \[{ "ip" "2330 1 33", "mac address" "00 11 22\ a3 44 5f"}] } \<font color="#1d50a2">show ipv6 neighbor summary\</font> post https //{switch ip}/rest/v1/rpc/show ipv6 neighbor summary \<font color="#1d50a2">clear neighbors\</font> post https //{switch ip}/rest/v1/rpc/clear neighbor { "interface" "ethernet1" } \<font color="#1d50a2">properties descriptions\</font> \<font color="#1d50a2">ndp flood global\</font> tree diagrams + rw ndp global + rw flood enable? table of properties name required type/range description ndp global m path only node, has no configurable value flood enable o "true" "false" (sub property of ndp global) enable to flood packet default value "true" \<font color="#1d50a2">static \</font> tree diagrams + rw interfaces + rw interface \[name] + rw name + rw ipv6 + rw neighbor \[ip] \| + rw ip \| + rw mac address \| + ro origin? \| + ro is router? \| + ro state? table of properties name required type/range description interfaces m path only node, has no configurable value interface parameters name m ethernet name ethernet sub interface name lag1 9999 link aggregation sub interface name vlan1 4094 (sub property of interfaces) the name of the interface ipv6 m (sub property of interfaces) path only node, has no configurable value parameters for the ipv6 address family neighbor m (sub property of ipv6) path only node, has no configurable value a list of mappings from ipv6 addresses to link layer addresses entries in this list in the intended configuration are used as static entries in the neighbor cache in the operational state, this list represents the neighbor cache ip m xx\ xx\ xx\ xx\ xx\ xx\ xx\ xx (sub property of neighbor) the ipv6 address of the neighbor node mac address m a\ b c\ d e\ f (sub property of neighbor) the link layer address of the neighbor node in the operational state, if the neighbor's "state" leaf is "incomplete", this leaf is not instantiated origin ro "other" "static" "dynamic" (sub property of neighbor) the origin of this neighbor entry is router ro empty (sub property of neighbor) indicates that the neighbor node acts as a router state ro "incomplete" "reachable" "stale" "delay" "probe" (sub property of neighbor) the neighbor unreachability detection state of this entry \<font color="#1d50a2">show ndp summary\</font> tree diagrams + x show ipv6 neighbor summary \| + w input \| | + w ip? \| | + w interface? \| + ro output \| + ro neighbor \[address interface] \| | + ro address \| | + ro mac address? \| | + ro interface \| | + ro vlan? \| | + ro status? \| + ro data? table of properties name required type/range description show ipv6 neighbor summary m path only node, has no configurable value ip o xx\ xx\ xx\ xx\ xx\ xx\ xx\ xx (sub property of input) the ipv6 address of the neighbor node interface o ethernet name ethernet sub interface name lag1 9999 link aggregation sub interface name vlan1 4094 (sub property of input) the name of the interface needs to show ipv6 neighbors neighbor ro (sub property of output) path only node, has no configurable value structured ipv4 neighbor summary output for rpc clients address ro string (sub property of neighbor) mac address ro string (sub property of neighbor) interface ro string (sub property of neighbor) vlan ro string (sub property of neighbor) status ro string (sub property of neighbor) data ro (sub property of output) \<font color="#1d50a2">clear neighborss\</font> tree diagrams + x clear neighbor + w input \| + w interface + ro output + ro text? table of properties name required type/range description clear neighbor m path only node, has no configurable value interface m "all" interface name (sub property of input) all to flush neighbors on all the interface interface name remove neighbors on a specific interface text ro string (sub property of output) flush neighbor on interface
