Add access layer
This commit is contained in:
65
configs/access1.cfg
Normal file
65
configs/access1.cfg
Normal 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
|
||||
Reference in New Issue
Block a user