HP-UX Reference (11i v1 00/12) - 4 File Formats (vol 8)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man4/!!!intro.4
________________________________________________________________
___ ___
g
gated.conf(4) gated.conf(4)
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 non-negative 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 availableat 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.
Route Filters
All the formats allow route filters as shown below. See the section on route filters for a detailed explanation
of how they work. When no route filtering is specified (when restrict is specified on the first line of a
statement), all routes from the specified source will match that statement. If any filters are specified, only
routes that match the specified filters will be imported. Put differently, if any filters are specified, an all
restrict ; is assumed at the end of the list.
network [ exact | refines ]
network mask mask [exact | refines ]
network masklen number [ exact | refines ]
default
host host
Section 4−−114 − 43 − HP-UX Release 11i: December 2000
___
___