wit-network-config/files/frr.conf.wit

80 lines
2.4 KiB
Plaintext

frr defaults datacenter
username cumulus nopassword
!
service integrated-vtysh-config
!
log syslog informational
!
interface feth1
ipv6 nd ra-interval 10
no ipv6 nd suppress-ra
!
interface feth2
ipv6 nd ra-interval 10
no ipv6 nd suppress-ra
!
router bgp NODEASN
bgp router-id FRRROUTERID
no bgp default ipv4-unicast
coalesce-time 1000
bgp bestpath as-path multipath-relax
bgp bestpath compare-routerid
neighbor fabric peer-group
neighbor fabric remote-as external
neighbor feth1 interface peer-group fabric
neighbor feth2 interface peer-group fabric
!
address-family ipv4 unicast
redistribute kernel route-map EIPv4
redistribute connected route-map LOCALNETSv4
neighbor fabric activate
neighbor fabric addpath-tx-all-paths
neighbor fabric soft-reconfiguration inbound
exit-address-family
!
address-family ipv6 unicast
redistribute kernel route-map EIPv6
redistribute connected route-map LOCALNETSv6
neighbor fabric activate
neighbor fabric addpath-tx-all-paths
neighbor fabric soft-reconfiguration inbound
exit-address-family
!
address-family l2vpn evpn
neighbor fabric activate
advertise-all-vni
exit-address-family
!
ip prefix-list LOOPBACK seq 5 permit 10.1.0.0/16 ge 32
ip prefix-list WIT-CUSTOMERS seq 5 permit 168.245.146.0/24 ge 25
ip prefix-list WIT-CUSTOMERS seq 10 permit 170.199.210.0/24 ge 25
ip prefix-list WIT-CUSTOMERS seq 15 permit 170.199.211.0/24 ge 25
ip prefix-list WIT-CUSTOMERS seq 20 permit 170.199.212.0/24 ge 25
ip prefix-list WIT-CUSTOMERS seq 25 permit 170.199.213.0/24 ge 25
ip prefix-list WIT-CUSTOMERS seq 30 permit 170.199.214.0/24 ge 25
ip prefix-list WIT-CUSTOMERS seq 35 permit 170.199.215.0/24 ge 25
ip prefix-list WIT-CUSTOMERS seq 40 permit 170.199.216.0/24 ge 25
ip prefix-list WIT-CUSTOMERS seq 45 permit 170.199.217.0/24 ge 25
!
ipv6 prefix-list LOOPBACK seq 5 permit 2604:bbc0:0:100::/56 ge 128
ipv6 prefix-list WIT-CUSTOMERS seq 10 permit 2604:bbc0:1::/48 ge 64
ipv6 prefix-list WIT-CUSTOMERS seq 20 permit 2604:bbc0:2::/48 ge 64
ipv6 prefix-list WIT-CUSTOMERS seq 30 permit 2604:bbc0:3::/48 ge 64
!
route-map EIPv4 permit 5
match ip address prefix-list WIT-CUSTOMERS
!
route-map EIPv6 permit 5
match ipv6 address prefix-list WIT-CUSTOMERS
!
route-map LOCALNETSv4 permit 5
description "permit loopback ips"
match ip address prefix-list LOOPBACK
!
route-map LOCALNETSv6 permit 5
description "permit ipv6 loopback ips"
match ipv6 address prefix-list LOOPBACK
!
line vty
!