# @(#)67 1.2 src/tcpip/usr/samples/tcpip/gated.conf, tcprouting, tcpip720 8/25/98 17:16:16 # IBM_PROLOG_BEGIN_TAG # This is an automatically generated prolog. # # tcpip720 src/tcpip/usr/samples/tcpip/gated.conf 1.2 # # Licensed Materials - Property of IBM # # COPYRIGHT International Business Machines Corp. 1998 # All Rights Reserved # # US Government Users Restricted Rights - Use, duplication or # disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # # IBM_PROLOG_END_TAG ############################################################################## # # There are several configuration commands for gated. They are summarized # in this file by statement type. It should be noted that lines that begin # with, #, are considered to be comments. # ############################################################################## # # 1) Directive Statements: # Provide direction to the gated parser about included files and the # directories in which these files reside. Other statements terminate with # a semi-colon (;), but directive statements terminate with a newline. # The two directive statements are: # %directory "directory" # Defines the directory where the include files are stored. When it is # used, gated looks in the directory identified by pathname for any # included files that do not have a fully qualified filename i.e. do not # begin with "/". This statement does not actually change the current the # directory, it just specifies the prefix applied to included file names. #------------------------------------------------------------------------------ # %include "filename" # Identifies an include file. The contents of the file is included in # the gated.conf file at the point in the gated.conf file where the # %include directive is encountered. If the filename is not fully # qualified, i.e. does not begin with "/", it is considered to be relative # to the directory defined in the %directory directive. The %include # directive statement causes the specified file to be parsed completely # before resuming with this file. Nesting up to ten levels is supported. # ############################################################################## # # 2) Trace Statements # Control tracing options. Gated's tracing options may be configured at # many levels. Tracing options include the file specifications, control # options, and global and protocol specific tracing options. Unless # overridden, tracing options from the next higher level are inherited by # lower levels. # # The two ways for specifying trace options are: # # 1) traceoptions ["trace_file" [replace] [size size[k|m] files files]] # [control_options] trace_options [except trace_options] ; # # 2) traceoptions none ; # # trace_file # Specifies the file to receive tracing information. If this file name # # does not begin with a slash (/) the directory where gated was started # in prepended to the name. # # replace # Tracing should start by replacing an existing file. The default is to # append to an existing file. # # size size[k|m] files files # Limit the maximum size of the trace file to the specified size # (mimimum 10k). When the trace file reaches the specified size, it is # renamed to file.0, then file.1, file.2 up to the maximum # number of files (minimum specification is 2). # # control_options # Specifies options that control the appearance of tracing. Valid values # are: # nostamp # Specifies that a timestamp should not be prepended to all # trace lines. # # except trace_options # Used to enable a broad class of tracing and then disable more # specific options. # # none # Specifies that all tracing should be turned off for this protocol or # peer. # # trace_options # global options, which affect global operations, are: # parse - trace the parser. # adv - trace the allocation of and freeing of policy blocks # symbols - trace symbols read from the kernel at startup. Must be # be used via the -t command line option. # iflist - trace the reading of the kernel interface list. Useful # if specified with the -t command line option. # protocol options, which have potential significance to protocols, are: # all - Turn on all of the following. # general - shorthand notation for specifying both normal and route. # state - Trace state machine transitions in the protocols. # normal - Trace normal protocol occurrences. Abnormal protocol # occurrences are always traced. # policy - Trace application of protocol and user-specified policy # to routes being imported and exported. # task - Trace system interface and processing associated with this # protocol or peer. # timer - Trace timer usage by this protocol or peer. # route - Trace routing table changes for routes installed by this # protocol or peer. # # Not all of the above options apply to all of the protocols. # # Packet tracing # # Tracing of packets is very flexible. For any given protocol there are # one or more options for tracing packets. All protocols allow the use of # the packets keyword, which allows for tracing all packets sent and # received by the protocol. Most protocols have other options for limiting # tracing to a useful subset of packet types. These tracing options can be # further controlled with the following modifiers: # detail # detail must be specified before send or recv. Normally packets # are traced in a terse form of one or two lines. When detail is # specified, a more verbose format is used to provide further detail on # the contents of the packet. # send # recv # These options limit the tracing to packets sent or received. Without # these options both sent and received packets will be traced. # ############################################################################## # 3) Definition Statements # General configuration statements that relate to all of gated or at least # to more than one protocol. # The types of Definition Statement Commands are: # 1) Options Command # 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 ] [ gateway ] ] # [ syslog [ upto ] ] # [ mark