首页/网络/VLAN 与高可用速查/Cisco EtherChannel 配置
本包目录(422 条)

Cisco EtherChannel 配置

Cisco 用 channel-group 把成员口绑定到 Port-channel,mode active 为 LACP 主动协商;逻辑配置在 Port-channel 接口上。

VLAN 与高可用速查网络更新于 2026-10-12

配置示例

配置示例
interface range GigabitEthernet1/0/1-2
 channel-group 1 mode active
interface Port-channel1
 switchport mode trunk
 switchport trunk allowed vlan 10,20
!
show etherchannel summary
mode on 为静态(不协商);active/passive 为 LACP 的两种角色。

易错点

  • 成员口 channel-group 编号写错会把两条线拆进不同聚合组,故障表现隐蔽
  • 在成员口与应用层配置(如 VLAN)会与 port-channel 配置冲突,统一在 port-channel 上配置

数据来源与参考

  • Cisco IOS 配置手册(EtherChannel)
​‌‌​​‌​​​‌‌​‌‌‌‌​‌‌​​​‌‌​‌‌‌​​‌‌​​‌​‌‌‌​​‌‌‌​​​‌​‌‌​‌​​‌​‌‌‌​​​‌​‌‌​‌​​‌​‌‌​​​‌‌​‌‌‌​‌​​​‌‌​‌‌‌‌​​‌​‌‌‌​​‌‌​​​‌‌​‌‌​‌‌‌‌​‌‌​‌‌​‌