2 .\" $FreeBSD: src/sbin/routed/rtquery/rtquery.8,v 1.11.2.4 2003/05/10 23:22:48 murray Exp $
9 .Nd query routing daemons for their routing tables
23 utility is used to query a RIP network routing daemon, such as
25 for its routing table by sending a
30 The routing information in any routing
32 packets returned is displayed numerically and symbolically.
36 utility by default uses the
46 undocumented extension to the RIP protocol supported by
54 command is preferred over the
56 command because the response is not subject to Split Horizon and/or
57 Poisoned Reverse, and because some versions of
65 command, but recognizes
69 and so answers completely.
73 utility is also used to turn tracing on or off in
76 The following options are available:
77 .Bl -tag -width indent
79 displays only the numeric network and host numbers instead of both
84 command to request full routing information from
86 This is an undocumented extension RIP protocol supported only by
89 queries using RIP version 1 instead of RIP version 2.
91 changes the delay for an answer from each host.
92 By default, each host is given 15 seconds to respond.
94 asks about the route to destination
96 .It Fl a Ar passwd=XXX
97 .It Fl a Ar md5_passwd=XXX|KeyID
98 causes the query to be sent with the indicated cleartext or MD5 password.
100 changes tracing, where
102 is one of the following.
103 Requests from processes not running with UID 0 or on distant networks
104 are generally ignored by the daemon except for a message in the system log.
106 is likely to ignore these debugging requests.
108 .Bl -tag -width Ds -offset indent-two
110 turns tracing on into the specified file.
111 That file must usually have been specified when the daemon was
112 started or be the same as a fixed name, often
113 .Pa /etc/routed.trace .
115 increases the debugging level.
119 dumps the daemon's routing table to the current tracefile.
124 .%T Routing Information Protocol, RIPv1
128 .%T Routing Information Protocol, RIPv2