wKiom1PHmuujbQX1AAEXFGuio7c994.jpg

1.   配置交换机端口到channel group成员之前,必须确保这些端口都是相同配置,不然channelgroup无法把端口绑到一起。

2.   在端口设置模式 channel-group 1 onon模式直接让端口远离PortAggregation Protocol(PAgP)Link Aggregation Control Protocol(LACP)模式,必须两段都使用on模式。

3.   SPT根据BridgeID选择RootBridge,越小基本越高。

4.   EtherChannel可以让SPTBlocking端口得到利用,充分运用了带宽。SPT会把EtherChannel当成一个端口,所以不会把EtherChannel里面的成员端口block掉。

5.   配置端口之前要先关掉端口,配置之前先讲讲channel-group的模式,active,无条件启用LACP(公共),auto只启用PAgP如果探测到有PAgP(思科专有)设备,desirable无条件启动PAgPon只是打开Etherchannel而已,passive只启用LACP如果探测到LACP设备。

6.   配置完后,可以看到port-channel1也是端口

7.   可以把port-channel 1配置成trunk模式

8.   通过show Etherchannelport-channel查看发现aggregation protocol还没使用,port-channel ag-not-inuse. 通过showEtherChannel summary看状态,发现po1US),uin useslayer2.

PAgP/LACP

1.   PAgPLACP都可以支持八个连接,LACP可以支持16个端口,但是8个是备份的,hotstandby模式,通过port priorityportID决定哪个被激活,越小越好。

2.   设置端口lacp port-priority 100 是端口激活,而不是standby

3.   交换机device ID低的是决策层(MAC地址),决定端口priority,除非你设置了系统priority低。