Add access layer

This commit is contained in:
2026-03-30 13:03:25 +00:00
parent 7034751c80
commit 3515bdadc2
14 changed files with 373 additions and 46 deletions

65
configs/access1.cfg Normal file
View File

@@ -0,0 +1,65 @@
! Access1 Configuration
! L2-only access switch for VTEP1 (leaf1/leaf2)
!
hostname access1
!
! 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
!
! VLANs
vlan 40
name test-l2-vxlan
!
! Management interface
interface Management0
ip address 172.16.0.41/24
!
! Spanning-tree
spanning-tree mode mstp
spanning-tree edge-port bpduguard default
!
! Uplink to leaf MLAG pair (Port-Channel 10)
interface Ethernet1
description leaf1-uplink
channel-group 10 mode active
!
interface Ethernet2
description leaf2-uplink
channel-group 10 mode active
!
interface Port-Channel10
description uplink-to-leaf-mlag
switchport mode trunk
switchport trunk allowed vlan 40
no shutdown
!
! Host-facing downlink (Port-Channel 1)
interface Ethernet3
description host1
channel-group 1 mode active
!
interface Ethernet4
description host1
channel-group 1 mode active
!
interface Port-Channel1
description host1
switchport mode trunk
switchport trunk allowed vlan 40
port-channel lacp fallback timeout 5
port-channel lacp fallback individual
spanning-tree portfast
no shutdown
!
! Default route for management
ip route 0.0.0.0/0 172.16.0.254
!
end

65
configs/access2.cfg Normal file
View File

@@ -0,0 +1,65 @@
! Access2 Configuration
! L2-only access switch for VTEP2 (leaf3/leaf4)
!
hostname access2
!
! 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
!
! VLANs
vlan 34
name vrf-gold-subnet
!
! Management interface
interface Management0
ip address 172.16.0.42/24
!
! Spanning-tree
spanning-tree mode mstp
spanning-tree edge-port bpduguard default
!
! Uplink to leaf MLAG pair (Port-Channel 10)
interface Ethernet1
description leaf3-uplink
channel-group 10 mode active
!
interface Ethernet2
description leaf4-uplink
channel-group 10 mode active
!
interface Port-Channel10
description uplink-to-leaf-mlag
switchport mode trunk
switchport trunk allowed vlan 34
no shutdown
!
! Host-facing downlink (Port-Channel 1)
interface Ethernet3
description host2
channel-group 1 mode active
!
interface Ethernet4
description host2
channel-group 1 mode active
!
interface Port-Channel1
description host2
switchport mode trunk
switchport trunk allowed vlan 34
port-channel lacp fallback timeout 5
port-channel lacp fallback individual
spanning-tree portfast
no shutdown
!
! Default route for management
ip route 0.0.0.0/0 172.16.0.254
!
end

65
configs/access3.cfg Normal file
View File

@@ -0,0 +1,65 @@
! Access3 Configuration
! L2-only access switch for VTEP3 (leaf5/leaf6)
!
hostname access3
!
! 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
!
! VLANs
vlan 40
name test-l2-vxlan
!
! Management interface
interface Management0
ip address 172.16.0.43/24
!
! Spanning-tree
spanning-tree mode mstp
spanning-tree edge-port bpduguard default
!
! Uplink to leaf MLAG pair (Port-Channel 10)
interface Ethernet1
description leaf5-uplink
channel-group 10 mode active
!
interface Ethernet2
description leaf6-uplink
channel-group 10 mode active
!
interface Port-Channel10
description uplink-to-leaf-mlag
switchport mode trunk
switchport trunk allowed vlan 40
no shutdown
!
! Host-facing downlink (Port-Channel 1)
interface Ethernet3
description host3
channel-group 1 mode active
!
interface Ethernet4
description host3
channel-group 1 mode active
!
interface Port-Channel1
description host3
switchport mode trunk
switchport trunk allowed vlan 40
port-channel lacp fallback timeout 5
port-channel lacp fallback individual
spanning-tree portfast
no shutdown
!
! Default route for management
ip route 0.0.0.0/0 172.16.0.254
!
end

65
configs/access4.cfg Normal file
View File

