summaryrefslogtreecommitdiffhomepage
path: root/docs/sources/getting-started.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/sources/getting-started.md')
-rw-r--r--docs/sources/getting-started.md22
1 files changed, 14 insertions, 8 deletions
diff --git a/docs/sources/getting-started.md b/docs/sources/getting-started.md
index 2d309bfc..700703fc 100644
--- a/docs/sources/getting-started.md
+++ b/docs/sources/getting-started.md
@@ -36,14 +36,20 @@ uses the following very simple configuration file, `gobgpd.conf`:
```
$ cat gobgpd.conf
[Global]
- As = 64512
- RouterId = "192.168.255.1"
-[[NeighborList]]
- NeighborAddress = "10.0.255.1"
- PeerAs = 65001
-[[NeighborList]]
- NeighborAddress = "10.0.255.2"
- PeerAs = 65002
+ [Global.GlobalConfig]
+ As = 64512
+ RouterId = "192.168.255.1"
+
+[Neighbors]
+ [[Neighbors.NeighborList]]
+ [Neighbors.NeighborList.NeighborConfig]
+ NeighborAddress = "10.0.255.1"
+ PeerAs = 65001
+
+ [[Neighbors.NeighborList]]
+ [Neighbors.NeighborList.NeighborConfig]
+ NeighborAddress = "10.0.255.2"
+ PeerAs = 65002
```
## Starting GoBGP