2 .\" $FreeBSD: src/sbin/routed/rtquery/rtquery.8,v 1.11.2.4 2003/05/10 23:22:48 murray Exp $
3 .\" $DragonFly: src/sbin/routed/rtquery/rtquery.8,v 1.3 2007/11/23 23:16:36 swildner Exp $
10 .Nd query routing daemons for their routing tables
24 utility is used to query a RIP network routing daemon, such as
26 for its routing table by sending a
31 The routing information in any routing
33 packets returned is displayed numerically and symbolically.
37 utility by default uses the
47 undocumented extension to the RIP protocol supported by
55 command is preferred over the
57 command because the response is not subject to Split Horizon and/or
58 Poisoned Reverse, and because some versions of
66 command, but recognizes
70 and so answers completely.
74 utility is also used to turn tracing on or off in
77 The following options are available:
78 .Bl -tag -width indent
80 displays only the numeric network and host numbers instead of both
85 command to request full routing information from
87 This is an undocumented extension RIP protocol supported only by
90 queries using RIP version 1 instead of RIP version 2.
92 changes the delay for an answer from each host.
93 By default, each host is given 15 seconds to respond.
95 asks about the route to destination
97 .It Fl a Ar passwd=XXX
98 .It Fl a Ar md5_passwd=XXX|KeyID
99 causes the query to be sent with the indicated cleartext or MD5 password.
101 changes tracing, where
103 is one of the following.
104 Requests from processes not running with UID 0 or on distant networks
105 are generally ignored by the daemon except for a message in the system log.
107 is likely to ignore these debugging requests.
109 .Bl -tag -width Ds -offset indent-two
111 turns tracing on into the specified file.
112 That file must usually have been specified when the daemon was
113 started or be the same as a fixed name, often
114 .Pa /etc/routed.trace .
116 increases the debugging level.
120 dumps the daemon's routing table to the current tracefile.
125 .%T Routing Information Protocol, RIPv1
129 .%T Routing Information Protocol, RIPv2