0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-23 02:01:55 +00:00

BGP: Add documentaion for extended messages

This commit is contained in:
Pavel Tvrdík 2016-03-15 10:29:32 +01:00 committed by Pavel Tvrdik
parent b9bf5fad7c
commit 2fdba95fa7
2 changed files with 8 additions and 3 deletions

View File

@ -1901,6 +1901,11 @@ using the following configuration parameters:
in neighbor's implementation of 4B AS extension. Even when disabled in neighbor's implementation of 4B AS extension. Even when disabled
(off), BIRD behaves internally as AS4-aware BGP router. Default: on. (off), BIRD behaves internally as AS4-aware BGP router. Default: on.
<tag>enable extended messages <m/switch/</tag>
The BGP protocol uses maximum message length of 4096 bytes. This option
provides an extension to allow extended messages with length up
to 65535 bytes. Default: off.
<tag>capabilities <m/switch/</tag> <tag>capabilities <m/switch/</tag>
Use capability advertisement to advertise optional capabilities. This is Use capability advertisement to advertise optional capabilities. This is
standard behavior for newer BGP implementations, but there might be some standard behavior for newer BGP implementations, but there might be some
@ -2096,7 +2101,7 @@ protocol bgp {
multihop; # ... which is connected indirectly multihop; # ... which is connected indirectly
export filter { # We use non-trivial export rules export filter { # We use non-trivial export rules
if source = RTS_STATIC then { # Export only static routes if source = RTS_STATIC then { # Export only static routes
# Assign our community # Assign our community
bgp_community.add((65000,64501)); bgp_community.add((65000,64501));
# Artificially increase path length # Artificially increase path length
# by advertising local AS number twice # by advertising local AS number twice
@ -2305,7 +2310,7 @@ these attributes:
<tag>ip <cf/krt_prefsrc/</tag> (Linux) <tag>ip <cf/krt_prefsrc/</tag> (Linux)
The preferred source address. Used in source address selection for The preferred source address. Used in source address selection for
outgoing packets. Has to be one of the IP addresses of the router. outgoing packets. Has to be one of the IP addresses of the router.
<tag>int <cf/krt_realm/</tag> (Linux) <tag>int <cf/krt_realm/</tag> (Linux)
The realm of the route. Can be used for traffic classification. The realm of the route. Can be used for traffic classification.

View File

@ -113,7 +113,7 @@ idval:
$$ = ipa_to_u32(SYM_VAL($1).px.ip); $$ = ipa_to_u32(SYM_VAL($1).px.ip);
#endif #endif
else else
cf_error("Number of IPv4 address constant expected"); cf_error("Number or IPv4 address constant expected");
} }
; ;