ramd.conf.4 (2010 09)

r
ramd.conf(4) ramd.conf(4)
value. localpref configuration statement overrides the
defaultlocalpref configuration state-
ment.
The syntax of the
localpref configuration statement is as follows:
localpref {
[as asnum]
[prefix prefixlength ]
[aspath aslist]
[dir (in|out)]
pref preference-value
[override|inherit];
};
where:
as asnum Specifies the local preference value for the routes from the remote autonomous sys-
tem (AS). Applicable only for the in direction.
prefix prefixlength Specifies the local preference value for the route prefix.
aspath aslist Specifies the local preference values for the AS path list.
dir (in|out) Specifies the local preference value for the incoming or outgoing routes. By default,
bgpd specifies the local preference value for the incoming routes.
pref preference-value
Specifies the value for local preference (LP).
override|inherit
Specifies that the local preference value must override or inherit the LP value in the
incoming updates. By default, this is inherit.
Multi Entry/Exit Discriminator (MED) for BGP
bgpd uses the defaultmetric
configuration to set the metric value:
defaultmetric metricvalue ;
where metricvalue specifies the default metric value.
For BGP external peers, the metric value can be used to specify the preferred path to enter or exit in the
same autonomous system (AS).
bgpd sends the specified metric value in its update messages. bgpd
uses the metric statement to set metric value based on AS, AS path, route prefix, or directions.
bgpd
uses Multi Entry or Exit Discriminator (MED) to convey the preferred path to an AS, where lower MED
value is preferred over higher MED value. By default, MED is disabled.
The syntax of the
metric configuration statement is as follows:
metric {
[as asnum]
[prefix prefixlength ]
[aspath aslist]
[dir (in| out)]
metricvalue metricvalue
[override|inherit];
};
where the following means:
as asnum Specifies the MED value to assign for routes from the peer in the specified auto-
nomous system (AS).
prefix prefixlength Specifies the MED value for the route prefix.
aspath aslist Specifies the MED value if the update message contains the specified list of AS
numbers.
dir (in|out) Specifies the MED value for the incoming or outgoing update messages. By default,
bgpd specifies the MED value for the incoming update messages.
metricvalue metricvalue
Specifies the metric value for the MED.
HP-UX 11i Version 3: September 2010 15 Hewlett-Packard Company 15