hostname DIST-SW1
!
interface Port-channel10
 description Trunk to access stack
 switchport trunk allowed vlan 10,20
 switchport mode trunk
!
interface Port-channel20
 description L3 uplink to core
 no switchport
 ip address 10.0.20.1 255.255.255.252
!
interface GigabitEthernet1/0/1
 switchport trunk allowed vlan 10,20
 switchport mode trunk
 channel-group 10 mode active
!
interface GigabitEthernet1/0/2
 switchport trunk allowed vlan 10,20
 switchport mode trunk
 channel-group 10 mode active
!
interface GigabitEthernet1/0/3
 no switchport
 channel-group 20 mode active
!
interface GigabitEthernet1/0/4
 no switchport
 channel-group 20 mode active
!
interface GigabitEthernet1/0/10
 switchport mode access
 switchport access vlan 10
!
ip route 0.0.0.0 0.0.0.0 10.0.20.2
end
