HP (Hewlett-Packard) HP-UX 11i v2 Manuale Utente
Configuring gated
Troubleshooting gated
Chapter 3
103
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
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
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 (
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
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.