57 lines
1.3 KiB
INI
57 lines
1.3 KiB
INI
! Campus-Access1 Configuration
|
|
! L2-only access switch for Campus VTEP1 (campus-leaf1/leaf2)
|
|
!
|
|
hostname campus-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 60
|
|
name vrf-gold-campus-subnet1
|
|
!
|
|
! Management interface
|
|
interface Management0
|
|
ip address 172.16.0.61/24
|
|
!
|
|
! Spanning-tree
|
|
spanning-tree mode mstp
|
|
spanning-tree edge-port bpduguard default
|
|
!
|
|
! Uplink to campus leaf MLAG pair (Port-Channel 10)
|
|
interface Ethernet1
|
|
description campus-leaf1-uplink
|
|
channel-group 10 mode active
|
|
!
|
|
interface Ethernet2
|
|
description campus-leaf2-uplink
|
|
channel-group 10 mode active
|
|
!
|
|
interface Port-Channel10
|
|
description uplink-to-campus-leaf-mlag
|
|
switchport mode trunk
|
|
switchport trunk allowed vlan 60
|
|
no shutdown
|
|
!
|
|
! Host-facing access port (single-attached endpoint in VLAN 60)
|
|
interface Ethernet3
|
|
description campus-host1
|
|
switchport mode access
|
|
switchport access vlan 60
|
|
spanning-tree portfast
|
|
spanning-tree bpduguard enable
|
|
no shutdown
|
|
!
|
|
! Default route for management
|
|
ip route 0.0.0.0/0 172.16.0.254
|
|
!
|
|
end
|