From 46c766e594cd18263a855f198bb6921cb365d9dc Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Mon, 3 Aug 2015 13:15:33 +0900 Subject: doc: update config file for route server Signed-off-by: FUJITA Tomonori --- docs/sources/route-server.md | 44 ++++++++++++++++++++++++++------------------ 1 file changed, 26 insertions(+), 18 deletions(-) (limited to 'docs/sources/route-server.md') 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 -- cgit v1.2.3