proxmox: only advertise local routes
Of course.
This commit is contained in:
parent
14439048fa
commit
2095494531
|
@ -20,17 +20,25 @@ router bgp {{ asn.asn }}
|
||||||
address-family ipv4 unicast
|
address-family ipv4 unicast
|
||||||
redistribute connected route-map loopback
|
redistribute connected route-map loopback
|
||||||
neighbor fabric activate
|
neighbor fabric activate
|
||||||
|
neighbor fabric route-map local out
|
||||||
exit-address-family
|
exit-address-family
|
||||||
|
|
||||||
address-family ipv6 unicast
|
address-family ipv6 unicast
|
||||||
redistribute connected route-map loopback
|
redistribute connected route-map loopback
|
||||||
neighbor fabric activate
|
neighbor fabric activate
|
||||||
|
neighbor fabric route-map local out
|
||||||
exit-address-family
|
exit-address-family
|
||||||
|
|
||||||
address-family l2vpn evpn
|
address-family l2vpn evpn
|
||||||
neighbor fabric activate
|
neighbor fabric activate
|
||||||
|
neighbor fabric route-map local out
|
||||||
advertise-all-vni
|
advertise-all-vni
|
||||||
exit-address-family
|
exit-address-family
|
||||||
|
|
||||||
|
bgp as-path access-list local permit ^$
|
||||||
|
|
||||||
route-map loopback permit 1
|
route-map loopback permit 1
|
||||||
match interface lo
|
match interface lo
|
||||||
|
|
||||||
|
route-map local permit 1
|
||||||
|
match as-path local
|
||||||
|
|
Loading…
Reference in a new issue