HP-UX Reference (11i v1 05/09) - 4 File Formats (vol 8)

g
gated.conf(4) gated.conf(4)
reachability indications, not true metrics. EGP updates contain metrics, called distances which range from
0 to 255. GateD will only compare EGP distances learned from the same AS. them.
Before EGP sends routing information to a remote router, it must establish an adjacency with that router.
This is accomplished by an exchange of Hello (not to be confused with the HELLO protocol, or OSPF
HELLO messages) and I Heard You (I-H-U) messages with that router. Computers communicating via
EGP are called EGP neighbors, and the exchange of HELLO and I-H-U messages is referred to as acquiring
a neighbor. Once the neighbor is acquired, the system polls the neighbor for routing information. The
neighbor responds by sending an update containing routing information. If the system receives a poll from
its neighbor, it responds with its own update packet. When the system receives an update, it includes
routes from the update into its routing database. If the neighbor fails to respond to three consecutive polls,
GateD assumes that the neighbor is down and removes the routes of that neighbor from its database.
The EGP Statement
egp yes | no | on | off
[ {
preference preference ;
defaultmetric metric ;
packetsize number ;
traceoptions trace_options ;
group
[ peeras autonomous_system ]
[ localas autonomous_system ]
[ maxup number ]
{
neighbor host
[ metricout metric ]
[ preference preference ]
[ preference2 preference ]
[ ttl ttl ]
[ nogendefault ]
[ importdefault ]
[ exportdefault ]
[ gateway gateway ]
[ lcladdr local_address ]
[ sourcenet network ]
[ minhello | p1 time ]
[ minpoll | p2 time ]
[ traceoptions trace_options ]
;
};
} ] ;
preference preference
Sets the preference for routes learned from RIP. The default preference is 200. This preference
may be overridden by a preference specified on the group or neighbor statements or by
import policy.
defaultmetric metric ;
Defines the metric used when advertising routes via EGP. If not specified, the default value is
255 which some systems may consider unreachable. This choice of values requires you to expli-
citly specify a metric when exporting routes to EGP neighbors. This metric may be overridden by
a metric specified on the neighbor or group statements or in export policy.
packetsize maxpacketsize
This defines the expected maximum size of a packet that EGP expects to receive from this neigh-
bor. If a packet larger than this value is received, it will be incomplete and have to be discarded.
The length of this packet will be noted and the expected size will be increased to be able to
receive a packet of this size. Specifying the parameter here will prevent the first packet from
being dropped. If not specified, the default size is 8192 bytes. All packet sizes are rounded up to a
multiple of the system page size.
traceoptions trace_options
Specifies the tracing options for EGP. By default these are inherited from the global trace
options. These values may be overridden on a group or neighbor basis. (See Trace Statements
Section 492 Hewlett-Packard Company 23 HP-UX 11i Version 1: September 2005