diff options
Diffstat (limited to 'docs/sources/cli-operations.md')
-rw-r--r-- | docs/sources/cli-operations.md | 36 |
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. |