From 2fdba95fa78088ea8e031f709ea7d4b08a44933f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pavel=20Tvrd=C3=ADk?= Date: Tue, 15 Mar 2016 10:29:32 +0100 Subject: [PATCH] BGP: Add documentaion for extended messages --- doc/bird.sgml | 9 +++++++-- nest/config.Y | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/bird.sgml b/doc/bird.sgml index 4ec738bc..6abe30af 100644 --- a/doc/bird.sgml +++ b/doc/bird.sgml @@ -1901,6 +1901,11 @@ using the following configuration parameters: in neighbor's implementation of 4B AS extension. Even when disabled (off), BIRD behaves internally as AS4-aware BGP router. Default: on. + enable extended messages + 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. + capabilities Use capability advertisement to advertise optional capabilities. This is standard behavior for newer BGP implementations, but there might be some @@ -2096,7 +2101,7 @@ protocol bgp { multihop; # ... which is connected indirectly export filter { # We use non-trivial export rules if source = RTS_STATIC then { # Export only static routes - # Assign our community + # Assign our community bgp_community.add((65000,64501)); # Artificially increase path length # by advertising local AS number twice @@ -2305,7 +2310,7 @@ these attributes: ip (Linux) 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. int (Linux) The realm of the route. Can be used for traffic classification. diff --git a/nest/config.Y b/nest/config.Y index 9e214247..435bc986 100644 --- a/nest/config.Y +++ b/nest/config.Y @@ -113,7 +113,7 @@ idval: $$ = ipa_to_u32(SYM_VAL($1).px.ip); #endif else - cf_error("Number of IPv4 address constant expected"); + cf_error("Number or IPv4 address constant expected"); } ;