Configuring Cisco Switches for Link Aggregation Load Sharing Mode
These are sample configuration commands for Cisco switches (for the exact commands, refer to the Cisco documentation for your switch model and the switch operating system version).
For 802.3ad (LACP)
Switch# conf t Switch(config)# port-channel load-balance src-dst-ip Switch(config)# interface FastEthernet <all the participating ports> Switch(config-if)# channel-group 1 mode active Switch(config-if)# channel-protocol lacp Switch(config-if)# exit Switch(config)# interface port-channel 1 Switch(config-if)# switchport access vlan <desired vlan number> Switch(config-if)# end Switch# write |
For XOR
Switch# conf t Switch(config)# port-channel load-balance src-dst-ip Switch(config)# interface FastEthernet <all the participating ports> Switch(config-if)# channel-group 1 mode on Switch(config-if)# exit Switch (config)# interface port-channel 1 Switch(config-if)# switchport access vlan <desired vlan number> Switch(config-if)# end Switch# write |