A link aggregation: Manual mode Private

First, the topology:

       

Note: In this experiment between two ports connected to the switch 11 and 12, respectively, may be selected from any of the local port. When link aggregation setting is completed, the two lines will communicate.

 Second, the experimental steps:

(In which a switch as an example, with this configuration the same as another switch)

1, is set to host IP

2, the switch to set the IP

Switch>enable
Switch#config
Configuring from terminal, memory, or network [terminal]? 
Enter configuration commands, one per line.  End with CNTL/Z.
Switch(config)#interface vlan 1
Switch(config-if)#ip address 192.168.1.100 255.255.255.0
Switch(config-if)#no shutdown

3, do load balancing ( the meaning of this command is to enable the destination IP load balancing)

Switch(config-if)#exit
Switch(config)#port-channel load-balance src-ip 

4, disposed link aggregation

(1) Set the trunk access port

Switch(config)#interface range fastEthernet 0/11-12
Switch(config-if-range)#switchport mode trunk  

(2) create a link group 1 and open

Switch(config-if-range)#channel-group 1 mode on
Added: channel-group name is added later, all rows (below.) Within 1-6
Switch(config-if-range)#channel-group ?
  <1-6>  Channel group number

  Third, the purpose of the experiment :

     A plurality of linked ports on the switch, physically bundled together logically, a port is formed has a large bandwidth, to implement load balancing, and providing redundant links.

Guess you like

Origin www.cnblogs.com/py2019/p/12064601.html