HP-UX Routing Services Administrator's Guide HP-UX 11i v2, HP-UX 11i v3 (B2355-91153, November 2011)
Operational User Interface for gated – gdc
gdc provides a user-oriented interface for the operation of gated. It provides the following functions:
• Starting and stopping gated.
• Delivery of signals to manipulate gated.
• Maintenance and checking the gated configuration file for syntax.
• Production and removal of state dumps and core dumps.
gdc determines the state of gated and produces a reliable exit status during errors, which is useful
in shell scripts that manipulate gated. The syslogd facility is used to log all the commands and
error messages generated during gdc operation. gated uses these log messages to provide an
audit trail of operations performed on the daemon.
For more information, type man 1M gated at the HP-UX prompt.
The gated Routing Table
Sending gated a SIGINT signal causes gated to write information about interface configurations,
task information, and routing tables to the /var/tmp/gated_dump file.
The ripquery Tool
You can use the /usr/sbin/ripquery support tool to query gated for RIP routing information.
ripquery sends two types of commands: a POLL command and a RIP request command.
gated responds to a POLL command by listing all routes learned from RIP that are in its routing
table. This does not include the interface routes for the local network or routes from other protocols
that are announced through RIP. When gated receives a RIP request command on a interface,
it announces routes via RIP on that interface. This includes routes from other protocols that are
imported by gated on the node.
You can use ripquery with the -p option to query other non-gated RIP routers. With this option,
ripquery initially sends POLL commands and then, if there is no response, sends RIP request
commands. The default query (POLL commands) sent by ripquery may not be supported by all
RIP routers. For more information, type man 1M ripquery at the HP-UX prompt.
The ospf_monitor Tool
You can use the /usr/sbin/ospf_monitor support tool to query OSPF routers for information
on OSPF routing tables, interfaces, and neighbors, as well as data on AS external databases,
link-state databases, error logs, and input/output statistics. Running the ospf_monitor command
displays a prompt that allows you to enter interactive commands. For details on using this tool,
type man 1M ospf_monitor at the HP-UX prompt.
Common Problems
This section discusses the common problems experienced during gated operation.
Problem 1: gated does not act as expected.
First, check the syslogd output for any syntax errors that may have been flagged.
To detect incorrect configuration commands, use gated tracing. Following are two sample
configurations, along with the trace files generated by gated. The node used has three interfaces:
lan0, lan1, and lan2. In the configuration files, lan0, lan1, and lan3 are specified. In the
first configuration shown, the strictintfs option is specified for the interfaces to ensure that
gated exits when the error is detected.
50 Configuring gated