diff options
author | Wataru Ishida <ishida.wataru@lab.ntt.co.jp> | 2016-10-08 05:09:15 +0000 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2016-11-04 13:20:09 +0900 |
commit | 771d1f90afda5d789443108b65acaf1329b8573c (patch) | |
tree | 3eda8d7d37ca8ed553260fd25984c090cc826008 /docs | |
parent | 17f7cc4a44823a02153a158a0bfab9b4e396d9a9 (diff) |
docs: update cli doc
Signed-off-by: Wataru Ishida <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sources/cli-command-syntax.md | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/docs/sources/cli-command-syntax.md b/docs/sources/cli-command-syntax.md index 67ae21b4..cd5a4523 100644 --- a/docs/sources/cli-command-syntax.md +++ b/docs/sources/cli-command-syntax.md @@ -102,13 +102,16 @@ The following options can be specified in the global subcommand: ### 2.2. Operations for neighbor - shutdown/reset/softreset/enable/disable - #### - syntax ```shell -% gobgp neighbor <neighbor address> shutdown -% gobgp neighbor <neighbor address> reset +# add neighbor +% gobgp neighbor add { <neighbor address> | interface <ifname> } as <as number> [ vrf <vrf-name> | route-reflector-client [<cluster-id>] | route-server-client ] +# delete neighbor +% gobgp neighbor delete { <neighbor address> | interface <ifname> } % gobgp neighbor <neighbor address> softreset [-a <address family>] % gobgp neighbor <neighbor address> softresetin [-a <address family>] % gobgp neighbor <neighbor address> softresetout [-a <address family>] % gobgp neighbor <neighbor address> enable % gobgp neighbor <neighbor address> disable +% gobgp neighbor <neighbor address> reset ``` #### - option The following options can be specified in the neighbor subcommand: |