Catalyst 2950 switch
5-2950#configure t
Enter configuration commands, one per line. End with CNTL/Z.
5-2950(config)#interface fa0/1
5-2950(config-if)#channel-group 1 mode desirable
Creating a port-channel interface Port-channel1
!-- The software is dynamically creating the port channel interface.
5-2950(config-if)#
*Mar 16 13:50:56.185: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down
*Mar 16 13:50:57.013: %EC-5-BUNDLE: Interface Fa0/1 joined port-channel Po1
*Mar 16 13:50:58.053: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
*Mar 16 13:50:59.021: %LINK-3-UPDOWN: Interface Port-channel1, changed state to up
*Mar 16 13:51:00.021: %LINEPROTO-5-UPDOWN: Line protocol on Interface Port-channel1, changed state to up
5-2950(config-if)#
5-2950(config)#interface fa0/2
5-2950(config-if)#channel-group 1 mode desirable
5-2950(config-if)#
5-2950(config-if)#interface port-channel 1
!-- Configuring the port channel interface to be a trunk pulls fa0/1&2 in.
5-2950(config-if)#switchport mode trunk
*Mar 14 15:31:13.428: %DTP-5-TRUNKPORTON: Port Fa0/1 has become dot1q trunk
*Mar 14 15:31:14.880: %EC-5-BUNDLE: Interface Fa0/1 joined port-channel Po1
*Mar 14 15:31:14.908: %EC-5-UNBUNDLE: Interface Fa0/2 left the port-channel Po1
*Mar 14 15:31:14.944: %EC-5-BUNDLE: Interface Fa0/2 joined port-channel Po1
*Mar 14 15:31:15.908: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
5-2950#show run
Building configuration...
Current configuration : 1608 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log datetime msec localtime
no service password-encryption
!
hostname 5-2950
!
!
clock timezone PST -8
ip subnet-zero
no ip finger
no ip domain-lookup
cluster enable SWITCH 0
!
!
!
interface Port-channel 1
!-- The port channel interface where you configure trunking that is inherited
!-- by the members of the channel group.
switchport mode trunk
!
interface FastEthernet0/1
switchport mode trunk
channel-group 1 mode desirable
!-- The channel group corresponding to interface port-channel 1.
!
interface FastEthernet0/2
switchport mode trunk
channel-group 1 mode desirable
!-- The channel group corresponding to interface port-channel 1.
!
Catalyst 4000 switch
Console (enable)set port channel 2/19-20 mode desirable
Port(s) 2/19-20 channel mode set to desirable.
Console (enable) 2003 Jan 08 11:40:14 %PAGP-5-PORTFROMSTP:Port 2/19 left bridge port 2/19
2003 Jan 08 11:40:14 %PAGP-5-PORTFROMSTP:Port 2/20 left bridge port 2/20
2003 Jan 08 11:40:18 %PAGP-5-PORTTOSTP:Port 2/19 joined bridge port 2/19
2003 Jan 08 11:40:18 %PAGP-5-PORTTOSTP:Port 2/20 joined bridge port 2/20
Console (enable)set trunk 2/19 desirable
!-- By setting the trunk on the first port of the channel,
!-- it dynamically trunks all channel ports.
Port(s) 2/19-20 trunk mode set to desirable.
!
Console (enable)
!-- Dot1q trunk will adopt the port's VLAN assignment (VLAN 1 by default) as its native VLAN.
!-- If this were a Catalyst 5000 or 6000 (that also support ISL trunking), you would specify
!-- dot1q encapsulation here as the Catalyst 2950 only supports dot1q.