API Guide
Identifier GUID-ACCF1F70-775B-4AC2-96B1-1FCE9A4DBD9D
Version 2
Status Translation approved
lacp fallback preemption
启用或禁用 LACP 回退端口抢占。
语法
lacp fallback preemption {enable | disable}
参数
• enable — 启用端口通道上的抢占。
• disable — 禁用端口通道上的抢占。
默认 已启用
命令模式
Port-channel INTERFACE
使用情况信息
启用抢占时,回退端口选择将抢占已选择的回退端口,并选择新的回退端口。
将根据以下事件选择新端口:
• 当非回退端口配置为低优先级时。
• 当低优先级端口在运行时变为开启状态时。
• 当具有最少编号的端口在运行时变为开启状态时。
• 如果在禁用了抢占的情况下在端口上配置了非默认 LACP 端口优先级,则选择具有最低优先级的端口作为
回退端口。
• lacp fallback preemption disable 命令不适用于已配置或触发的端口优先级事件。
示例
OS10# configure terminal
OS10(config)# interface port-channel 1
OS10(conf-if-po-1)# lacp fallback preemption enable
OS10# configure terminal
OS10(config)# interface port-channel 1
OS10(conf-if-po-1)# lacp fallback preemption disable
支持的版本
10.4.1.0 or later
Identifier GUID-4AD83E4E-018C-4C50-ADE2-A449A281BE4F
Version 2
Status Translation approved
lacp fallback timeout
配置 LACP 回退超时期限。
语法
lacp fallback timeout timer-value
参数
timer-value— 输入定时器值(以秒为单位),从 0 到 100 秒。
默认
15 秒
命令模式
Port-channel INTERFACE
使用情况信息
此命令的 no 版本将计时器返回到默认值。
示例
OS10# configure terminal
OS10(config)# interface port-channel 1
OS10(conf-if-po-1)# lacp fallback timeout 20
支持的版本
10.3.2E(R3) or later
396 第 2 层