custom-config/rt-mep/frr.conf

73 lines
2.2 KiB
Text
Raw Normal View History

2024-10-22 22:06:37 +02:00
!
frr version 10.1.1
2024-06-03 21:58:51 +02:00
frr defaults traditional
hostname rt-mep
log syslog informational
service integrated-vtysh-config
!
2024-10-22 22:06:37 +02:00
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
!
2024-06-03 21:58:51 +02:00
ipv6 route 2a0e:fd45:2a0c::/64 eth1
2024-10-22 22:06:37 +02:00
ipv6 route fd80::179/128 2a0e:fd40:103::1 eth0
2024-06-03 21:58:51 +02:00
!
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::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::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
!
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
2024-10-22 22:06:37 +02:00
!
end