Link Aggregation/Trunks Lab
This lab pertains to basic link aggregation/trunking and Cisco EtherChannel.
We will configure all of these technologies and look at show commands.
Configure Trunking
We will configure trunking on interfaces G0/0 first.
SW1:
(config-if)#switchport trunk encapsulation "dot1q"
(config-if)#switchport mode "trunk"
(config-if)#switchport trunk allowed vlan "10"
(config-if)#no shut
SW2 will have the same commands.
The show commands will let us see if this interface is configured correctly.
#show interfaces "trunk"
Configure Generic Link Aggregation
We will now configure generic link aggregation with a trunk over it.
SW1:
(config)#int range "g0/1-2"
(config-if)#channel-group "1" mode on
(config-if)#no shut
(config-if)#exit
Configure the trunk over the port-channel.
(config)#int "p01"
(config-if)#switchport trunk encapsulation "dot1q"
(config-if)#switchport mode "trunk"
(config-if)#switchport trunk allowed vlan "10"
Configure Cisco EtherChannel