Files
Damien ef4211afe5 Rename devices to <area>-<role> scheme
DC fabric: spine/leaf/border-leaf/access/host -> dc-spine, dc-leaf,
dc-border-leaf, dc-access, dc-server. Campus border leafs flipped
from border-leaf-campus to campus-border-leaf for consistency. Core,
campus spines/leafs/access/hosts unchanged.

Updates topology, annotations, all configs (hostnames + peer
descriptions), host interface files, README, TROUBLESHOOTING,
END_TO_END_TESTING, and the SVG diagram.
2026-04-24 07:43:02 +00:00

233 lines
6.0 KiB
INI

! Core2 Configuration
! Core Router - AS 65500
! Transit between DC Border Leafs and Campus Border Leafs
!
hostname core2
!
! LLDP Management0
lldp management-address Management0
!
! enable gNMI API
management api gnmi
transport grpc default
provider eos-native
!
! admin/admin for ssh access
username admin privilege 15 role network-admin secret sha512 $6$xQktFrbdeqEhVzLM$.1wOJB25nw2fqYaSXDu6y4mo6AP9hngMCFe2vGDl84hWoz00Q.4unoEBqspNI0HEoRz.OZhdBHqQv12KABf0B0
!
! Enable IP routing
ip routing
!
! Enable routing protocols
service routing protocols model multi-agent
!
! VRF Definition
vrf instance gold
!
! Management interface
interface Management0
ip address 172.16.0.11/24
!
! Loopback for BGP Router-ID (default VRF)
interface Loopback0
description Router-ID
ip address 10.0.200.2/32
!
! Loopback in VRF Gold (router-id and health)
interface Loopback1
description VRF-Gold-RouterID
vrf gold
ip address 10.0.200.102/32
!
! Link to DC Border Leaf 1
interface Ethernet1
description dc-border-leaf1
no switchport
mtu 9214
!
interface Ethernet1.100
description dc-border-leaf1-underlay
encapsulation dot1q vlan 100
ip address 10.0.4.4/31
mtu 9214
!
interface Ethernet1.200
description dc-border-leaf1-vrf-gold
encapsulation dot1q vlan 200
vrf gold
ip address 10.0.14.4/31
mtu 9214
!
! Link to DC Border Leaf 2
interface Ethernet2
description dc-border-leaf2
no switchport
mtu 9214
!
interface Ethernet2.100
description dc-border-leaf2-underlay
encapsulation dot1q vlan 100
ip address 10.0.4.6/31
mtu 9214
!
interface Ethernet2.200
description dc-border-leaf2-vrf-gold
encapsulation dot1q vlan 200
vrf gold
ip address 10.0.14.6/31
mtu 9214
!
! Link to Campus Border Leaf 1
interface Ethernet3
description campus-border-leaf1
no switchport
mtu 9214
!
interface Ethernet3.100
description campus-border-leaf1-underlay
encapsulation dot1q vlan 100
ip address 10.0.5.4/31
mtu 9214
!
interface Ethernet3.200
description campus-border-leaf1-vrf-gold
encapsulation dot1q vlan 200
vrf gold
ip address 10.0.15.4/31
mtu 9214
!
! Link to Campus Border Leaf 2
interface Ethernet4
description campus-border-leaf2
no switchport
mtu 9214
!
interface Ethernet4.100
description campus-border-leaf2-underlay
encapsulation dot1q vlan 100
ip address 10.0.5.6/31
mtu 9214
!
interface Ethernet4.200
description campus-border-leaf2-vrf-gold
encapsulation dot1q vlan 200
vrf gold
ip address 10.0.15.6/31
mtu 9214
!
! Inter-Core link
interface Ethernet5
description core1
no switchport
mtu 9214
!
interface Ethernet5.100
description core1-underlay
encapsulation dot1q vlan 100
ip address 10.0.200.129/31
mtu 9214
!
interface Ethernet5.200
description core1-vrf-gold
encapsulation dot1q vlan 200
vrf gold
ip address 10.0.200.131/31
mtu 9214
!
! IP Routing
ip routing
ip routing vrf gold
ip route 100.64.0.0/10 172.16.0.254
!
! OSPF for loopback reachability (default VRF)
router ospf 1
router-id 10.0.200.2
passive-interface default
no passive-interface Ethernet1.100
no passive-interface Ethernet2.100
no passive-interface Ethernet3.100
no passive-interface Ethernet4.100
no passive-interface Ethernet5.100
network 10.0.200.2/32 area 0
network 10.0.4.4/31 area 0
network 10.0.4.6/31 area 0
network 10.0.5.4/31 area 0
network 10.0.5.6/31 area 0
network 10.0.200.128/31 area 0
max-lsa 12000
!
! BGP Configuration
router bgp 65500
router-id 10.0.200.2
no bgp default ipv4-unicast
bgp log-neighbor-changes
distance bgp 20 200 200
maximum-paths 4 ecmp 64
!
! iBGP to core1 (loopback-based, default VRF)
neighbor core_ibgp peer group
neighbor core_ibgp remote-as 65500
neighbor core_ibgp update-source Loopback0
neighbor core_ibgp next-hop-self
neighbor core_ibgp send-community extended
neighbor core_ibgp maximum-routes 12000 warning-only
neighbor 10.0.200.1 peer group core_ibgp
!
! eBGP to DC Border Leafs (default VRF)
neighbor dc_bl peer group
neighbor dc_bl remote-as 65005
neighbor dc_bl send-community extended
neighbor dc_bl maximum-routes 12000 warning-only
neighbor 10.0.4.5 peer group dc_bl
neighbor 10.0.4.7 peer group dc_bl
!
! eBGP to Campus Border Leafs (default VRF)
neighbor campus_bl peer group
neighbor campus_bl remote-as 66005
neighbor campus_bl send-community extended
neighbor campus_bl maximum-routes 12000 warning-only
neighbor 10.0.5.5 peer group campus_bl
neighbor 10.0.5.7 peer group campus_bl
!
! IPv4 address family (default VRF)
address-family ipv4
neighbor core_ibgp activate
neighbor dc_bl activate
neighbor campus_bl activate
network 10.0.200.2/32
!
! VRF Gold configuration - transit for inter-fabric routing
vrf gold
rd 10.0.200.2:100001
router-id 10.0.200.2
! iBGP to core1 in VRF gold (P2P)
neighbor 10.0.200.130 remote-as 65500
neighbor 10.0.200.130 next-hop-self
neighbor 10.0.200.130 send-community extended
neighbor 10.0.200.130 maximum-routes 12000 warning-only
! eBGP to DC Border Leafs in VRF gold
neighbor 10.0.14.5 remote-as 65005
neighbor 10.0.14.5 send-community extended
neighbor 10.0.14.5 maximum-routes 12000 warning-only
neighbor 10.0.14.7 remote-as 65005
neighbor 10.0.14.7 send-community extended
neighbor 10.0.14.7 maximum-routes 12000 warning-only
! eBGP to Campus Border Leafs in VRF gold
neighbor 10.0.15.5 remote-as 66005
neighbor 10.0.15.5 send-community extended
neighbor 10.0.15.5 maximum-routes 12000 warning-only
neighbor 10.0.15.7 remote-as 66005
neighbor 10.0.15.7 send-community extended
neighbor 10.0.15.7 maximum-routes 12000 warning-only
!
address-family ipv4
neighbor 10.0.14.5 activate
neighbor 10.0.14.7 activate
neighbor 10.0.15.5 activate
neighbor 10.0.15.7 activate
neighbor 10.0.200.130 activate
!
redistribute connected
!
end