diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sources/bmp.md | 6 | ||||
-rw-r--r-- | docs/sources/configuration.md | 14 |
2 files changed, 11 insertions, 9 deletions
diff --git a/docs/sources/bmp.md b/docs/sources/bmp.md index bd9759c1..17c79fe4 100644 --- a/docs/sources/bmp.md +++ b/docs/sources/bmp.md @@ -12,15 +12,15 @@ Assume you finished [Getting Started](https://github.com/osrg/gobgp/blob/master/ ## <a name="config"> Configuration -Add `[bmp-servers]` section under `[global]` to enable BMP like below. +Add `[bmp-servers]` session to enable BMP like below. ```toml [global.config] as = 64512 router-id = "192.168.255.1" -[[global.bmp-servers]] - [global.bmp-servers.config] +[[bmp-servers]] + [bmp-servers.config] address = "127.0.0.1" port=11019 ``` diff --git a/docs/sources/configuration.md b/docs/sources/configuration.md index 894dacfe..24a10508 100644 --- a/docs/sources/configuration.md +++ b/docs/sources/configuration.md @@ -9,12 +9,6 @@ default-import-policy = "reject-route" export-policy-list = ["policy2"] default-export-policy = "accept-route" - [[global.bmp-servers]] - [global.bmp-servers.config] - address = "127.0.0.1" - port = 11019 - [global.mrt] - file-name = "/var/log/mrt.dump" [global.zebra] enabled = true url = "unix:/var/run/quagga/zserv.api" @@ -38,6 +32,14 @@ address = "210.173.170.254" port = 323 +[[bmp-servers]] + [bmp-servers.config] + address = "127.0.0.1" + port = 11019 + +[mrt] + file-name = "/var/log/mrt.dump" + [[neighbors]] [neighbors.config] peer-as = 2 |