HP-UX Reference (11i v3 07/02) - 4 File Formats (vol 8)

g
gated.conf(4) gated.conf(4)
only possible on systems with support for reject routes.
A slight variation of aggregation is the generation of a route based on the existence of certain conditions.
This is sometimes known as the route of last resort. This route inherits the next hops and aspath from the
contributor specified with the lowest (most favorable) preference. The most common usage for this is to gen-
erate a default based on the presence of a route from a peer on a neighboring backbone.
Aggregation and Generation syntax
aggregate default
|(network [(mask mask )|(masklen number )])
[ preference preference ][brief ] {
proto [ all | direct | static | kernel | aggregate | proto ]
[(as autonomous system )|(tag tag )
|(aspath aspath_regexp )]
restrict ;
proto [ all | direct | static | kernel | aggregate | proto ]
[(as autonomous system )|(tag tag )
|(aspath aspath_regexp )]
[ preference preference ] {
route_filter [ restrict |(preference preference )];
};
};
generate default
|(network [(mask mask )|(masklen number )])
[ preference preference ] {
[(as autonomous system )|(tag tag )
|(aspath aspath_regexp )]
restrict ;
proto [ all | direct | static | kernel | aggregate | proto ]
[(as autonomous system )|(tag tag )
|(aspath aspath_regexp )]
[ preference preference ] {
route_filter [ restrict |(preference preference )];
};
};
Routes that match the route filters are called contributing routes. They are ordered according to the aggre-
gation preference that applies to them. If there are more than one contributing routes with the same aggre-
gating preference, the preferences of the route are used to order the routes. The preference of the aggre-
gate route will be that of the contributing route with the lowest aggregate preference.
preference preference
Specifies the preference to assign to the resulting aggregate route. The default preference is 130.
brief
Used to specify that the AS path should be truncated to the longest common AS path. The
default is to build an AS path consisting of SETs and SEQUENCEs of all contributing AS paths.
proto proto
In addition to the special protocols listed, the contributing protocol may be chosen from among
any of the ones supported (and currently configured into) GateD.
as autonomous_system
Restrict selection of routes to those learned from the specified autonomous system.
tag tag
Restrict selection of routes to those with the specified tag.
aspath aspath_regexp
Restrict selection of routes to those that match the specified AS path.
restrict
Indicates that these routes are not to be considered as contributors of the specified aggregate.
The specified protocol may be any of the protocols supported by GateD.
176 Hewlett-Packard Company 49 HP-UX 11i Version 3: February 2007