From: Donatas Abraitis Date: Thu, 30 Apr 2020 14:35:49 +0000 (+0300) Subject: doc: Add an example how to filter BGP bogon ASNs X-Git-Tag: base_7.4~16^2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=125cec1a8fb88e40a1bbcfc1c493bad0d35b57bc;p=matthieu%2Ffrr.git doc: Add an example how to filter BGP bogon ASNs Signed-off-by: Donatas Abraitis --- diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst index 8020aeeae3..2b3cc9e535 100644 --- a/doc/user/bgp.rst +++ b/doc/user/bgp.rst @@ -1489,6 +1489,17 @@ AS path access list is user defined AS path. .. index:: no bgp as-path access-list WORD permit|deny LINE .. clicmd:: no bgp as-path access-list WORD permit|deny LINE +.. _bgp-bogon-filter-example: + +Bogon ASN filter policy configuration example +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +.. code-block:: frr + + bgp as-path access-list 99 permit _0_ + bgp as-path access-list 99 permit _23456_ + bgp as-path access-list 99 permit _1310[0-6][0-9]_|_13107[0-1]_ + .. _bgp-using-as-path-in-route-map: Using AS Path in Route Map