services/Route-Collector.md
... ...
@@ -70,11 +70,14 @@ protocol bgp ROUTE_COLLECTOR
70 70
71 71
Example VyOS 1.4 "Sagitta" config
72 72
```
73
-set protocols bgp neighbor fd42:4242:2601:ac12::1 address-family ipv4-unicast
74
-set protocols bgp neighbor fd42:4242:2601:ac12::1 address-family ipv6-unicast
73
+# The route collector should never export routes, so let's make a route-map to reject them if it does.
74
+set policy route-map Deny-All rule 1 action deny
75
+set protocols bgp neighbor fd42:4242:2601:ac12::1 address-family ipv4-unicast route-map import 'Deny-All'
76
+set protocols bgp neighbor fd42:4242:2601:ac12::1 address-family ipv6-unicast route-map import 'Deny-All'
75 77
set protocols bgp neighbor fd42:4242:2601:ac12::1 description 'https://lg.collector.dn42'
76 78
set protocols bgp neighbor fd42:4242:2601:ac12::1 ebgp-multihop '10'
77 79
set protocols bgp neighbor fd42:4242:2601:ac12::1 remote-as '4242422602'
80
+
78 81
```
79 82
80 83