rtquery - query routing daemons for their routing tables
rtquery [-np1] [-w timeout] [-r addr] [-a secret] host...
rtquery [-t operation] host...
The rtquery command is used to query a RIP network routing daemon, in.routed(1M) or GateD, for its routing table by sending a request or poll command. The routing information in any routing response packets returned is displayed numerically and symbolically.
By default, rtquery uses the request command. When the -p option is specified, rtquery uses the poll command, an undocumented extension to the RIP protocol supported by GateD. When querying GateD, the poll command is preferred over the request command because the response is not subject to Split Horizon and/or Poisoned Reverse, and because some versions of GateD do not answer the request command. in.routed does not answer the poll command, but recognizes requests coming from rtquery and so answers completely.
The rtquery command is also used to turn tracing on or off in in.routed.
The following options are supported:
-a passwd=XXX
-a md5_passwd=XXX|KeyID
-n
-p
-r addr
-t operation
on=tracefile
more
off
dump
-w timeout
-1
The following exit values are returned:
0
>0
See attributes(5) for descriptions of the following attributes:
|
in.routed(1M), route(1M), gateways(4), attributes(5), icmp(7P), inet(7P), udp(7P)
Routing Information Protocol, RIPv1, RFC 1058
Routing Information Protocol, RIPv2, RFC 2453, STD 0056
Закладки на сайте Проследить за страницей |
Created 1996-2024 by Maxim Chirkov Добавить, Поддержать, Вебмастеру |