@@ -0,0 +1,65 @@
! Access4 Configuration
! L2-only access switch for VTEP4 (leaf7/leaf8)
!
hostname access4
!
! 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
!
! VLANs
vlan 78
name vrf-gold-subnet
!
! Management interface
interface Management0
ip address 172.16.0.44/24
!
! Spanning-tree
spanning-tree mode mstp
spanning-tree edge-port bpduguard default
!
! Uplink to leaf MLAG pair (Port-Channel 10)
interface Ethernet1
description leaf7-uplink
channel-group 10 mode active
!
interface Ethernet2
description leaf8-uplink
channel-group 10 mode active
!
interface Port-Channel10
description uplink-to-leaf-mlag
switchport mode trunk
switchport trunk allowed vlan 78
no shutdown
!
! Host-facing downlink (Port-Channel 1)
interface Ethernet3
description host4
channel-group 1 mode active
!
interface Ethernet4
description host4
channel-group 1 mode active
!
interface Port-Channel1
description host4
switchport mode trunk
switchport trunk allowed vlan 78
port-channel lacp fallback timeout 5
port-channel lacp fallback individual
spanning-tree portfast
no shutdown
!
! Default route for management
ip route 0.0.0.0/0 172.16.0.254
!
end

View File

@@ -78,13 +78,13 @@ interface Ethernet12
ip address 10.0.2.1/31
mtu 9214
!
! Host-facing interface (MLAG with LACP)
! Access-facing interface (MLAG with LACP)
interface Ethernet1
description host1
description access1
channel-group 1 mode active
!
interface Port-Channel1
description host1
description access1
switchport mode trunk
switchport trunk allowed vlan 40
mlag 1

View File

@@ -78,13 +78,13 @@ interface Ethernet12
ip address 10.0.2.3/31
mtu 9214
!
! Host-facing interface (MLAG with LACP)
! Access-facing interface (MLAG with LACP)
interface Ethernet1
description host1
description access1
channel-group 1 mode active
!
interface Port-Channel1
description host1
description access1
switchport mode trunk
switchport trunk allowed vlan 40
mlag 1

View File

@@ -91,13 +91,13 @@ interface Ethernet12
ip address 10.0.2.5/31
mtu 9214
!
! Host-facing interface (MLAG with LACP)
! Access-facing interface (MLAG with LACP)
interface Ethernet1
description host2
description access2
channel-group 1 mode active
!
interface Port-Channel1
description host2
description access2
switchport mode trunk
switchport trunk allowed vlan 34
mlag 1

View File

@@ -91,13 +91,13 @@ interface Ethernet12
ip address 10.0.2.7/31
mtu 9214
!
! Host-facing interface (MLAG with LACP)
! Access-facing interface (MLAG with LACP)
interface Ethernet1
description host2
description access2
channel-group 1 mode active
!
interface Port-Channel1
description host2
description access2
switchport mode trunk
switchport trunk allowed vlan 34
mlag 1

View File

@@ -79,13 +79,13 @@ interface Ethernet12
ip address 10.0.2.9/31
mtu 9214
!
! Host-facing interface (MLAG with LACP)
! Access-facing interface (MLAG with LACP)
interface Ethernet1
description host3
description access3
channel-group 1 mode active
!
interface Port-Channel1
description host3
description access3
switchport mode trunk
switchport trunk allowed vlan 40
mlag 1

View File

@@ -78,13 +78,13 @@ interface Ethernet12
ip address 10.0.2.11/31
mtu 9214
!
! Host-facing interface (MLAG with LACP)
! Access-facing interface (MLAG with LACP)
interface Ethernet1
description host3
description access3
channel-group 1 mode active
!
interface Port-Channel1
description host3
description access3
switchport mode trunk
switchport trunk allowed vlan 40
mlag 1

View File

@@ -97,13 +97,13 @@ interface Ethernet12
ip address 10.0.2.13/31
mtu 9214
!
! Host-facing interface (MLAG with LACP)
! Access-facing interface (MLAG with LACP)
interface Ethernet1
description host4
description access4
channel-group 1 mode active
!
interface Port-Channel1
description host4
description access4
switchport mode trunk
switchport trunk allowed vlan 78
mlag 1

View File

@@ -97,13 +97,13 @@ interface Ethernet12
ip address 10.0.2.15/31
mtu 9214
!
! Host-facing interface (MLAG with LACP)
! Access-facing interface (MLAG with LACP)
interface Ethernet1
description host4
description access4
channel-group 1 mode active
!
interface Port-Channel1
description host4
description access4
switchport mode trunk
switchport trunk allowed vlan 78
mlag 1