custom-config/rt-mep/frr.conf
2024-06-03 21:58:51 +02:00

86 lines
No EOL
3 KiB
Text

frr version 9.1
frr defaults traditional
hostname rt-mep
log syslog informational
service integrated-vtysh-config
!
ipv6 route 2a0e:fd45:2a0c::/64 eth1
!
interface lo
description Loopback0
ipv6 address 2a0e:fd45:2a00::/40
ipv6 address 2a0e:fd45:2a0c::/128
exit
!
router bgp 213253
bgp router-id 45.139.163.92
no bgp suppress-duplicates
neighbor 2a0e:fd45:2a00:1::6 remote-as 213253
neighbor 2a0e:fd45:2a00:1::6 description core-dro
neighbor 2a0e:fd45:2a00:1::9 remote-as 213253
neighbor 2a0e:fd45:2a00:1::9 description edge-fra
neighbor 2a0e:fd45:2a00:1::11 remote-as 213253
neighbor 2a0e:fd45:2a00:1::11 description core-vel
neighbor fd80::179 remote-as 44103
neighbor fd80::179 description Mastermind Holdings Transit
neighbor fd80::179 ebgp-multihop 2
!
address-family ipv4 unicast
no neighbor fd80::179 activate
exit-address-family
!
address-family ipv6 unicast
network 2a0e:fd45:2a00::/40
redistribute connected
redistribute static
neighbor 2a0e:fd45:2a00:1::6 activate
neighbor 2a0e:fd45:2a00:1::6 addpath-tx-all-paths
neighbor 2a0e:fd45:2a00:1::6 next-hop-self
neighbor 2a0e:fd45:2a00:1::6 soft-reconfiguration inbound
neighbor 2a0e:fd45:2a00:1::6 route-map igp-internal-only in
neighbor 2a0e:fd45:2a00:1::6 route-map igp-internal-only out
neighbor 2a0e:fd45:2a00:1::9 activate
neighbor 2a0e:fd45:2a00:1::9 addpath-tx-all-paths
neighbor 2a0e:fd45:2a00:1::9 next-hop-self
neighbor 2a0e:fd45:2a00:1::9 soft-reconfiguration inbound
neighbor 2a0e:fd45:2a00:1::9 route-map igp-internal-only in
neighbor 2a0e:fd45:2a00:1::9 route-map igp-internal-only out
neighbor 2a0e:fd45:2a00:1::11 activate
neighbor 2a0e:fd45:2a00:1::11 addpath-tx-all-paths
neighbor 2a0e:fd45:2a00:1::11 next-hop-self
neighbor 2a0e:fd45:2a00:1::11 soft-reconfiguration inbound
neighbor 2a0e:fd45:2a00:1::11 route-map igp-internal-only in
neighbor 2a0e:fd45:2a00:1::11 route-map igp-internal-only out
neighbor fd80::179 activate
neighbor fd80::179 route-map transit-44103-in-v6 in
neighbor fd80::179 route-map transit-44103-out-v6 out
exit-address-family
exit
!
ipv6 prefix-list transit-in-v6 seq 1 permit ::/0 le 48
ipv6 prefix-list transit-in-v6 seq 96 deny 2002::/16 le 128
ipv6 prefix-list transit-in-v6 seq 97 deny 3ffe::/16 le 128
ipv6 prefix-list transit-in-v6 seq 98 deny 5f00::/8 le 128
ipv6 prefix-list transit-in-v6 seq 99 permit 2000::/3 le 48
ipv6 prefix-list internal-as213253 seq 1 permit 2a0e:fd45:2a00::/40 le 128
ipv6 prefix-list internal-as213253 seq 2 permit 2a0e:e704:42::/48 le 128
ipv6 prefix-list allow-default seq 5 permit ::/0
ipv6 prefix-list origin-as213253 seq 1 permit 2a0e:fd45:2a00::/40
!
route-map transit-44103-out-v6 permit 1
match ipv6 address prefix-list origin-as213253
exit
!
route-map transit-44103-in-v6 permit 1
match ipv6 address prefix-list transit-in-v6
set community 65535:1000
exit
!
route-map igp-internal-only deny 1
match community 65535:1000
exit
!
route-map igp-internal-only permit 10
match ipv6 address prefix-list internal-as213253
exit
!