RTQUERY(8) | MidnightBSD System Manager's Manual | RTQUERY(8) |
rtquery
— query
routing daemons for their routing tables
rtquery |
[-np1 ] [-w
timeout] [-r
addr] [-a
secret] host ... |
rtquery |
[-t op]
host ... |
The rtquery
utility is used to query a RIP
network routing daemon, such as
routed(8), 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.
The rtquery
utility by
default uses the request command. When the
-p
option is specified,
rtquery
uses the poll command, an
undocumented extension to the RIP protocol supported by the commercial
gated
routing product. 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. The
routed(8) utility does
not answer the poll command, but recognizes
requests coming
from rtquery
and so answers completely.
The rtquery
utility is also used to turn
tracing on or off in
routed(8).
The following options are available:
-n
-p
gated
. This is an undocumented
extension RIP protocol supported only by
gated
.-1
-w
timeout-r
addr-a
passwd=XXX-a
md5_passwd=XXX|KeyID-t
opgated
is likely to ignore these
debugging requests.Routing Information Protocol, RIPv1, RFC1058.
Routing Information Protocol, RIPv2, RFC1723.
June 1, 1996 | midnightbsd-3.1 |