summaryrefslogtreecommitdiff
path: root/docs/routing
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-12-19 17:34:49 +0100
committerChristian Poessinger <christian@poessinger.com>2019-12-19 17:34:49 +0100
commit538e296e1f0ff2997e1e558114481490c2e6ff29 (patch)
treec5db80cceff929b1134c5ded718e22834438a7b5 /docs/routing
parent5ec9ab00bc619afd5e1b1ecca74e8911dc8a35f8 (diff)
downloadvyos-documentation-538e296e1f0ff2997e1e558114481490c2e6ff29.tar.gz
vyos-documentation-538e296e1f0ff2997e1e558114481490c2e6ff29.zip
bgp: add chapter on route selection
Diffstat (limited to 'docs/routing')
-rw-r--r--docs/routing/bgp.rst30
1 files changed, 24 insertions, 6 deletions
diff --git a/docs/routing/bgp.rst b/docs/routing/bgp.rst
index 9308c62d..d8860e15 100644
--- a/docs/routing/bgp.rst
+++ b/docs/routing/bgp.rst
@@ -161,16 +161,34 @@ ASN and Router ID
.. cfgcmd:: set protocols bgp '<ASN>'
-First of all you must configure BGP router with the :abbr:`ASN (Autonomous
-System Number)`. The AS number is an identifier for the autonomous system. The
-BGP protocol uses the AS number for detecting whether the BGP connection is
-internal or external.
+ First of all you must configure BGP router with the :abbr:`ASN (Autonomous
+ System Number)`. The AS number is an identifier for the autonomous system.
+ The BGP protocol uses the AS number for detecting whether the BGP connection
+ is internal or external.
.. cfgcmd:: set protocols bgp '<ASN>' parameters router-id
-This command specifies the router-ID. If router ID is not specified it will use
-the highest interface IP address.
+ This command specifies the router-ID. If router ID is not specified it will
+ use the highest interface IP address.
+Route Selection
+---------------
+
+.. cfgcmd:: set protocols bgp '<ASN>' parameters bestpath as-path confed
+
+ This command specifies that the length of confederation path sets and
+ sequences should should be taken into account during the BGP best path
+ decision process.
+
+.. cfgcmd:: set protocols bgp '<ASN>' parameters bestpath as-path multipath-relax
+
+ This command specifies that BGP decision process should consider paths
+ of equal AS_PATH length candidates for multipath computation. Without
+ the knob, the entire AS_PATH must match for multipath computation.
+
+.. cfgcmd:: set protocols bgp '<ASN>' parameters bestpath as-path ignore
+
+ Ignore AS_PATH length when selecting a route
IPv4
^^^^