From 48753f731890091399152e14a0cb28e9333d3efc Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Wed, 18 Aug 2021 14:06:02 +0300 Subject: [PATCH] doc: Add `set extcommunity none` in BGP documentation Signed-off-by: Donatas Abraitis --- doc/user/bgp.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index bc4827129a..72b81adc71 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -2423,6 +2423,12 @@ BGP Extended Communities in Route Map .. clicmd:: match extcommunity WORD +.. clicmd:: set extcommunity none + + This command resets the extended community value in BGP updates. If the attribute is + already configured or received from the peer, the attribute is discarded and set to + none. This is useful if you need to strip incoming extended communities. + .. clicmd:: set extcommunity rt EXTCOMMUNITY This command set Route Target value.