HP-UX Reference (11i v3 07/02) - 4 File Formats (vol 8)
r
ramd.conf(4) ramd.conf(4)
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.
override|inherit
Specifies that the MED value must override or inherit. By default, the MED value is
inherit.
bgpd uses the following configuration statement to configure MED comparison.
always-compare-med
(on|off);
where:
off Compares MED between the routes received from the same autonomous system (AS). This is the
default.
on Compares MED between the routes received from the same or different AS.
Tracing for BGP
You can use the BGP section in the configuration file to set BGP tracing at protocol or event level. By
default, no tracing is done:
traceoptions trace-options;
where trace-options specifies the events to be traced. The options are comma separated without any space
between them. The valid trace options are:
no Disables tracing.
all Enables all the trace options.
route Specifies to trace route addition and deletion in the bgpd routing table.
policy Specifies to trace application of protocol and user-specified policy to routes imported,
exported and advertised.
timer Traces timer events.
function Traces at function level. When enabled, traces every function, with entry, exit and
important values used in the function.
normal Traces normal (packet, timer events) protocol occurrences. Specifies to trace
normal
and route events.
detail Traces all BGP packets in detail.
send Traces only outgoing BGP packets.
recv Traces only incoming BGP packets.
open Traces BGP OPEN packets.
keepalive Traces BGP KEEPALIVE packets.
update Traces BGP UPDATE packets.
notification Traces BGP NOTIFICATION packets.
packets Traces all BGP protocol packets.
nostamp Specifies that trace messages must not have time stamp information.
state Traces BGP state machine transitions.
By default, no tracing is done.
Peer Configuration for BGP
You can configure the peers of the system other than the peer group.
354 Hewlett-Packard Company − 16 − HP-UX 11i Version 3: February 2007