diff options
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-08-03 13:15:33 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-08-03 13:15:33 +0900 |
commit | 46c766e594cd18263a855f198bb6921cb365d9dc (patch) | |
tree | d78c694555d85fc4c40e8e35a417387890e9960c /docs/sources/route-server.md | |
parent | 0b4b806c06f0ee50bb1bc1b30c38399553687abd (diff) |
doc: update config file for route server
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'docs/sources/route-server.md')
-rw-r--r-- | docs/sources/route-server.md | 44 |
1 files changed, 26 insertions, 18 deletions
diff --git a/docs/sources/route-server.md b/docs/sources/route-server.md index d3f8ed31..db251aa8 100644 --- a/docs/sources/route-server.md +++ b/docs/sources/route-server.md @@ -18,24 +18,32 @@ the configuration file used in [Getting Started](https://github.com/osrg/gobgp/b ``` $ cat gobgpd.conf [Global] - As = 64512 - RouterId = "192.168.255.1" -[[NeighborList]] - NeighborAddress = "10.0.255.1" - PeerAs = 65001 - AuthPassword = "hoge1" - [NeighborList.RouteServer] - RouteServerClient = true - [NeighborList.TransportOptions] - PassiveMode = true -[[NeighborList]] - NeighborAddress = "10.0.255.2" - PeerAs = 65002 - AuthPassword = "hoge2" - [NeighborList.RouteServer] - RouteServerClient = true - [NeighborList.TransportOptions] - PassiveMode = true + [Global.GlobalConfig] + As = 64512 + RouterId = "192.168.255.1" + +[Neighbors] + [[Neighbors.NeighborList]] + [Neighbors.NeighborList.NeighborConfig] + NeighborAddress = "10.0.255.1" + PeerAs = 65001 + AuthPassword = "hoge1" + [Neighbors.NeighborList.Transport] + [Neighbors.NeighborList.Transport.TransportConfig] + PassiveMode = true + [Neighbors.NeighborList.RouteServer] + RouteServerClient = true + + [[Neighbors.NeighborList]] + [Neighbors.NeighborList.NeighborConfig] + NeighborAddress = "10.0.255.2" + PeerAs = 65002 + AuthPassword = "hoge2" + [Neighbors.NeighborList.Transport] + [Neighbors.NeighborList.Transport.TransportConfig] + PassiveMode = true + [Neighbors.NeighborList.RouteServer] + RouteServerClient = true ``` ## Starting GoBGP |