summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-07-26 15:15:45 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-10-03 23:04:20 +0900
commite1d2dd025de89dd0c5db88322f990d60e09cc91f (patch)
tree4bf6c2843d52fc03d35faaffed271e0057b7d7c1
parentcb2d10ed31aae476fc1c20dd94a8678793becdb3 (diff)
docs/sources/mrt: Reduce unrelated config examples
This patch reduces the unrelated or unimportant configuration examples for the readability. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
-rw-r--r--docs/sources/mrt.md47
1 files changed, 2 insertions, 45 deletions
diff --git a/docs/sources/mrt.md b/docs/sources/mrt.md
index c9afd498..682eef97 100644
--- a/docs/sources/mrt.md
+++ b/docs/sources/mrt.md
@@ -27,25 +27,10 @@ With the following configuration, gobgpd continuously dumps BGP update
messages to `/tmp/updates.dump` file in the BGP4MP format.
```toml
-[global.config]
-as = 64512
-router-id = "10.0.255.254"
-
-[[neighbors]]
- [neighbors.config]
- peer-as = 65001
- neighbor-address = "10.0.255.1"
-
[[mrt-dump]]
[mrt-dump.config]
dump-type = "updates"
file-name = "/tmp/updates.dump"
-
-[[mrt-dump]]
- [mrt-dump.config]
- dump-type = "table"
- file-name = "/tmp/table.dump"
- dump-interval = 60
```
Also gobgpd supports log rotation; a new dump file is created
@@ -56,15 +41,6 @@ specified in golang's
[time](https://golang.org/pkg/time/#pkg-constants) package's format.
```toml
-[global.config]
-as = 64512
-router-id = "10.0.255.254"
-
-[[neighbors]]
- [neighbors.config]
- peer-as = 65001
- neighbor-address = "10.0.255.1"
-
[[mrt-dump]]
[mrt-dump.config]
dump-type = "updates"
@@ -82,15 +58,6 @@ every 60 seconds.
```toml
-[global.config]
-as = 64512
-router-id = "10.0.255.254"
-
-[[neighbors]]
- [neighbors.config]
- peer-as = 65001
- neighbor-address = "10.0.255.1"
-
[[mrt-dump]]
[mrt-dump.config]
dump-type = "table"
@@ -103,27 +70,17 @@ peer's RIB.
```toml
-[global.config]
- as = 64512
- router-id = "192.168.255.1"
-
[[neighbors]]
[neighbors.config]
neighbor-address = "10.0.255.1"
- peer-as = 65001
- auth-password = "hoge1"
- [neighbors.transport.config]
- passive-mode = true
+ # ...(snip)...
[neighbors.route-server.config]
route-server-client = true
[[neighbors]]
[neighbors.config]
neighbor-address = "10.0.255.2"
- peer-as = 65002
- auth-password = "hoge2"
- [neighbors.transport.config]
- passive-mode = true
+ # ...(snip)...
[neighbors.route-server.config]
route-server-client = true