CONFIG.ANNEX(5)

NAME
config.annex - Annex configuration file

DESCRIPTION
The default configuration file is config.annex. It resides on the preferred boot host. This file contains all Annex configuration information which previously existed in the gateways, rotaries or macros files.

There are two keywords use in the config.annex file: include and category. While the former is the way to incorporate a separate file into the config.annex file, the latter is the way to organize the entries. The following details these keywords:

INCLUDE STATEMENT
syntax: %include <filename>

The syntax of the include statement is % sign at the first column followed by include keyword, one or more spaces and then the filename. The filename can be any UNIX legal filename.

The only restriction in the file is that all the statements in the file should belong to the same category.

CATEGORY STATEMENT

syntax: %keyword

The category statement begins with the % sign at the first column followed by the keyword. The keyword is one of the following: gateway, macro, rotary, modem, or service.

The keyword statement needs to be specified first before defining each category entry. Failing to do so will result in a format error.

All the statements under the %keyword should belong to the same category including any statements in an included file.

EXAMPLE

The following is an example of a config.annex file which contains the include and category statements described above. The pound sign (#) in the first column in a line represents a comment.
#
# The following are definitions of the gateways entries
#
%gateway
net 129.91.0.0 gateway 132.245.1.1 metric 1 hardwired
annex 192.9.200.228
	net 129.123.0.0 gateway 132.245.2.1 metric 1 hardwired
end
#
# Configure SNMP
#
snmp community public
snmp traphost 192.9.200.95
#
# Macro Definition
#
%macro
alias |Show users on the Annex|
	keyin "3" 1-6,10-16,v@192.9.200.245
{
<who
<pause
}
menu "ANNEX MENU"
	keyin "menu1" 1-6,10-16,v@192.9.200.245
	init_cli 1-6,10-16,v@192.9.200.245
	cmd_list bg,fg,hosts,jobs,rlogin,3
{
MY MENU SCREEN
Commands: bg,fg,hosts,jobs,rlogin,3
Enter Command:
}
#
# Rotary Definitions
#
%rotary
titanic_co:	2@192.9.200.232

COMPATIBILITY ISSUES

Since each entry of the new configuration file is identical to those of the old files, the new file parser is able to maintain the backward compatibility.

SEE ALSO
erpcd(8), rotaries(5), gateways(5)
Annex Network Administrator's Guide.