summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2017-12-05 14:13:25 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2017-12-16 20:17:20 +0900
commit694d364d09ae9d272a7cacefc23b7fcefcf05617 (patch)
treebdbb35fe41d98891aac66f4155a6bb9208304025
parentc09259df3d0441e1dd1cce3123ed2f5644408b22 (diff)
docs: cli-command-syntax.md: Missing arg to show VRF RIB
This patch fixes the example on the doc for showing the VRF RIB where the "rib" keyword is missing to execute the command. Also, the "-a <adddress family>" is an option and this patch puts it into brackets. Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
-rw-r--r--docs/sources/cli-command-syntax.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/sources/cli-command-syntax.md b/docs/sources/cli-command-syntax.md
index 8ef944e5..feb4257f 100644
--- a/docs/sources/cli-command-syntax.md
+++ b/docs/sources/cli-command-syntax.md
@@ -428,11 +428,11 @@ If you want to remove one element(extended community) of ExtCommunitySet, to spe
#### Syntax
```shell
# add routes to vrf
-% gobgp vrf <vrf name> rib add <prefix> -a <address family>
+% gobgp vrf <vrf name> rib add <prefix> [-a <address family>]
# del routes from vrf
-% gobgp vrf <vrf name> rib del <prefix> -a <address family>
+% gobgp vrf <vrf name> rib del <prefix> [-a <address family>]
# show routes in vrf
-% gobgp vrf <vrf name>
+% gobgp vrf <vrf name> rib [-a <address family>]
```
#### Example