HP-UX Reference (11i v3 07/02) - 4 File Formats (vol 8)
g
gated.conf(4) gated.conf(4)
AS path terms
An AS path term is one of the following three objects:
autonomous_system
.
( aspath_regexp )
where
autonomous_system Any valid autonomous system number, from one through 65534 inclusive.
. Matches any autonomous system number.
( aspath_regexp ) Parentheses group subexpressions--an operator, such as * or ? works on a
single element or on a regular expression enclosed in parentheses
AS path operators
An AS path operator is one of the following:
aspath_term {m,n}
aspath_term {m}
aspath_term {m,}
aspath_term *
aspath_term +
aspath_term ?
aspath_term | aspath_term
aspath_term {m,n}
a regular expression followed by {m,n} (where m and n are both nonnegative integers and m <= n)
means at least m and at most n repetitions.
aspath_term {m}
a regular expression followed by {m} (where m is a positive integer) means exactly m repetitions.
aspath_term {m,}
a regular expression followed by {m,} (where m is a positive integer) means m or more repetitions.
aspath_term *
an AS path term followed by * means zero or more repetitions. This is shorthand for {0,}.
aspath_term +
a regular expression followed by + means one or more repetitions. This is shorthand for {1,}.
aspath_term ?
a regular expression followed by ? means zero or one repetition. This is shorthand for {0,1}.
aspath_term | aspath_term
matches the AS term on the left, or the AS term on the right.
The Import Statement
Importation of routes from routing protocols and installation of the routes in the GateD routing database is
controlled by import statements. The format of an import statement varies depending on the source pro-
tocol.
Specifying preferences
In all cases, one of two keywords may be specified to control how routes compete with other protocols:
restrict
preference preference
restrict
Specifies that the routes are not desired in the routing table. In some cases this means that the
routes are not installed in the routing table. In others it means that they are installed with a
negative preference; this prevents them from becoming active so they will not be installed in the
forwarding table, or exported to other protocols.
preference preference
Specifies the preference value used when comparing this route to other routes from other proto-
cols. The route with the lowest preference available at any given route becomes the active route,
is installed in the forwarding table, and is eligible to be exported to other protocols. The default
preferences are configured by the individual protocols.
170 Hewlett-Packard Company − 43 − HP-UX 11i Version 3: February 2007