Statements of the gated configuration file
The configuration statements and the order in which these statements appear
divide gated.conf into:
-
options statements
-
interface statements
-
definition statements
-
protocol statements
-
static statements
-
control statements
Entering a statement out of order causes an error when
parsing the configuration file.
Two other types of statement do not fit in these categories:
-
%directive statements
-
%trace statements
These statements provide instructions to the
parser and control tracing from the configuration file.
They do not relate to the
configuration of any protocol and may occur anywhere in the
gated.conf file.
Following is a summary of the configuration statements that may be
used in the gated configuration file.
More detailed definitions and descriptions of each of the eight classes of
gated statements follow in separate sections.
Directive statements include:
%directory-
sets the directory for include files
%include-
includes a file into gated.conf
Trace statements include:
traceoptions-
specifies which events are traced
tracefile-
specifies the tracing output file
Options statements include:
options-
defines gated options
Interface statements include:
interfaces-
defines gated interfaces
Definition statements include:
autonomoussystem-
defines the AS number
routerid-
defines the originating router (BGP, OSPF)
martians-
defines invalid destination addresses
Protocol statements include:
rip-
enables RIP protocol
ospf-
enables OSPF protocol
egp-
enables EGP protocol
bgp-
enables BGP protocol
redirect-
configures the processing of ICMP redirects
snmp-
enables reporting to SNMP
Static statements include:
static-
defines static routes
Control statements include:
import-
defines which routes to import
export-
defines which routes to export
Next topic:
gated preferences and route selection
Previous topic:
The gated configuration file
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003