S1(config)#port-channel load-balance src-dst-port
S1(config)#interface range gi0/1-4
S1(config-if)#channge-protocol pagp
S1(config-if)#channel-group 1 mode desirable non-silent
設定LACP EtherChannel
S1(config)#lacp system-priority 100
S1(config)#interface range gi0/1-2
S1(config-if)#channge-protocol lacp
S1(config-if)#channel-group 1 mode active
S1(config-if)#lacp port-priority 100 需要備援時
S1(config-if)#exit
S1(config)#interface range gi0/3-4
S1(config-if)#channge-protocol lacp
S1(config-if)#channel-group 1 mode active
確認狀態
S1#show etherchannel summary
確認狀態
S1#show etherchannel summary