From 03f864a23f57a867e3bf3fe0d45ab238b51f0b59 Mon Sep 17 00:00:00 2001 From: FUJITA Tomonori Date: Thu, 5 Mar 2020 14:25:30 +0900 Subject: docs: update cli output Signed-off-by: FUJITA Tomonori --- docs/sources/cli-operations.md | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) (limited to 'docs') 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 -- cgit v1.2.3