From 9a06c157925faf4030ac747c75163e45e4e1adc5 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Sat, 5 Dec 2020 15:41:53 -0500 Subject: [PATCH] doc: Update sharpd and bgpd documentation Update these two daemons to include the new ability for both bgp and sharpd to send extra informational data to zebra. Signed-off-by: Donald Sharp --- doc/user/bgp.rst | 9 +++++++++ doc/user/sharp.rst | 5 +++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index 73c286631a..288b955c27 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -3470,6 +3470,15 @@ starting the daemon and the configuration gets saved, the option will persist unless removed from the configuration with the negating command prior to the configuration write operation. +.. index:: [no] bgp send-extra-data zebra +.. clicmd:: [no] bgp send-extra-data zebra + + This Command turns off the ability of BGP to send extra data to zebra. +In this case it's the AS-Path being used for the path. The default behavior +in BGP is to send this data and to turn it off enter the no form of the command. +If extra data was sent to zebra, and this command is turned on there is no +effort to clean up this data in the rib. + .. _bgp-suppress-fib: Suppressing routes not installed in FIB diff --git a/doc/user/sharp.rst b/doc/user/sharp.rst index 57ef141c7e..90eae4d65a 100644 --- a/doc/user/sharp.rst +++ b/doc/user/sharp.rst @@ -33,7 +33,7 @@ All sharp commands are under the enable node and preceded by the ``sharp`` keyword. At present, no sharp commands will be preserved in the config. .. index:: sharp install -.. clicmd:: sharp install routes A.B.C.D |nexthop-group NAME> (1-1000000) [instance (0-255)] [repeat (2-1000)] +.. clicmd:: sharp install routes A.B.C.D |nexthop-group NAME> (1-1000000) [instance (0-255)] [repeat (2-1000)] [opaque WORD] Install up to 1,000,000 (one million) /32 routes starting at ``A.B.C.D`` with specified nexthop ``E.F.G.H`` or ``X:X::X:X``. The nexthop is @@ -46,7 +46,8 @@ keyword. At present, no sharp commands will be preserved in the config. receives success notifications for all routes this is logged as well. Instance (0-255) if specified causes the routes to be installed in a different instance. If repeat is used then we will install/uninstall the routes the - number of times specified. + number of times specified. If the keyword opaque is specified then the + next word is sent down to zebra as part of the route installation. .. index:: sharp remove .. clicmd:: sharp remove routes A.B.C.D (1-1000000) -- 2.39.5