1 .\" $NetBSD: rtquery.8,v 1.19 2003/09/23 12:14:49 wiz Exp $
8 .Nd query routing daemons for their routing tables
21 is used to query a RIP network routing daemon,
25 for its routing table by sending a
30 The routing information in any routing
32 packets returned is displayed numerically and symbolically.
45 undocumented extension to the RIP protocol supported by
51 command is preferred over the
53 command because the response is not subject to Split Horizon and/or
54 Poisoned Reverse, and because some versions of gated do not answer the
60 command, but recognizes
64 and so answers completely.
67 is also used to turn tracing on or off in
70 The following options are available:
71 .Bl -tag -width indent
73 displays only the numeric network and host numbers instead of both
78 command to request full routing information from
80 This is an undocumented extension RIP protocol supported only by
83 queries using RIP version 1 instead of RIP version 2.
85 changes the delay for an answer from each host.
86 By default, each host is given 15 seconds to respond.
88 asks about the route to destination
90 .It Fl a Ar passwd=XXX
91 .It Fl a Ar md5_passwd=XXX|KeyID
92 causes the query to be sent with the indicated cleartext or MD5 password.
94 changes tracing, where
96 is one of the following.
97 Requests from processes not running with UID 0 or on distant networks
98 are generally ignored by the daemon except for a message in the system log.
100 is likely to ignore these debugging requests.
102 .Bl -tag -width Ds -offset indent-two
104 turns tracing on into the specified file.
105 That file must usually have been specified when the daemon was
106 started or be the same as a fixed name, often
107 .Pa /etc/routed.trace .
109 increases the debugging level.
113 dumps the daemon's routing table to the current tracefile.
121 .%T Routing Information Protocol, RIPv1
126 .%T Routing Information Protocol, RIPv2