summaryrefslogtreecommitdiffstats
path: root/doc/user/bgp.rst
diff options
context:
space:
mode:
authorChirag Shah <chirag@nvidia.com>2021-03-18 06:04:33 +0100
committerChirag Shah <chirag@nvidia.com>2021-03-18 06:06:53 +0100
commite6e62ee52d28b01a2a1c04c75c69e4f128bfb2a6 (patch)
treecaddcf5fbb5d49f0a1c679bf4d48db1369a5932c /doc/user/bgp.rst
parentbgpd: add seqno in bgp as-path access-list policy (diff)
downloadfrr-e6e62ee52d28b01a2a1c04c75c69e4f128bfb2a6.tar.xz
frr-e6e62ee52d28b01a2a1c04c75c69e4f128bfb2a6.zip
doc: add seqno to bgp as path list section
Add sequence no option to bgp as-path list cli syntax. Add sequence no to example config. Add auto generated sequence no in running-config if its not provided in config. Signed-off-by: Chirag Shah <chirag@nvidia.com>
Diffstat (limited to '')
-rw-r--r--doc/user/bgp.rst7
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/user/bgp.rst b/doc/user/bgp.rst
index a12159597..3f8dafa09 100644
--- a/doc/user/bgp.rst
+++ b/doc/user/bgp.rst
@@ -1783,7 +1783,7 @@ AS Path Access Lists
AS path access list is user defined AS path.
-.. clicmd:: bgp as-path access-list WORD permit|deny LINE
+.. clicmd:: bgp as-path access-list WORD [seq (0-4294967295)] permit|deny LINE
This command defines a new AS path access list.
@@ -1799,6 +1799,7 @@ Bogon ASN filter policy configuration example
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 as-path access-list 99 seq 20 permit ^65
.. _bgp-using-as-path-in-route-map:
@@ -3597,8 +3598,8 @@ certainly contains silly mistakes, if not serious flaws.
ip prefix-list pl-peer2-network permit 192.168.2.0/24
ip prefix-list pl-peer2-network permit 172.16.1/24
!
- bgp as-path access-list asp-own-as permit ^$
- bgp as-path access-list asp-own-as permit _64512_
+ bgp as-path access-list seq 5 asp-own-as permit ^$
+ bgp as-path access-list seq 10 asp-own-as permit _64512_
!
! #################################################################
! Match communities we provide actions for, on routes receives from