| 场景 | 带宽保障型聚合、避免隐性降级 |
|---|---|
| 适用 | 全部设备 |
| 命令族 | least active-linknumber / port-channel min-links / link-aggregation selected-port minimum |
华为 VRP
华为 VRP
[Huawei-Eth-Trunk1] least active-linknumber 2 ! 少于 2 条成员则 Eth-Trunk 整体 down
<Huawei> display eth-trunk 1 ! 查看 Least Active-linknumber 字段思科 IOS
思科 IOS
SW-A(config)# port-channel min-links 2 ! 全局配置(部分平台在 port-channel 接口下)
SW-A# show etherchannel summary
! 低于阈值时 port-channel 置 down,流量绕行H3C Comware
H3C Comware
[H3C-Bridge-Aggregation1] link-aggregation selected-port minimum 2
<H3C> display link-aggregation verbose ! 查看 Selected port minimum对照:华为 least active-linknumber n、思科 port-channel min-links n(部分平台位置不同)、H3C link-aggregation selected-port minimum n。阈值设置要结合业务带宽与可接受降级程度。