diff options
-rw-r--r-- | docs/sources/add-paths.md | 20 | ||||
-rw-r--r-- | docs/sources/configuration.md | 4 |
2 files changed, 24 insertions, 0 deletions
diff --git a/docs/sources/add-paths.md b/docs/sources/add-paths.md index 152ecef2..4b99cf96 100644 --- a/docs/sources/add-paths.md +++ b/docs/sources/add-paths.md @@ -34,6 +34,26 @@ receive multiple paths from this neighbor. receive = true ``` +Also, BGP Additional Paths features are configurable per AFI-SAFI and the per +AFI-SAFI configuration overrides the per neighbor configuration. +The following example enables BGP Additional Paths features for only IPv4 +unicast family. + +```toml +[[neighbors]] + [neighbors.config] + neighbor-address = "10.0.0.2" + [neighbors.add-paths.config] + receive = false + send-max = 0 + [[neighbors.afi-safis]] + [neighbors.afi-safis.config] + afi-safi-name = "ipv4-unicast" + [neighbors.afi-safis.add-paths.config] + receive = true + send-max = 8 +``` + ## <a name="section1"> Verification ### <a name="section1.1"> Example Topology and Configuration diff --git a/docs/sources/configuration.md b/docs/sources/configuration.md index 74aab7ce..e334a772 100644 --- a/docs/sources/configuration.md +++ b/docs/sources/configuration.md @@ -91,6 +91,10 @@ enabled = true # long lived graceful restart restart time restart-time = 100000 + [neighbors.afi-safis.add-paths.config] + # override neighbors.add-paths.config + receive = true + send-max = 8 [[neighbors.afi-safis]] [neighbors.afi-safis.config] afi-safi-name = "ipv6-unicast" |