nstat
nstat
Display all entries in the neighbour table. The output will show key information about each neighbour. For example:
iPXE> nstat net0 IP 10.253.253.1 is Ethernet 02:00:69:50:58:45 (ARP) net0 IP 10.253.253.22 is Ethernet (incomplete) (ARP) net0 IPv6 fe80::69ff:fe50:5845 is Ethernet 02:00:69:50:58:45 net0 IPv6 3ffe:302:11:2:0:69ff:fe50:5845 is Ethernet 02:00:69:50:58:45 net0 IPv6 3ffe:302:11:2:0:2aff:6b84:321a is Ethernet (incomplete) (NDP)
In this example you can see that there are five neighbours:
10.253.253.1
, resolved using ARP to Ethernet 02:00:69:50:58:45
.10.253.253.22
, still attempting resolution using ARP.fe80::69ff:fe50:5845
, resolved to Ethernet 02:00:69:50:58:45
without using a discovery protocol.3ffe:302:11:2:0:69ff:fe50:5845
, resolved to Ethernet 02:00:69:50:58:45
without using a discovery protocol.3ffe:302:11:2:0:2aff:6b84:321a
, still attempting resolution using NDP.
This command is available only when the build option NEIGHBOUR_CMD
is enabled.
You can trigger attempted resolution of a neighbour using the ping
command.