diff options
author | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2016-10-16 07:35:02 +0000 |
---|---|---|
committer | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2016-10-16 14:07:06 +0000 |
commit | 1f4a3192af12c240e08941490ad8d9dfd7f1bb10 (patch) | |
tree | 8f61edea2e019d45b02d3356202f7839245ee234 /docs/sources | |
parent | 11969f468543e881d7a4c758bb8f7af5797793b5 (diff) |
cli/api: support getting table summary information
$ gobgp global rib summary -a ipv4
$ gobgp neighbor 10.0.0.1 local summary
$ gobgp neighbor 10.0.0.1 adj-in summary
$ gobgp neighbor 10.0.0.1 adj-out summary
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'docs/sources')
-rw-r--r-- | docs/sources/cli-command-syntax.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/sources/cli-command-syntax.md b/docs/sources/cli-command-syntax.md index be30307b..b33553f2 100644 --- a/docs/sources/cli-command-syntax.md +++ b/docs/sources/cli-command-syntax.md @@ -41,6 +41,8 @@ gobgp has six subcommands. % gobgp global rib [-a <address family>] # show a specific route information % gobgp global rib [<prefix>|<host>] [longer-prefixes|shorter-prefixes] [-a <address family>] +# show table summary +% gobgp global rib summary [-a <address family>] ``` #### - example @@ -122,6 +124,8 @@ The following options can be specified in the global subcommand: % 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|shorter-prefixes] [-a <address family>] +# show table summary +% gobgp neighbor <neighbor address> [local|adj-in|adj-out] summary [-a <address family>] ``` #### - example |