Ethernet Channel是指以太网信道,Ethernet Channel是由Cisco研发的技术,它旨在解决交换机与交换机之间的通信问题,方法是将多个快速以太网端口或吉比特以太网端口分组到一个逻辑通道中,使得所有接入层与分布层交换机之间的链路都被捆绑进了EtherChannel中,并且都处于转发模式中。

简介

也称为以太端口捆绑、端口聚集或以太链路聚集.,以太通道为交换机提供了端口捆绑的技术,允许两个交换机之间通过两个或多个端口并行连接,同时传输数据,以提供更高的带宽.  通过端口聚集协议(PAgP)建立以太通道.  端口聚合是目前许多交换机支持的一个高级特性.

配置命令

方法一

Switch(config)#interface range [接口1.2.···]

Switch(config-if-range)#switchport trunk encapsulation dot1q

Switch(config-if-range)#switchport mode trunk

Switch(config-if-range)#channel-group 1 mode on

方法二

Switch(config)#interface range [接口1.2.···]

Switch(config-if)#channel-group 1 mode on

Switch(config-if)#exit

Switch(config)#interface port-channel 1

Switch(config-if)#switchport trunk encapsulation dot1q

Switch(config-if)#switchport mode trunk

方法三

Switch(config)#interface port-channel 1

Switch(config-if)#switchport trunk encapsulation dot1q

Switch(config-if)#switchport mode trunk

Switch(config)#interface [接口1]

Switch(config-if)#switchport trunk encapsulation dot1q

Switch(config-if)#channel-group 1 mode on

Switch(config-if)#switchport mode trunk

Switch(config)#interface [接口2]

Switch(config-if)#switchport trunk encapsulation dot1q

Switch(config-if)#channel-group 1 mode on

······

特点

以太网通道最多可以捆绑8条物理链路,可以是双绞线,也可以是光纤。

规则

参与捆绑的端口必须属于同一个VLAN,或者都是中继模式

如果端口配置是中继模式,则链路中的两个端口必须都是中继模式

所有参与捆绑的端口的物理参数必须相同,例如全部为半双工或者全部为全双