From b47374f0e95d99c93bfe2d14afe55219a9fda455 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Thu, 21 Jan 2021 11:17:17 -0500 Subject: [PATCH] doc: Update bgp doc for more rfc-8212 talk The RFC 8212 changes keep being questioned. Update the documentation a bit more to help the end user figure it out themselves? At the very least I can just now quote the doc link for this section when someone asks the question. Signed-off-by: Donald Sharp --- doc/user/bgp.rst | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index ff83eb0a4c..1bd4d04333 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -415,10 +415,12 @@ Require policy on EBGP .. clicmd:: [no] bgp ebgp-requires-policy This command requires incoming and outgoing filters to be applied - for eBGP sessions. Without the incoming filter, no routes will be - accepted. Without the outgoing filter, no routes will be announced. + for eBGP sessions as part of RFC-8212 compliance. Without the incoming + filter, no routes will be accepted. Without the outgoing filter, no + routes will be announced. - This is enabled by default. + This is enabled by default for the traditional configuration and + turned off by default for datacenter configuration. When the incoming or outgoing filter is missing you will see "(Policy)" sign under ``show bgp summary``: @@ -437,6 +439,22 @@ Require policy on EBGP 192.168.0.2 4 65002 8 10 0 0 0 00:03:09 5 (Policy) fe80:1::2222 4 65002 9 11 0 0 0 00:03:09 (Policy) (Policy) + Additionally a `show bgp neighbor` command would indicate in the `For address family:` + block that: + + .. code-block:: frr + + exit1# show bgp neighbor + ... + For address family: IPv4 Unicast + Update group 1, subgroup 1 + Packet Queue length 0 + Inbound soft reconfiguration allowed + Community attribute sent to this neighbor(all) + Inbound updates discarded due to missing policy + Outbound updates discarded due to missing policy + 0 accepted prefixes + Reject routes with AS_SET or AS_CONFED_SET types ------------------------------------------------ -- 2.39.5