HP-UX Routing Services Administrator's Guide HP-UX 11i v2, HP-UX 11i v3 (B2355-91153, November 2011)
Installing Static Routes
The static statement specifies a router or an interface in the kernel routing tables. The following
is an example of a static route:
static {
193.2.1.32 mask 0xfffffff0 gateway 193.2.1.30
preference 8 retain ;
} ;
If you specify an export statement for the default route, the route is passed on to other routers.
If you specify only the static statement and not an export statement, then the default route is
not passed on as a route to other routers. This is considered a passive default route, and is used
only by the host where this gated is running. The retain clause retains the route in the kernel
even after gated shuts down.
Setting Interface States
gated times out routes that pass through interfaces not receiving any RIP, OSPF, or BGP packets.
The passive clause in the interface statement of the Static class prevents gated from changing
the preference of a route to the interface if routing information is not received for the interface. HP
recommends that you use the passive clause for all interfaces.
Specifying Tracing Options
Trace options specify the desired level of tracing output from gated. Tracing output provides useful
system information for setting up a node on the network. Use trace options to set up a node and
to send a certain type of tracing to a log file. You can specify tracing in the following ways:
• In a protocol statement in the /etc/gated.conf configuration file.
• In the Trace class of the /etc/gated.conf configuration file.
• On the command line with the -t option when starting gated.
Trace information is appended to the trace file unless you specify replace. Command-line options
are useful for tracing events in gated before the configuration file is read.
NOTE: In gated 3.5.9, the two Trace class statements (tracefile and traceoptions) are
combined into one traceoptions statement. Therefore, the tracefile statement is eliminated.
For details about the new syntax, type man 4 gated.conf at the HP-UX prompt.
Table 3 shows the gated.conf global trace options related to protocols.
Table 3 Protocol-Related Global Trace Options for gated Configuration Files
EffectOption
Traces the state machine transitions in the protocols.state
Traces the normal protocol events (abnormal protocol events are always traced).normal
Traces the application of protocol and user-specified policies to routes that are imported
and exported.
policy
Traces the system interface and processing associated with this protocol or peer.task
Traces the timer usage by this protocol or peer.timer
Traces all routing table changes for routes installed by this protocol or peer.route
A combination of normal and route.general
Enables all tracing options.all
Some of the options specified in Table 3 do not apply to all of the protocols. For more information
on options applicable for each protocol and for the different trace options available within the
Specifying Tracing Options 45