Creating an LACP link aggregation
Switch1#enable
Password:password
Switch1#config term
config command
1
.
.
Ctrl+z
Switch1(config-if)#interface range gigabitethernet 3/1 - 3
Switch1(config-if-range)#no ip address
Switch1(config-if-range)#channel-protocol lacp
Switch1(config-if-range)#channel-group 1 mode active
Creating a port-channel interface Port-channel 1
Switch1(config-if-range)#end
Switch1#config term
config command
.
.
Ctrl+z
Switch1(config)#interface port-channel 1
Switch1(config-if)#no shutdown
Switch1(config-if)#end
1
Enter configuration commands, one per line. End with
Ctrl+z
or
end
.
Creating an PAgP link aggregation
Switch1#enable
Password:password
Switch1#config term
config command
1
.
.
Ctrl+z
Switch1(config-if)#interface range gigabitethernet 7/1 - 4
Switch1(config-if-range)#no ip address
Switch1(config-if-range)#channel-protocol pagp
Switch1(config-if-range)#channel-group 7 mode desirable
Creating a port-channel interface Port-channel 7
Switch1(config-if-range)#end
Switch1#config term
config command
.
.
Ctrl+z
Switch1(config)#interface port-channel 7
Switch1(config-if)#no shutdown
Switch1(config-if)#end
1
Enter configuration commands, one per line. End with
Ctrl+z
or
end
.
Displaying the link aggregation
Switch1#show etherchannel port-channel
Channel-group listing:
-----------------------
Group: 1
----------
Port-channels in the group:
----------------------
112
Switch configuration information