summaryrefslogtreecommitdiffhomepage
path: root/docs/sources/cli-operations.md
diff options
context:
space:
mode:
authorNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-08-03 10:35:48 +0900
committerNaoto Hanaue <hanaue.naoto@po.ntts.co.jp>2015-08-03 16:40:05 +0900
commitd895c87c741084b4469bb260e3ef94f7793a8f92 (patch)
tree7f7b91fd7a18db549756d016d8a6bae444c392e5 /docs/sources/cli-operations.md
parent46b21a1725111dff416f483a12171d03359df3bf (diff)
doc: update documents in accordance with the latest openconfig yang
Diffstat (limited to 'docs/sources/cli-operations.md')
-rw-r--r--docs/sources/cli-operations.md36
1 files changed, 25 insertions, 11 deletions
diff --git a/docs/sources/cli-operations.md b/docs/sources/cli-operations.md
index 3a1267ea..2af84e1a 100644
--- a/docs/sources/cli-operations.md
+++ b/docs/sources/cli-operations.md
@@ -31,17 +31,31 @@ should be like the following.
```
[Global]
- As = 64512
- RouterId = "192.168.255.1"
-[[NeighborList]]
- NeighborAddress = "10.0.255.1"
- PeerAs = 65001
-[[NeighborList]]
- NeighborAddress = "10.0.255.2"
- PeerAs = 65002
-[[NeighborList]]
- NeighborAddress = "10.0.255.3"
- PeerAs = 65003
+ [Global.GlobalConfig]
+ As = 64512
+ RouterId = "192.168.255.1"
+
+[Neighbors]
+ [[Neighbors.NeighborList]]
+ [Neighbors.NeighborList.NeighborConfig]
+ NeighborAddress = "10.0.255.1"
+ PeerAs = 65001
+ [Neighbors.NeighborList.RouteServer]
+ RouteServerClient = true
+
+ [[Neighbors.NeighborList]]
+ [Neighbors.NeighborList.NeighborConfig]
+ NeighborAddress = "10.0.255.2"
+ PeerAs = 65002
+ [Neighbors.NeighborList.RouteServer]
+ RouteServerClient = true
+
+ [[Neighbors.NeighborList]]
+ [Neighbors.NeighborList.NeighborConfig]
+ NeighborAddress = "10.0.255.3"
+ PeerAs = 65003
+ [Neighbors.NeighborList.RouteServer]
+ RouteServerClient = true
```
After you send `HUP` signal (`kill` command), you should see 10.0.255.3 peer.