The port rate between switches and switches, between switches and routers, does not meet the actual rate and requires tying more than two ports together to load balance and prevent single points of failure.
1. Select Switch SW2960 to configure the F0/1 and F0/2 port modes to truck
#conf Terminal into privileged mode
#interface Range Fa0/1–2 used to bind a set of ports and enter the port batch configuration view Figure
#switchport mode truck will figure port this is only truck mode
2. add fa0/1 and FA0/2 to link Group 1 and turn on----load balancing by Destination host address IP data distribution-View the aggregation port configuration through show EtherChannel summary.
#channel-group1 mode on bind the two interfaces to a group and specify the on mode group number to be locally valid
#Showetherchannel Summary can see how many ports are bound
650) this.width=650; "Src=" Http://s4.51cto.com/wyfs02/M01/86/04/wKiom1eynoTx8o7NAAAfsUj1lk4517.png-wh_500x0-wm_3 -wmp_4-s_650986950.png "title=" 6b706e15t92528858e371&690.png "alt=" Wkiom1eynotx8o7naaafsuj1lk4517.png-wh_50 " />
Note: Cisco switches allow a maximum of 8 ports to be bound.
If it is a 100Mbps port, it can reach 800mbit/s after aggregation
if it is 1000Mbps Port, up to 8gbit/s after aggregation
two-layer interface cannot be configured IP address, cannot announce route by agreement, only two layer Ethernet frame forwarding.
the three-tier interface can be configured with IP addresses, can run routing protocols, can receive IP packets, and forwards
All ports in the EtherChannel must have the same rate and duplex mode. LACP can only be full duplex
$ The following is the Port-channel distribution of the Cisco switch
Interface Channel-group 1
Interface Range FastEthernet 0/1-2
Duplex full
Speed 100
Switchport Trunk encapsolation dot1q
Switchport mode Trunk
No shut
Channel-group 1 mode on
Interface Channel-group 1
Switchport Trunk Encapsulation dot1q
Switchport mode Trunk
No shut
Both sides simultaneously with this on the line, if it's your other port, it's in that Interface Range fashethernet 0/x-y
can bind multiple 16 bar.
It's best to connect a line between the bindings, and the other one to wait until you finish this. Port-channel configure and then plug in, because if didn't do Port-channel two lines are inserted before configuration, there will be two layers of loops, which may cause the switch CPU the utilization rate has risen sharply and cannot be configured. Even the crash. Because the general switch ( except Cisco), such as Huawei and so on by default are not open spanning-tree protocol, and some even do not support the spanning Tree protocol
This article is from the "Glorious Years" blog, please be sure to keep this source http://freechao.blog.51cto.com/8726187/1839181
Cisco switch Port aggregation configuration