diff options
author | IWASE Yusuke <iwase.yusuke0@gmail.com> | 2017-09-14 11:24:35 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2017-10-03 14:53:44 +0900 |
commit | 4fb8241feca24910bfe3455dab658eab98557e89 (patch) | |
tree | 8e9e301591fc408a7f60dff25404e7f15457d190 | |
parent | 36786073c1301b3ee63ff27ea7733613fd31626c (diff) |
docs: Descriptions for per AFI-SAFI add-paths configuration
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
-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" |