Query routing daemons for their routing tables
rtquery [-1np] [-a secret] [-r addr] [-w timeout] host ... [-t op] host ...
The rtquery utility is used to query a RIP network routing daemon, routed or gated, for its routing table by sending a request or poll command. The routing information in any routing response packets returned is displayed numerically and symbolically.
By default, it uses the request command. When -p is specified, rtquery uses the poll command, an undocumented extension to the RIP protocol supported by gated. When querying gated, the poll command is preferred over the request command because the response is not subject to split-horizon and/or Poisoned Reverse, and because some versions of gated do not answer the request command. Although routed doesn't answer the poll command, it recognizes requests coming from rtquery and answers them completely.
The utility is also used to turn tracing on or off in routed.
gated (an unsupported version is available on the QDN), /etc/gateways, routed
RFC 1058 Routing Information Protocol, RIPv1
RFC 1723 Routing Information Protocol, RIPv2