summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-03-16 18:08:43 +0900
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2016-03-17 10:47:11 +0900
commita5cc2b139733f35aa9733b081e0c12e1bb3505d4 (patch)
tree11bdb7cb88f1f655bb19998aa71e929c331ae3e8 /docs
parent74b6b11a029a585a6e22b8a4eb59c4d87504fa5e (diff)
cli: enhance global command
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'docs')
-rw-r--r--docs/sources/cli-command-syntax.md13
1 files changed, 12 insertions, 1 deletions
diff --git a/docs/sources/cli-command-syntax.md b/docs/sources/cli-command-syntax.md
index 5376d7fa..bd34e486 100644
--- a/docs/sources/cli-command-syntax.md
+++ b/docs/sources/cli-command-syntax.md
@@ -17,7 +17,18 @@ gobgp has six subcommands.
## 1. <a name="global"> global subcommand
-### 1.1. Operations for Global-Rib - add/del/show -
+### 1.1 Global Configuration
+#### syntax
+```shell
+# configure global setting and start acting as bgp daemon
+% gobgp global as <VALUE> router-id <VALUE> [listen-port <VALUE>] [listen-addresses <VALUE>...] [mpls-label-min <VALUE>] [mpls-label-max <VALUE>] [collector]
+# delete global setting and stop acting as bgp daemon (all peer sessions will be closed)
+% gobgp global del all
+# show global setting
+% gobgp global
+```
+
+### 1.2. Operations for Global-Rib - add/del/show -
#### - syntax
```shell
# add Route