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.
This commit is contained in:
167
configs/dc-spine2.cfg
Normal file
167
configs/dc-spine2.cfg
Normal file
@@ -0,0 +1,167 @@
|
||||
! DC-Spine2 Configuration
|
||||
! BGP EVPN Spine - AS 65000
|
||||
!
|
||||
hostname dc-spine2
|
||||
!
|
||||
! 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 - CRITICAL for BGP to work
|
||||
ip routing
|
||||
!
|
||||
! Enable IP routing to work
|
||||
ip routing
|
||||
ip route 100.64.0.0/10 172.16.0.254
|
||||
!
|
||||
! Enable routing protocols
|
||||
service routing protocols model multi-agent
|
||||
!
|
||||
! Management interface
|
||||
interface Management0
|
||||
ip address 172.16.0.2/24
|
||||
!
|
||||
! Loopback for BGP Router-ID
|
||||
interface Loopback0
|
||||
ip address 10.0.250.2/32
|
||||
!
|
||||
! Underlay P2P interfaces to Leafs
|
||||
interface Ethernet1
|
||||
description dc-leaf1
|
||||
no switchport
|
||||
ip address 10.0.2.0/31
|
||||
mtu 9214
|
||||
!
|
||||
interface Ethernet2
|
||||
description dc-leaf2
|
||||
no switchport
|
||||
ip address 10.0.2.2/31
|
||||
mtu 9214
|
||||
!
|
||||
interface Ethernet3
|
||||
description dc-leaf3
|
||||
no switchport
|
||||
ip address 10.0.2.4/31
|
||||
mtu 9214
|
||||
!
|
||||
interface Ethernet4
|
||||
description dc-leaf4
|
||||
no switchport
|
||||
ip address 10.0.2.6/31
|
||||
mtu 9214
|
||||
!
|
||||
interface Ethernet5
|
||||
description dc-leaf5
|
||||
no switchport
|
||||
ip address 10.0.2.8/31
|
||||
mtu 9214
|
||||
!
|
||||
interface Ethernet6
|
||||
description dc-leaf6
|
||||
no switchport
|
||||
ip address 10.0.2.10/31
|
||||
mtu 9214
|
||||
!
|
||||
interface Ethernet7
|
||||
description dc-leaf7
|
||||
no switchport
|
||||
ip address 10.0.2.12/31
|
||||
mtu 9214
|
||||
!
|
||||
interface Ethernet8
|
||||
description dc-leaf8
|
||||
no switchport
|
||||
ip address 10.0.2.14/31
|
||||
mtu 9214
|
||||
!
|
||||
! Underlay P2P interfaces to DC Border Leafs
|
||||
interface Ethernet9
|
||||
description dc-border-leaf1
|
||||
no switchport
|
||||
ip address 10.0.2.16/31
|
||||
mtu 9214
|
||||
!
|
||||
interface Ethernet10
|
||||
description dc-border-leaf2
|
||||
no switchport
|
||||
ip address 10.0.2.18/31
|
||||
mtu 9214
|
||||
!
|
||||
! BGP Configuration
|
||||
router bgp 65000
|
||||
router-id 10.0.250.2
|
||||
no bgp default ipv4-unicast
|
||||
bgp log-neighbor-changes
|
||||
distance bgp 20 200 200
|
||||
maximum-paths 4 ecmp 64
|
||||
!
|
||||
! Underlay IPv4 neighbors
|
||||
neighbor 10.0.2.1 remote-as 65001
|
||||
neighbor 10.0.2.3 remote-as 65001
|
||||
neighbor 10.0.2.5 remote-as 65002
|
||||
neighbor 10.0.2.7 remote-as 65002
|
||||
neighbor 10.0.2.9 remote-as 65003
|
||||
neighbor 10.0.2.11 remote-as 65003
|
||||
neighbor 10.0.2.13 remote-as 65004
|
||||
neighbor 10.0.2.15 remote-as 65004
|
||||
neighbor 10.0.2.17 remote-as 65005
|
||||
neighbor 10.0.2.19 remote-as 65005
|
||||
!
|
||||
! EVPN peer-group configuration
|
||||
neighbor evpn peer group
|
||||
neighbor evpn next-hop-unchanged
|
||||
neighbor evpn update-source Loopback0
|
||||
neighbor evpn ebgp-multihop 3
|
||||
neighbor evpn send-community extended
|
||||
neighbor evpn maximum-routes 12000 warning-only
|
||||
!
|
||||
! EVPN neighbors (to leaf loopbacks)
|
||||
neighbor 10.0.250.11 peer group evpn
|
||||
neighbor 10.0.250.11 remote-as 65001
|
||||
neighbor 10.0.250.12 peer group evpn
|
||||
neighbor 10.0.250.12 remote-as 65001
|
||||
neighbor 10.0.250.13 peer group evpn
|
||||
neighbor 10.0.250.13 remote-as 65002
|
||||
neighbor 10.0.250.14 peer group evpn
|
||||
neighbor 10.0.250.14 remote-as 65002
|
||||
neighbor 10.0.250.15 peer group evpn
|
||||
neighbor 10.0.250.15 remote-as 65003
|
||||
neighbor 10.0.250.16 peer group evpn
|
||||
neighbor 10.0.250.16 remote-as 65003
|
||||
neighbor 10.0.250.17 peer group evpn
|
||||
neighbor 10.0.250.17 remote-as 65004
|
||||
neighbor 10.0.250.18 peer group evpn
|
||||
neighbor 10.0.250.18 remote-as 65004
|
||||
!
|
||||
! EVPN neighbors (to DC border-leaf loopbacks)
|
||||
neighbor 10.0.250.21 peer group evpn
|
||||
neighbor 10.0.250.21 remote-as 65005
|
||||
neighbor 10.0.250.22 peer group evpn
|
||||
neighbor 10.0.250.22 remote-as 65005
|
||||
!
|
||||
! IPv4 address family
|
||||
address-family ipv4
|
||||
neighbor 10.0.2.1 activate
|
||||
neighbor 10.0.2.3 activate
|
||||
neighbor 10.0.2.5 activate
|
||||
neighbor 10.0.2.7 activate
|
||||
neighbor 10.0.2.9 activate
|
||||
neighbor 10.0.2.11 activate
|
||||
neighbor 10.0.2.13 activate
|
||||
neighbor 10.0.2.15 activate
|
||||
neighbor 10.0.2.17 activate
|
||||
neighbor 10.0.2.19 activate
|
||||
network 10.0.250.2/32
|
||||
!
|
||||
! EVPN address family
|
||||
address-family evpn
|
||||
neighbor evpn activate
|
||||
!
|
||||
end
|
||||
Reference in New Issue
Block a user