Options statements allow specification of some global options. If used,
options must appear before any other type of configuration
statement in the gated.conf file.
The options statement syntax is:
options
[ nosend ]
[ noresolv ]
[ gendefault [ preference preference ] [ gateway gateway] ]
[ syslog [ upto ] log_level ]
[ mark time ]
;
The options list can contain one or more of the following options:
gendefault is enabled, when a BGP or EGP
neighbor is up it causes the creation of a default route with the
special protocol default. This can be disabled per
BGP/EGP group with the nogendefault option. By default,
this route has a preference of 20. This route is normally not
installed in the kernel forwarding table, it is only present so it can
be announced to other protocols. If a gateway is specified, the
default route will be installed in the kernel forwarding table with a
next hop of the listed gateway.
Note that the use of the more general generate default option is prefered to the use of
this gendefault option. The gendefault
option may go away in future releases. The the section on Route Aggregation for more information on the
generate statement.
setlogmask(3) man page. The default is equivalent
to syslog upto info.