gated(1M) Release 1.9.1.7(08-30-90) gated(1M)
NAME
ripquery - query RIP gateways
SYNOPSIS
ripquery [ -n ] [ -p ] [ -r ] [ -v ] [ -w time] gateway ...
DESCRIPTION
Ripquery is used to request all routes known by a RIP gateway by sending
a RIP request or POLL command. The routing information in any routing
packets returned is displayed numerically and symbolically. Ripquery is
intended to be used as a tool for debugging gateways, not for network
management. SNMP is the prefered protocol for network management.
Ripquery by default uses the RIP POLL command, which is an undocumented
extension to the RIP specification supported by routed on SunOS 3.x and
later and by gated 1.4 and later. The RIP POLL command is prefered over
the RIP REQUEST command because it is not subject to Split Horizon and/or
Poisioned Reverse. See the RIP RFC for more information.
OPTIONS
-n Normally network and host numbers are displayed both symbolically
and numerically. When this option is specified, network and host
numbers are only displayed numerically.
-p Uses the RIP POLL command to request information from the routing
table. This is the default, but is an undocumented extension
supported only by some versions of SunOS 3.x and later versions of
gated. If there is no response to the RIP POLL command, the RIP
REQUEST command is tried.
-r Used the RIP REQUEST command to request information from the
gateway's routing table. Unlike the RIP POLL command, all gateways
should support the RIP REQUEST. If there is no response to the RIP
REQUEST command, the RIP POLL command is tried.
-v Version information about ripquery is displayed before querying the
gateways.
-w Specifies the time in seconds to wait for the initial response from
a gateway. The default value is 5 seconds.
EXAMPLES
SEE ALSO
routed(1M) gated(1M)
RFC1058 - Routing Information Protocol
BUGS
Some versions of SunOS do not allow looking up the symbolic name of a
subnet.
10/89 Page 1