API Guide

3. INTERFACE 模式下配置 LACP 默认正常
lacp rate [fast | normal]
配置 LACP
OS10(config)# lacp system-priority 65535
OS10(config)# interface range ethernet 1/1/7-1/1/8
OS10(conf-range-eth1/1/7-1/1/8)# lacp port-priority 4096
OS10(conf-range-eth1/1/7-1/1/8)# lacp rate fast
验证 LACP 配置
OS10(conf-range-eth1/1/7-1/1/8)# do show running-configuration
...
!
interface ethernet1/1/7
lacp port-priority 4096
lacp rate fast
no shutdown
!
interface ethernet1/1/8
lacp port-priority 4096
lacp rate fast
no shutdown
!
...
Identifier
GUID-8D39C95D-7DF7-49C2-B8CD-FCCA6FB87340
Version 6
Status Translation approved
接口
创建 LAG 并添加 LAG 成员接口。默认情况下所有接口都处于 no shutdown switchport 模式。
1. CONFIGURATION 模式下创建 LAG
interface port-channel port-channel number
2. 进入 INTERFACE 模式。
interface ethernet node/slot/port[:subport]
3. INTERFACE 模式下将通道组模式设置为有效。
channel-group number mode active
配置动态 LAG 接口
OS10(config)# interface port-channel 10
OS10(conf-if-po-10)# exit
OS10(config)# interface ethernet 1/1/10
OS10(conf-if-eth1/1/10)# no switchport
OS10(conf-if-eth1/1/10)# channel-group 10 mode active
OS10(conf-if-eth1/1/10)# exit
OS10(config)# interface ethernet 1/1/11
OS10(conf-if-eth1/1/11)# no switchport
OS10(conf-if-eth1/1/11)# channel-group 10 mode active
2 387