summaryrefslogtreecommitdiffhomepage
path: root/docs/sources/mrt.md
diff options
context:
space:
mode:
authorIWASE Yusuke <iwase.yusuke0@gmail.com>2018-03-30 13:51:51 +0900
committerIWASE Yusuke <iwase.yusuke0@gmail.com>2018-04-02 16:16:01 +0900
commit008f34053c87650c83946874980fa97179267149 (patch)
tree436e7a1a0eb4208a845b9bc710253af16e344f15 /docs/sources/mrt.md
parent79d264bfb008370a6af7ff42dc3962d0bf1ddf63 (diff)
*.md: Improvements for markdownlint
Signed-off-by: IWASE Yusuke <iwase.yusuke0@gmail.com>
Diffstat (limited to 'docs/sources/mrt.md')
-rw-r--r--docs/sources/mrt.md25
1 files changed, 12 insertions, 13 deletions
diff --git a/docs/sources/mrt.md b/docs/sources/mrt.md
index 682eef97..158815db 100644
--- a/docs/sources/mrt.md
+++ b/docs/sources/mrt.md
@@ -4,24 +4,25 @@ This page explains how to play with GoBGP's MRT feature.
## 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).
## Contents
-- [Inject routes from MRT table v2 records](#section0)
-- [Dump updates in MRT BGP4MP format](#section1)
- - [Configuration](#section1.1)
-- [Dump the RIB in MRT TABLE_DUMPv2 format](#section2)
- - [Configuration](#section2.1)
-## <a name="section0"> Inject routes from MRT table v2 records
+- [Inject routes from MRT table v2 records](#inject-routes-from-mrt-table-v2-records)
+- [Dump updates in MRT BGP4MP format](#dump-updates-in-mrt-bgp4mp-format)
+- [Dump the RIB in MRT TABLE_DUMPv2 format](#dump-the-rib-in-mrt-table_dumpv2-format)
+
+## Inject routes from MRT table v2 records
+
Route injection can be done by
+
```bash
$ gobgp mrt inject global <dumpfile> [<number of prefix to inject>]
```
-## <a name="section1"> Dump updates in MRT BGP4MP format
+## Dump updates in MRT BGP4MP format
-### <a name="section1.1"> Configuration
+### Configuration
With the following configuration, gobgpd continuously dumps BGP update
messages to `/tmp/updates.dump` file in the BGP4MP format.
@@ -48,15 +49,14 @@ specified in golang's
rotation-interval = 180
```
-## <a name="section2"> Dump the RIB in MRT TABLE_DUMPv2 format
+## Dump the RIB in MRT TABLE_DUMPv2 format
-### <a name="section2.1"> Configuration
+### Configuration
With the following configuration, gobgpd continuously dumps routes in
the global rib to `/tmp/table.dump` file in the TABLE_DUMPv2 format
every 60 seconds.
-
```toml
[[mrt-dump]]
[mrt-dump.config]
@@ -68,7 +68,6 @@ every 60 seconds.
With a route server configuration, gobgpd can dump routes in each
peer's RIB.
-
```toml
[[neighbors]]
[neighbors.config]