b6c4841366f96828bf126e6a70bb5bd99458e6b0
services/Route-Collector.md
... | ... | @@ -68,6 +68,27 @@ protocol bgp ROUTE_COLLECTOR |
68 | 68 | } |
69 | 69 | ``` |
70 | 70 | |
71 | +Example OpenBGPD config snippet (assumes config similar to |
|
72 | +the [OpenBGPD setup guide](/howto/OpenBGPD); note the GRC |
|
73 | +neighbor should be defined separately (outside the |
|
74 | +`dn42peers` group)): |
|
75 | + |
|
76 | +```conf |
|
77 | +neighbor fd42:4242:2601:ac12::1 { |
|
78 | + local-address <YOUR-ROUTER-DN42-IPv6> |
|
79 | + descr dn42grc |
|
80 | + remote-as 4242422602 |
|
81 | + multihop 255 |
|
82 | + announce IPv4 unicast |
|
83 | + announce IPv6 unicast |
|
84 | + announce add-path send all |
|
85 | +} |
|
86 | + |
|
87 | +# [...] |
|
88 | + |
|
89 | +allow to {group dn42peers fd42:4242:2601:ac12::1} prefix-set dn42etc |
|
90 | +``` |
|
91 | + |
|
71 | 92 | Example VyOS 1.4 "Sagitta" config |
72 | 93 | ``` |
73 | 94 | # The route collector should never export routes, so let's make a route-map to reject them if it does. |