summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--docs/sources/getting-started.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/docs/sources/getting-started.md b/docs/sources/getting-started.md
index 5a64d440..b2c4be37 100644
--- a/docs/sources/getting-started.md
+++ b/docs/sources/getting-started.md
@@ -64,6 +64,22 @@ $ sudo -E gobgpd -f gobgpd.conf
If you use a configuration format other than `toml`, you must specify the format
by `-t` option.
+equivalent yaml configuration.
+
+```yaml
+global:
+ config:
+ as: 64512
+ router-id: 192.168.255.1
+neighbors:
+ - config:
+ neighbor-address: 10.0.255.1
+ peer-as: 65001
+ - config:
+ neighbor-address: 10.0.255.2
+ peer-as: 65002
+```
+
```bash
$ sudo -E gobgpd -t yaml gobgpd.yml
{"level":"info","msg":"Peer 10.0.255.1 is added","time":"2015-04-06T20:32:28+09:00"}