RIPQUERY-2(8) — NEWS-OS Programmer’s Manual
NAME
ripquery-2 − query RIP gateways
SYNOPSIS
ripquery-2 [ −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
−nNormally network and host numbers are displayed both symbolically and numerically. When this option is specified, network and host numbers are only displayed numerically.
−pUses 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.
−rUsed 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.
−vVersion information about ripquery is displayed before querying the gateways.
−wSpecifies the time in seconds to wait for the initial response from a gateway. The default value is 5 seconds.
SEE ALSO
RFC1058 - Routing Information Protocol
BUGS
Some versions of SunOS do not allow looking up the symbolic name of a subnet.
NEWS-OSRelease 4.2.1R