#tussen de () is na eigen invulling
#max 8 lijnen naar tussen 2 switches
*switch 1
vlan (10)
vlan (20)
exit
int (f0/1)
switchport mode access
switchport access vlan (10)
int (f0/10)
switchport mode access
switchport access vlan (20)
exit
*switch 2
vlan (10)
vlan (20)
exit
int (f0/1)
switchport mode access
switchport access vlan (10)
int (f0/10)
switchport mode access
switchport access vlan (20)
exit
*switch 1
int range (g0/1-2)
channel-group 1 mode active
exit
int port-channel 1
switchport mode trunk
switchport trunk allowed vlan (10),(20)
*switch 2
int range (g0/1-2)
channel-group 1 mode passive
exit
int port-channel 1
switchport mode trunk
switchport trunk allowed vlan (10),(20)
*switch 3
vlan 10
vlan 20
*switch 3
int range (f0/17-20)
channel-group 2 mode desirable
exit
int port-channel 2
switchport mode trunk
switchport trunk allowed vlan (10),(20)
*switch 2
int range (f0/17-20)
channel-group 2 mode auto
exit
int port-channel 2
switchport mode trunk
switchport trunk allowed vlan (10),(20)
*switch 3
int range (f0/17-20)
channel-group 3 mode on
exit
int port-channel 3
switchport mode trunk
switchport trunk allowed vlan (10),(20)
*switch 1
int range (f0/17-20)
channel-group 3 mode on
exit
int port-channel 3
switchport mode trunk
switchport trunk allowed vlan (10),(20)