Configuring gated

Starting gated

Starting gated

To start gated, complete the following steps:

1. Set the environment variable GATED to 1 in the file /etc/rc.config.d/netconf to start gated automatically upon system startup.

2. Reboot your system, or issue the following command to run the

gated startup script: /sbin/init.d/gated start

 

You can also start gated by running the command gdc start. The

 

following message appears to indicate that gated has started:

 

gated started, pid 29777

 

where 29777 is the process ID (pid) of the gated process. You can specify

 

the command-line arguments for starting gated with the GATED_ARGS

 

environment variable in the file /etc/rc.config.d/netconf. Table 3-4

 

lists the commonly used command-line options for gated.

Table 3-4

Command Line Options for gated

 

 

 

 

 

Flag

Effect

 

 

 

 

 

 

-t

When used alone, -tcauses gated to log all error messages

 

 

 

and route changes. It turns on the general trace option

 

 

 

automatically. When -tis followed by one or more trace

 

 

 

options, only those options are turned on. (See “Specifying

 

 

 

Tracing Options” on page 92 for more information.)

 

 

 

Multiple trace options are separated by commas. The -t

 

 

 

flag must immediately precede the other flags.

 

 

 

 

 

 

-C

Specifies that the configuration file will be parsed for

 

 

 

syntax errors. gated exits with a status of 1 if there are

 

 

 

any errors and 0 (zero) if there are no errors.

 

 

 

 

 

 

-c

Specifies that the configuration file will be parsed for

 

 

 

syntax errors. A dump file /var/tmp/gated_dump is

 

 

 

created if there are no errors. Only the trace option

 

 

 

general is logged. See “Specifying Tracing Options” on

 

 

 

page 92 for a detailed description of all the tracing options.

 

 

 

 

 

Chapter 3

99

Page 99
Image 99
HP Routing Services -UX 11i v2 manual Starting gated, Command Line Options for gated, Flag Effect