summaryrefslogtreecommitdiffhomepage
path: root/docs
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2018-01-15 09:57:05 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-01-18 21:49:10 +0900
commit6061f8e11748411a8b6c8da6caae2a5f5d1a722f (patch)
treed650c7d7f2a625da960560824cb63d77bfb7c74d /docs
parent87125d842e688b95b2ac66ba046a10670c45e0dd (diff)
zebra.md: Update for Markdown linter
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/sources/zebra.md45
1 files changed, 25 insertions, 20 deletions
diff --git a/docs/sources/zebra.md b/docs/sources/zebra.md
index 6d3193a9..67730aff 100644
--- a/docs/sources/zebra.md
+++ b/docs/sources/zebra.md
@@ -7,14 +7,16 @@ different routing protocols. GoBGP uses zebra included in
## Prerequisites
-Assume you finished [Getting Started](https://github.com/osrg/gobgp/blob/master/docs/sources/getting-started.md)
+Assume you finished [Getting Started](getting-started.md)
and installing Quagga or FRRouting on the same host with GoBGP.
## Contents
-- [Configuration](#section0)
-- [Check routes from zebra](#section1)
-## <a name="section0"> Configuration
+- [Configuration](#configuration)
+- [Check routes from zebra](#check-routes-from-zebra)
+
+## Configuration
+
You need to enable the zebra feature in the Global configuration as follows.
```toml
@@ -26,26 +28,30 @@ You need to enable the zebra feature in the Global configuration as follows.
version = 2
```
-- `url` specifies the path to the unix domain socket or the TCP port for connecting to Zebra API.
-If omitted, GoBGP will use `"unix:/var/run/quagga/zserv.api"` by the default.
-Please note that with FRRouting, the path to the unix domain socket would be like
-`"unix:/var/run/frr/zserv.api"`.
-To specify the TCP port, `url` value would be like `"tcp:192.168.24.1:2600"`.
+- `url` specifies the path to the unix domain socket or the TCP port for
+ connecting to Zebra API.
+ If omitted, GoBGP will use `"unix:/var/run/quagga/zserv.api"` by the default.
+ Please note that with FRRouting, the path to the unix domain socket would be
+ like `"unix:/var/run/frr/zserv.api"`.
+ To specify the TCP port, `url` value would be like `"tcp:192.168.24.1:2600"`.
-- `redistribute-route-type-list` specifies which route types you want to receive from Zebra
-daemon. For example, with `["connect"]`, GoBGP will receive the connected routes and redistribute
-them.
+- `redistribute-route-type-list` specifies which route types you want to
+ receive from Zebra daemon.
+ For example, with `["connect"]`, GoBGP will receive the connected routes and
+ redistribute them.
-- `version` specifies Zebra API version. `2` is the version used by Quagga on Ubuntu 16.04 LTS.
-To enable the Next-Hop Tracking features, please specify `3` or later.
-For connecting to FRRouting, please specify `4`.
+- `version` specifies Zebra API version.
+ `2` is the version used by Quagga on Ubuntu 16.04 LTS.
+ To enable the Next-Hop Tracking features, please specify `3` or later.
+ For connecting to FRRouting, please specify `4`.
-## <a name="section1">Check Routes from zebra
+## Check Routes from zebra
Zebra has 3 connected routes in this example's environment.
- - 172.16.1.100/30
- - 172.16.6.100/30
- - 192.168.31.0/24
+
+- 172.16.1.100/30
+- 172.16.6.100/30
+- 192.168.31.0/24
Let's check these routes with GoBGP cli.
@@ -58,4 +64,3 @@ $ gobgp global rib
```
You can see connected routes stored in the GoBGP global rib.
-