summaryrefslogtreecommitdiffhomepage
path: root/docs/sources/cli-command-syntax.md
diff options
context:
space:
mode:
authorBen Agricola <bagricola@squiz.co.uk>2016-07-11 21:41:01 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2016-07-11 21:41:01 +0900
commited62f3f3d91e378c53d4f6faea4fad4280c3079e (patch)
tree72bca446b4310618ae5a109f99f312c211bce49b /docs/sources/cli-command-syntax.md
parentdcdc6f7a05419d211590a6ac9fc60d41efea0dbe (diff)
Add shorter prefix search
Adds a shorter-prefixes search mode that finds any identical-or-less-specific routes than the input values. Bug-Url: #1006 Signed-off-by: Ben Agricola bagricola@squiz.co.uk
Diffstat (limited to 'docs/sources/cli-command-syntax.md')
-rw-r--r--docs/sources/cli-command-syntax.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/sources/cli-command-syntax.md b/docs/sources/cli-command-syntax.md
index 2ebfec23..c7e359a2 100644
--- a/docs/sources/cli-command-syntax.md
+++ b/docs/sources/cli-command-syntax.md
@@ -40,7 +40,7 @@ gobgp has six subcommands.
# show all Route information
% gobgp global rib [-a <address family>]
# show a specific route information
-% gobgp global rib [<prefix>|<host>] [longer-prefixes] [-a <address family>]
+% gobgp global rib [<prefix>|<host>] [longer-prefixes|shorter-prefixes] [-a <address family>]
```
#### - example
@@ -118,7 +118,7 @@ The following options can be specified in the global subcommand:
# show all routes in [local|adj-in|adj-out] table
% gobgp neighbor <neighbor address> [local|adj-in|adj-out] [-a <address family>]
# show a specific route in [local|adj-in|adj-out] table
-% gobgp neighbor <neighbor address> [local|adj-in|adj-out] [<prefix>|<host>] [longer-prefixes] [-a <address family>]
+% gobgp neighbor <neighbor address> [local|adj-in|adj-out] [<prefix>|<host>] [longer-prefixes|shorter-prefixes] [-a <address family>]
```
#### - example