diff options
author | ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp> | 2015-06-24 10:48:50 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2015-06-25 22:24:28 +0900 |
commit | a7ee9eed9e5e8bc27a5328b993b775585e536e07 (patch) | |
tree | 4a418909a14897ebfcd10298ebfde57e456a9341 /docs | |
parent | 9340fa83d1a54ef71dd0143b21638e8942a377a3 (diff) |
docs: add mrt document
Signed-off-by: ISHIDA Wataru <ishida.wataru@lab.ntt.co.jp>
Diffstat (limited to 'docs')
-rw-r--r-- | docs/sources/mrt.md | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/docs/sources/mrt.md b/docs/sources/mrt.md new file mode 100644 index 00000000..f2610330 --- /dev/null +++ b/docs/sources/mrt.md @@ -0,0 +1,46 @@ +# MRT route injector + +This page explains how to inject MRT routes to gobgp. + +## Prerequisites + +Assume you finished [Getting Started](https://github.com/osrg/gobgp/blob/master/docs/sources/getting-started.md). + +## Install GoMRT + +In addition to gobgpd and gobgp, you have to install `gomrt` + +```bash +$ go get github.com/osrg/gobgp/gomrt +``` + +## Configuration + +you don't need any special configuration for mrt + +``` +$ cat gobgpd.conf +[Global] + As = 64512 + RouterId = "192.168.255.1" +[[NeighborList]] + NeighborAddress = "10.0.255.1" + PeerAs = 65001 +``` + +## Start GoBGP + +```bash +$ sudo -E gobgpd -f gobgpd.conf +{"level":"info","msg":"Peer 10.0.255.1 is added","time":"2015-04-06T20:32:28+09:00"} +{"level":"info","msg":"Peer 10.0.255.2 is added","time":"2015-04-06T20:32:28+09:00"} +``` + +## Inject MRT Routes! + +Currently gomrt supports TABLE_DUMP_V2 format ([RFC6396](https://tools.ietf.org/html/rfc6396)). +You can get the Internet full route dump from [here](http://archive.routeviews.org/) + +``` +$ gomrt -i rib.20150617.2000 +``` |