From dd35fe6262b013026cd6b5b5fe8bc1f213670cde Mon Sep 17 00:00:00 2001 From: Quantum Date: Fri, 29 Sep 2023 02:15:19 -0400 Subject: [PATCH] Add route collector example --- README.md | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/README.md b/README.md index 99a0597..8127dee 100644 --- a/README.md +++ b/README.md @@ -208,6 +208,34 @@ routes. For your protection, downstream imports without IRR is *not* supported. For details about setting up IRR, see the [IRR filtering](#irr-filtering) section below. +### Route collectors + +``` +protocol bgp route_collector { + description "Exaple Route Collector"; + local 2001:db8:2000::2 as 64500; + neighbor 2001:db8:9000::1 as 64505; + multihop; + + ipv4 { + add paths on; + import none; + export where export_monitoring(); + }; + + ipv6 { + add paths on; + import none; + export where export_monitoring(); + }; +} +``` + +The example above assumes you are AS64500 and establishes a multihop BGP +session with your route collector over IPv6, using multiprotocol BGP to export +routes for both IPv4 and IPv6 in a single session, using `add paths` to also +all routes instead of the best routes available. + ## BGP communities The following large informational communities are implemented by default: