RESTAPI Manual
Layer 3
NDP
12 min
urls summary urls summary 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 examples examples update global ndp configurations update global ndp configurations patch https //{switch ip}/rest/v1/running/ndp global { "flood enable" "false" } create an ipv6 neighbor for interface create an ipv6 neighbor for interface post https //{switch ip}/rest/v1/running/interfaces/portchannel0012/ipv6 { "neighbor" \[{ "ip" "2330 1 33", "mac address" "00 11 22\ a3 44 5f"}] } show ipv6 neighbor summary show ipv6 neighbor summary post https //{switch ip}/rest/v1/rpc/show ipv6 neighbor summary clear neighbors clear neighbors post https //{switch ip}/rest/v1/rpc/clear neighbor { "interface" "ethernet1" } properties descriptions properties descriptions ndp flood global ndp flood global 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" static static ndp entry ndp entry 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 portchannel0000 9999 portchannel 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 show ndp summary show ndp summary tree diagrams + x show ipv6 neighbor summary \| + w input \| | + w ip? \| | + w interface? \| + ro output \| + ro result? 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 interface name (sub property of input) the name of the interface needs to show ipv6 neighbors result ro string (sub property of output) a table that shows information of all ipv6 neighbors clear neighborss clear neighborss 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
