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.1 KiB
INI

! Core1 Configuration
! Core Router - AS 65500
! Transit between DC Border Leafs and Campus Border Leafs
!
hostname core1
!
! 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.10/24
!
! Loopback for BGP Router-ID (default VRF)
interface Loopback0
description Router-ID
ip address 10.0.200.1/32
!
! Loopback in VRF Gold (router-id and health)
interface Loopback1
description VRF-Gold-RouterID
vrf gold
ip address 10.0.200.101/32
!
! Link to DC Border Leaf 1 (subinterfaced: .100 default VRF, .200 VRF gold)
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.0/31
mtu 9214
!
interface Ethernet1.200
description dc-border-leaf1-vrf-gold
encapsulation dot1q vlan 200
vrf gold
ip address 10.0.14.0/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.2/31
mtu 9214
!
interface Ethernet2.200
description dc-border-leaf2-vrf-gold
encapsulation dot1q vlan 200
vrf gold
ip address 10.0.14.2/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.0/31
mtu 9214
!
interface Ethernet3.200
description campus-border-leaf1-vrf-gold
encapsulation dot1q vlan 200
vrf gold
ip address 10.0.15.0/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.2/31
mtu 9214
!
interface Ethernet4.200
description campus-border-leaf2-vrf-gold
encapsulation dot1q vlan 200
vrf gold
ip address 10.0.15.2/31
mtu 9214
!
! Inter-Core link
interface Ethernet5
description core2
no switchport
mtu 9214
!
interface Ethernet5.100
description core2-underlay
encapsulation dot1q vlan 100
ip address 10.0.200.128/31
mtu 9214
!
interface Ethernet5.200
description core2-vrf-gold
encapsulation dot1q vlan 200
vrf gold
ip address 10.0.200.130/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.1
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.1/32 area 0
network 10.0.4.0/31 area 0
network 10.0.4.2/31 area 0
network 10.0.5.0/31 area 0
network 10.0.5.2/31 area 0
network 10.0.200.128/31 area 0
max-lsa 12000
!
! BGP Configuration
router bgp 65500
router-id 10.0.200.1
no bgp default ipv4-unicast
bgp log-neighbor-changes
distance bgp 20 200 200
maximum-paths 4 ecmp 64
!
! iBGP to core2 (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.2 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.1 peer group dc_bl
neighbor 10.0.4.3 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.1 peer group campus_bl
neighbor 10.0.5.3 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.1/32
!
! VRF Gold configuration - transit for inter-fabric routing
vrf gold
rd 10.0.200.1:100001
router-id 10.0.200.1
! iBGP to core2 in VRF gold (P2P)
neighbor 10.0.200.131 remote-as 65500
neighbor 10.0.200.131 next-hop-self
neighbor 10.0.200.131 send-community extended
neighbor 10.0.200.131 maximum-routes 12000 warning-only
! eBGP to DC Border Leafs in VRF gold
neighbor 10.0.14.1 remote-as 65005
neighbor 10.0.14.1 send-community extended
neighbor 10.0.14.1 maximum-routes 12000 warning-only
neighbor 10.0.14.3 remote-as 65005
neighbor 10.0.14.3 send-community extended
neighbor 10.0.14.3 maximum-routes 12000 warning-only
! eBGP to Campus Border Leafs in VRF gold
neighbor 10.0.15.1 remote-as 66005
neighbor 10.0.15.1 send-community extended
neighbor 10.0.15.1 maximum-routes 12000 warning-only
neighbor 10.0.15.3 remote-as 66005
neighbor 10.0.15.3 send-community extended
neighbor 10.0.15.3 maximum-routes 12000 warning-only
!
address-family ipv4
neighbor 10.0.14.1 activate
neighbor 10.0.14.3 activate
neighbor 10.0.15.1 activate
neighbor 10.0.15.3 activate
neighbor 10.0.200.131 activate
!
redistribute connected
!
end