ipneigh: update man page and help for router
While at it also add missing text for proxy in the man page. Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Signed-off-by: David Ahern <dsahern@gmail.com>
This commit is contained in:
parent
c3ded6e4a0
commit
51eb02254b
|
|
@ -48,6 +48,7 @@ static void usage(void)
|
||||||
{
|
{
|
||||||
fprintf(stderr, "Usage: ip neigh { add | del | change | replace }\n"
|
fprintf(stderr, "Usage: ip neigh { add | del | change | replace }\n"
|
||||||
" { ADDR [ lladdr LLADDR ] [ nud STATE ] | proxy ADDR } [ dev DEV ]\n");
|
" { ADDR [ lladdr LLADDR ] [ nud STATE ] | proxy ADDR } [ dev DEV ]\n");
|
||||||
|
fprintf(stderr, " [ router ]\n\n");
|
||||||
fprintf(stderr, " ip neigh { show | flush } [ proxy ] [ to PREFIX ] [ dev DEV ] [ nud STATE ]\n");
|
fprintf(stderr, " ip neigh { show | flush } [ proxy ] [ to PREFIX ] [ dev DEV ] [ nud STATE ]\n");
|
||||||
fprintf(stderr, " [ vrf NAME ]\n\n");
|
fprintf(stderr, " [ vrf NAME ]\n\n");
|
||||||
fprintf(stderr, "STATE := { permanent | noarp | stale | reachable | none |\n"
|
fprintf(stderr, "STATE := { permanent | noarp | stale | reachable | none |\n"
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,8 @@ ip-neighbour \- neighbour/arp tables management.
|
||||||
.B proxy
|
.B proxy
|
||||||
.IR ADDR " } [ "
|
.IR ADDR " } [ "
|
||||||
.B dev
|
.B dev
|
||||||
.IR DEV " ]"
|
.IR DEV " ] [ "
|
||||||
|
.BR router " ] "
|
||||||
|
|
||||||
.ti -8
|
.ti -8
|
||||||
.BR "ip neigh" " { " show " | " flush " } [ " proxy " ] [ " to
|
.BR "ip neigh" " { " show " | " flush " } [ " proxy " ] [ " to
|
||||||
|
|
@ -75,6 +76,14 @@ the protocol address of the neighbour. It is either an IPv4 or IPv6 address.
|
||||||
.BI dev " NAME"
|
.BI dev " NAME"
|
||||||
the interface to which this neighbour is attached.
|
the interface to which this neighbour is attached.
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BI proxy
|
||||||
|
indicates whether we are proxying for this neigbour entry
|
||||||
|
|
||||||
|
.TP
|
||||||
|
.BI router
|
||||||
|
indicates whether neigbour is a router
|
||||||
|
|
||||||
.TP
|
.TP
|
||||||
.BI lladdr " LLADDRESS"
|
.BI lladdr " LLADDRESS"
|
||||||
the link layer address of the neighbour.
|
the link layer address of the neighbour.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue