跳转到内容
Ask AI

NDP

此内容尚不支持你的语言。

URLGETPOSTPATCHPUTDELETE
/rest/v1/running/ndp-globalYYYNY
/rest/v1/running/interfaces/{name}/ipv6/neighbor/{ip}YYYNY
/rest/v1/rpc/show-ipv6-neighbor-summaryNYNNN
/rest/v1/rpc/clear-neighborNYNNN
GET HTTPS://{switch IP}/rest/v1/running/ndp-global
{
"flood-enable": "false"
}
PATCH HTTPS://{switch IP}/rest/v1/running/ndp-global
{
"flood-enable": "false"
}
POST HTTPS://{switch IP}/rest/v1/running/interfaces/Lag12/ipv6
{
"neighbor": [{
"ip": "2330:1::33",
"mac-address": "00:11:22:A3:44:5F"}]
}
POST HTTPS://{switch IP}/rest/v1/rpc/show-ipv6-neighbor-summary

response:

{
"neighbor": [
{
"address": "fe80::62eb:5aff:fe01:1036",
"mac-address": "60:eb:5a:01:10:36",
"interface": "Mgmt0",
"vlan": "-",
"status": "stale"
},
{
"address": "fe80::213:95ff:fe2d:2733",
"mac-address": "00:13:95:2d:27:33",
"interface": "Ethernet30",
"vlan": "-",
"status": "reachable"
}
]
}
POST HTTPS://{switch IP}/rest/v1/rpc/clear-neighbor
{
"interface": "Ethernet1"
}

Tree Diagrams

+--rw ndp-global
+--rw flood-enable?

Table of Properties

NameRequiredType/RangeDescription
ndp-globalMPath-only node, has no configurable value.
flood-enableO”true” “false”(sub-property of ndp-global) Enable to flood packet. Default value: “true”

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

NameRequiredType/RangeDescription
interfacesMPath-only node, has no configurable value. Interface parameters.
nameMEthernet name Ethernet sub-interface name Lag1..9999 Link-aggregation sub-interface name Vlan1..4094(sub-property of interfaces) The name of the interface.
ipv6M(sub-property of interfaces) Path-only node, has no configurable value. Parameters for the IPv6 address family.
neighborM(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.
ipMXX:XX:XX:XX:XX:XX:XX:XX(sub-property of neighbor) The IPv6 address of the neighbor node.
mac-addressMA: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.
originRO”other” “static” “dynamic”(sub-property of neighbor) The origin of this neighbor entry.
is-routerROempty(sub-property of neighbor) Indicates that the neighbor node acts as a router.
stateRO”incomplete” “reachable” “stale” “delay” “probe”(sub-property of neighbor) The Neighbor Unreachability Detection state of this entry.

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

NameRequiredType/RangeDescription
show-ipv6-neighbor-summaryMPath-only node, has no configurable value.
ipOXX:XX:XX:XX:XX:XX:XX:XX(sub-property of input)The IPv6 address of the neighbor node.
interfaceOEthernet 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.
neighborRO(sub-property of output) Path-only node, has no configurable value.Structured IPv4 neighbor summary output for RPC clients.
addressROstring(sub-property of neighbor)
mac-addressROstring(sub-property of neighbor)
interfaceROstring(sub-property of neighbor)
vlanROstring(sub-property of neighbor)
statusROstring(sub-property of neighbor)
dataRO(sub-property of output)

Tree Diagrams

+---x clear-neighbor
+---w input
| +---w interface
+--ro output
+--ro text?

Table of Properties

NameRequiredType/RangeDescription
clear-neighborMPath-only node, has no configurable value.
interfaceM”all” Interface name(sub-property of input) all - to flush neighbors on all the interface. interface name - remove neighbors on a specific interface.
textROstring(sub-property of output) flush neighbor on interface