Advertisement
Guest User

frr.conf

a guest
Mar 10th, 2025
94
0
116 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.73 KB | None | 0 0
  1. frr version 8.5.2
  2. frr defaults datacenter
  3. hostname pve-01
  4. log syslog informational
  5. service integrated-vtysh-config
  6. !
  7. !
  8. vrf vrf_L01VPN01
  9.  vni 4000003
  10.  ip route 192.168.107.0/27 null0
  11.  ip route 192.168.107.32/27 null0
  12.  ip route 192.168.107.64/26 null0
  13. exit-vrf
  14. !
  15. vrf vrf_SDCVPN01
  16.  vni 4000002
  17.  ip route 192.168.110.0/24 null0
  18.  ip route 192.168.111.0/25 null0
  19. exit-vrf
  20. !
  21. router bgp 4000000002
  22.  bgp router-id 192.168.203.142
  23.  no bgp hard-administrative-reset
  24.  no bgp default ipv4-unicast
  25.  coalesce-time 1000
  26.  no bgp graceful-restart notification
  27.  neighbor VTEP peer-group
  28.  neighbor VTEP remote-as 4000000002
  29.  neighbor VTEP bfd
  30.  neighbor 192.168.203.143 peer-group VTEP
  31.  neighbor 192.168.203.144 peer-group VTEP
  32.  neighbor 192.168.203.145 peer-group VTEP
  33.  !
  34.  address-family ipv4 unicast
  35.   import vrf vrf_L01VPN01
  36.   import vrf vrf_SDCVPN01
  37.  exit-address-family
  38.  !
  39.  address-family ipv6 unicast
  40.   import vrf vrf_L01VPN01
  41.   import vrf vrf_SDCVPN01
  42.  exit-address-family
  43.  !
  44.  address-family l2vpn evpn
  45.   neighbor VTEP activate
  46.   neighbor VTEP route-map MAP_VTEP_IN in
  47.   neighbor VTEP route-map MAP_VTEP_OUT out
  48.   advertise-all-vni
  49.  exit-address-family
  50. exit
  51. !
  52. router bgp 4000000002 vrf vrf_L01VPN01
  53.  bgp router-id 192.168.203.142
  54.  no bgp hard-administrative-reset
  55.  no bgp graceful-restart notification
  56.  neighbor LABFWL01 peer-group
  57.  neighbor LABFWL01 remote-as external
  58.  neighbor LABFWL01 remote-as 4000000001
  59.  neighbor LABFWL01 bfd
  60.  neighbor 192.168.203.210 peer-group LABFWL01
  61.  neighbor 192.168.203.211 peer-group LABFWL01
  62.  !
  63.  address-family ipv4 unicast
  64.   redistribute connected
  65.   neighbor LABFWL01 activate
  66.   neighbor LABFWL01 soft-reconfiguration inbound
  67.   neighbor LABFWL01 prefix-list PFL_L01_OUT out
  68.   #  import vrf vrf_L01VPN01
  69.  exit-address-family
  70.  !
  71.  address-family ipv6 unicast
  72.   redistribute connected
  73.   neighbor LABFWL01 activate
  74.   neighbor LABFWL01 soft-reconfiguration inbound
  75.   #  import vrf vrf_L01VPN01
  76.  exit-address-family
  77.  !
  78.  address-family l2vpn evpn
  79.   default-originate ipv4
  80.   default-originate ipv6
  81.  exit-address-family
  82. exit
  83. !
  84. router bgp 4000000002 vrf vrf_SDCVPN01
  85.  bgp router-id 192.168.203.142
  86.  no bgp hard-administrative-reset
  87.  no bgp graceful-restart notification
  88.  neighbor LABFWSDC peer-group
  89.  neighbor LABFWSDC remote-as external
  90.  neighbor LABFWSDC remote-as 4000000001
  91.  neighbor LABFWSDC bfd
  92.  neighbor 192.168.203.194 peer-group LABFWSDC
  93.  neighbor 192.168.203.195 peer-group LABFWSDC
  94.  !
  95.  address-family ipv4 unicast
  96.   redistribute connected
  97.   neighbor LABFWSDC activate
  98.   neighbor LABFWSDC soft-reconfiguration inbound
  99.   neighbor LABFWSDC prefix-list PFL_SDC_OUT out
  100.   #  import vrf vrf_SDCVPN01
  101.  exit-address-family
  102.  !
  103.  address-family ipv6 unicast
  104.   redistribute connected
  105.   neighbor LABFWSDC activate
  106.   neighbor LABFWSDC soft-reconfiguration inbound
  107.   #  import vrf vrf_SDCVPN01
  108.  exit-address-family
  109.  !
  110.  address-family l2vpn evpn
  111.   default-originate ipv4
  112.   default-originate ipv6
  113.  exit-address-family
  114. exit
  115. !
  116. ip prefix-list PFL_L01_OUT seq 10 deny 192.168.203.208/28
  117. ip prefix-list PFL_L01_OUT seq 20 permit 0.0.0.0/0 le 31
  118. ip prefix-list PFL_SDC_OUT seq 10 deny 192.168.203.192/28
  119. ip prefix-list PFL_SDC_OUT seq 20 permit 0.0.0.0/0 le 31
  120. ip prefix-list only_default seq 1 permit 0.0.0.0/0
  121. !
  122. ipv6 prefix-list only_default_v6 seq 1 permit ::/0
  123. !
  124. route-map MAP_VTEP_IN deny 1
  125.  match ip address prefix-list only_default
  126. exit
  127. !
  128. route-map MAP_VTEP_IN deny 2
  129.  match ipv6 address prefix-list only_default_v6
  130. exit
  131. !
  132. route-map MAP_VTEP_IN deny 3
  133.  match ip address prefix-list only_default
  134. exit
  135. !
  136. route-map MAP_VTEP_IN deny 4
  137.  match ipv6 address prefix-list only_default_v6
  138. exit
  139. !
  140. route-map MAP_VTEP_IN permit 5
  141. exit
  142. !
  143. route-map MAP_VTEP_OUT permit 1
  144. exit
  145. !
  146. line vty
  147. !
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement