summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorVincent Bernat <vincent@bernat.im>2019-03-05 18:06:56 +0100
committerGitHub <noreply@github.com>2019-03-05 18:06:56 +0100
commitdc4d9c6d1b253bc3a381f82941796b6bb8c71384 (patch)
tree312d0fe09468e12a68196c75e087dac9b5ac1ea6 /docs
parentf4643d090f3546060157dff83231e4aa89e7f483 (diff)
doc: fix "del" command for removing a neighbor
`gobgp neighbor delete` doesn't work. We need to use `gobgp neighbor del`.
Diffstat (limited to 'docs')
-rw-r--r--docs/sources/cli-command-syntax.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/sources/cli-command-syntax.md b/docs/sources/cli-command-syntax.md
index 2bbfcb91..5369a029 100644
--- a/docs/sources/cli-command-syntax.md
+++ b/docs/sources/cli-command-syntax.md
@@ -128,7 +128,7 @@ Also, refer to the following for the detail syntax of each address family.
# add neighbor
% gobgp neighbor add { <neighbor address> | interface <ifname> } as <as number> [ vrf <vrf-name> | route-reflector-client [<cluster-id>] | route-server-client | allow-own-as <num> | remove-private-as (all|replace) | replace-peer-as | ebgp-multihop-ttl <ttl>]
# delete neighbor
-% gobgp neighbor delete { <neighbor address> | interface <ifname> }
+% gobgp neighbor del { <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>]