diff options
author | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2020-03-05 14:25:30 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@gmail.com> | 2020-03-05 14:28:44 +0900 |
commit | 03f864a23f57a867e3bf3fe0d45ab238b51f0b59 (patch) | |
tree | 70f50946baf3c1d399f9b2cdf4121114a2945734 | |
parent | 428850253e8e0bf5266faa771a893c058c5c8c3a (diff) |
docs: update cli output
Signed-off-by: FUJITA Tomonori <fujita.tomonori@gmail.com>
-rw-r--r-- | docs/sources/cli-operations.md | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/docs/sources/cli-operations.md b/docs/sources/cli-operations.md index 94f772d7..61618c91 100644 --- a/docs/sources/cli-operations.md +++ b/docs/sources/cli-operations.md @@ -15,9 +15,9 @@ Make sure that all the peers are connected. ```bash $ gobgp neighbor -Peer AS Up/Down State |#Advertised Received Accepted -10.0.255.1 65001 00:00:04 Establ | 2 2 2 -10.0.255.2 65002 00:00:04 Establ | 2 2 2 +Peer AS Up/Down State |#Received Accepted +10.0.255.1 65001 00:00:04 Establ | 2 2 +10.0.255.2 65002 00:00:04 Establ | 2 2 ``` ## Adding or deleting a peer dynamically @@ -61,10 +61,10 @@ After you send `HUP` signal (`kill` command), you should see 10.0.255.3 peer. ```bash $ gobgp neighbor -Peer AS Up/Down State |#Advertised Received Accepted -10.0.255.1 65001 00:03:42 Establ | 3 2 2 -10.0.255.2 65002 00:03:42 Establ | 3 2 2 -10.0.255.3 65003 00:01:39 Establ | 4 1 1 +Peer AS Up/Down State |#Received Accepted +10.0.255.1 65001 00:03:42 Establ | 2 2 +10.0.255.2 65002 00:03:42 Establ | 2 2 +10.0.255.3 65003 00:01:39 Establ | 1 1 ``` ## Temporarily disable a configured peer @@ -76,10 +76,10 @@ peer later. ```bash $ gobgp neighbor 10.0.255.1 disable $ gobgp neighbor -Peer AS Up/Down State |#Advertised Received Accepted -10.0.255.1 65001 never Idle(Admin) | 0 0 0 -10.0.255.2 65002 00:12:32 Establ | 1 2 2 -10.0.255.3 65003 00:10:29 Establ | 2 1 1 +Peer AS Up/Down State |#Received Accepted +10.0.255.1 65001 never Idle(Admin) | 0 0 +10.0.255.2 65002 00:12:32 Establ | 2 2 +10.0.255.3 65003 00:10:29 Establ | 1 1 ``` The state of 10.0.255.1 is `Idle(Admin)`. Let's enable the peer again. @@ -87,20 +87,20 @@ The state of 10.0.255.1 is `Idle(Admin)`. Let's enable the peer again. ```bash $ gobgp neighbor 10.0.255.1 enable $ gobgp neighbor -Peer AS Up/Down State |#Advertised Received Accepted -10.0.255.1 65001 never Idle | 0 0 0 -10.0.255.2 65002 00:13:33 Establ | 1 2 2 -10.0.255.3 65003 00:11:30 Establ | 2 1 1 +Peer AS Up/Down State |#Received Accepted +10.0.255.1 65001 never Idle | 0 0 +10.0.255.2 65002 00:13:33 Establ | 2 2 +10.0.255.3 65003 00:11:30 Establ | 1 1 ``` Eventually, the state should be `Established` again. ```bash $ gobgp neighbor -Peer AS Up/Down State |#Advertised Received Accepted -10.0.255.1 65001 00:00:02 Establ | 3 2 2 -10.0.255.2 65002 00:14:59 Establ | 3 2 2 -10.0.255.3 65003 00:12:56 Establ | 4 1 1 +Peer AS Up/Down State |#Received Accepted +10.0.255.1 65001 00:00:02 Establ | 2 2 +10.0.255.2 65002 00:14:59 Establ | 2 2 +10.0.255.3 65003 00:12:56 Establ | 1 1 ``` ## Reset, Reset, and Reset |