ripquery

query RIP gateways

Syntax:

ripquery [-n] [-p] [-r] [-v] [-w wait] gateway...

Options:

-n
Display networks and hosts by number only. Normally, network and host numbers are displayed both symbolically and numerically.
-p
Use the RIP POLL command to request information from the gateway's routing table. This is the default. If there's no response to the RIP POLL command, the RIP REQUEST command is tried.
-r
Use the RIP REQUEST command to request information from the gateway's routing table. Unlike the RIP POLL command, RIP REQUEST should work with all gateways. If there's no response to the RIP REQUEST command, the RIP POLL command is tried.
-v
Display version information about ripquery before querying the gateways.
-w wait
Wait this many seconds for the initial response from a gateway (default is 5 seconds).

Description:

The ripquery utility requests all routes known to a RIP gateway by sending a RIP REQUEST command or a RIP POLL command. By default, the routing information in any routing packets returned is displayed numerically and symbolically.

By default, ripquery 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. Because it isn't subject to Split Horizon and/or Poisoned Reverse, the RIP POLL command is preferable to the RIP REQUEST command — see the RIP RFC for more information.

Note that ripquery is intended as a tool for debugging gateways; you shouldn't use it for managing networks.

See also:

gated, routed

Routing Information Protocol (RFC 1058)