配置示例
配置示例
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 summarymode on 为静态(不协商);active/passive 为 LACP 的两种角色。
Cisco 用 channel-group 把成员口绑定到 Port-channel,mode active 为 LACP 主动协商;逻辑配置在 Port-channel 接口上。
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