RTQUERY(8) | System Manager's Manual | RTQUERY(8) |
rtquery
—
rtquery |
[-1np ] [-a
secret] [-r
addr] [-w
timeout] host ... |
rtquery |
[-t op]
host ... |
rtquery
is used to query a RIP network routing daemon,
routed(8) or
gated(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.
rtquery
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 gated(8).
When querying gated(8), 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.
routed(8) does not answer the
poll command, but recognizes requests
coming from rtquery
and so answers completely.
rtquery
is also used to turn tracing on or
off in routed(8).
The following options are available:
-n
-p
-1
-w
timeout-r
addr-a
passwd=XXX-a
md5_passwd=XXX|KeyID-t
opRouting Information Protocol, RIPv1, RFC 1058, 1988.
Routing Information Protocol, RIPv2, RFC 1723, 1994.
September 11, 2009 | NetBSD 9.4 |