summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-12-04 10:54:00 +0900
committerISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>2015-12-04 11:01:07 +0900
commit7ff862f3eefceb3a58ca8be09ead21336d5cb504 (patch)
tree83f99e8d3af9e7ca170d0d5d934bfd0e4dd50315 /docs
parenta36c84c510bd7cde344e6cbabd043153e4a0196c (diff)
api/cli: support showing longer-prefix
$ gobgp global rib Network Next Hop AS_PATH Age Attrs *> 10.0.0.0/24 0.0.0.0 00:00:01 [{Origin: ?}] $ gobgp global rib 10.0.0.0/20 Network not in table $ gobgp global rib 10.0.0.0/20 longer-prefix Network Next Hop AS_PATH Age Attrs *> 10.0.0.0/24 0.0.0.0 00:00:01 [{Origin: ?}] Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'docs')
-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 90c3c5dd..01ddbf6a 100644
--- a/docs/sources/cli-command-syntax.md
+++ b/docs/sources/cli-command-syntax.md
@@ -27,7 +27,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>] [-a <address family>]
+% gobgp global rib [<prefix>|<host>] [longer-prefix] [-a <address family>]
```
#### - example
@@ -84,7 +84,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>] [-a <address family>]
+% gobgp neighbor <neighbor address> [local|adj-in|adj-out] [<prefix>|<host>] [longer-prefix] [-a <address family>]
```
#### - example