From 7ff862f3eefceb3a58ca8be09ead21336d5cb504 Mon Sep 17 00:00:00 2001 From: ISHIDA Wataru Date: Fri, 4 Dec 2015 10:54:00 +0900 Subject: 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 --- docs/sources/cli-command-syntax.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/sources') 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
] # show a specific route information -% gobgp global rib [|] [-a
] +% gobgp global rib [|] [longer-prefix] [-a
] ``` #### - 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 [local|adj-in|adj-out] [-a
] # show a specific route in [local|adj-in|adj-out] table -% gobgp neighbor [local|adj-in|adj-out] [|] [-a
] +% gobgp neighbor [local|adj-in|adj-out] [|] [longer-prefix] [-a
] ``` #### - example -- cgit v1.2.3