summaryrefslogtreecommitdiffhomepage
path: root/docs/sources/cli-command-syntax.md
diff options
context:
space:
mode:
authorHan Zhou <zhouhan@gmail.com>2015-11-10 11:48:49 -0800
committerHan Zhou <zhouhan@gmail.com>2015-11-10 11:48:49 -0800
commit16f7367a9ae0553e36f7debd995a67693f6980bd (patch)
tree48b5831872cae9ac43c536120deabade6cfc2d01 /docs/sources/cli-command-syntax.md
parent660b38e5aecfec22563b90f43e0ed7a99bb4cc0d (diff)
doc: correct the example of rib add command
Network prefix is required rather than just IP.
Diffstat (limited to 'docs/sources/cli-command-syntax.md')
-rw-r--r--docs/sources/cli-command-syntax.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/sources/cli-command-syntax.md b/docs/sources/cli-command-syntax.md
index c7573170..90c3c5dd 100644
--- a/docs/sources/cli-command-syntax.md
+++ b/docs/sources/cli-command-syntax.md
@@ -33,7 +33,7 @@ gobgp has six subcommands.
#### - example
If you want to add routes with the address of the ipv4 to global rib:
```shell
-% gobgp global rib add 10.33.0.0 -a ipv4
+% gobgp global rib add 10.33.0.0/16 -a ipv4
```
If you want to remove routes with the address of the ipv6 from global rib:
```shell