summaryrefslogtreecommitdiffhomepage
path: root/docs/sources/mrt.md
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-01-08 14:09:27 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-01-09 05:17:57 -0800
commitda01fa48af05820d8b8731379cf647be049be503 (patch)
tree5c804613de7f1602bf2a3eba4cf876abf7a1ecdc /docs/sources/mrt.md
parent6ee7c63eb36412903476b6b14e6ec83b6fe5f1ba (diff)
docs: update
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'docs/sources/mrt.md')
-rw-r--r--docs/sources/mrt.md40
1 files changed, 17 insertions, 23 deletions
diff --git a/docs/sources/mrt.md b/docs/sources/mrt.md
index 5818a8cc..b4ea5fdd 100644
--- a/docs/sources/mrt.md
+++ b/docs/sources/mrt.md
@@ -17,15 +17,13 @@ You don't need any special configuration for MRT feature.
This page assume the configuration below.
```toml
-[Global]
- [Global.GlobalConfig]
- As = 64512
- RouterId = "192.168.255.1"
-[Neighbors]
- [[Neighbors.NeighborList]]
- [Neighbors.NeighborList.NeighborConfig]
- NeighborAddress = "10.0.0.1"
- PeerAs = 65001
+[global.config]
+ as = 64512
+ router-id = "192.168.255.1"
+[[neighbors]]
+ [neighbors.config]
+ neighbor-address = "10.0.0.1"
+ peer-as = 65001
```
## <a name="section1">Dump MRT Table v2 Records
@@ -90,20 +88,16 @@ rpc error: code = 2 desc = "no local rib for 10.0.0.1"
Oops! Before trying this feature, you must enable route server feature.
Configuration is something like below.
-```
-$ cat gobgpd.conf
-[Global]
- [Global.Config]
- As = 64512
- RouterId = "192.168.255.1"
-[Neighbors]
- [[Neighbors.NeighborList]]
- [Neighbors.NeighborList.Config]
- NeighborAddress = "10.0.0.1"
- PeerAs = 65001
- [Neighbors.NeighborList.RouteServer]
- [Neighbors.NeighborList.RouteServer.Config]
- RouteServerClient = true
+```toml
+[global.config]
+ as = 64512
+ router-id = "192.168.255.1"
+[[neighbors]]
+ [neighbors.config]
+ neighbor-address = "10.0.0.1"
+ peer-as = 65001
+ [neighbors.route-server.config]
+ route-server-client = true
```
OK, let's try again.