首页/网络/网络设备配置速查/端口流控(flow-control)
接口与链路73 条

端口流控(flow-control)

流控用于拥塞时让对方暂缓发送(PAUSE 帧);存储、备份、服务器接入等突发流量场景常开 receive 方向,防止瞬间拥塞丢包。

网络设备配置速查网络更新于 2026-10-12
场景存储/NAS 接入、突发流量防丢包
适用以太网电口/部分光口
命令族flow-control / flowcontrol / flow-control

华为 VRP

华为 VRP
[Huawei-GigabitEthernet0/0/1] flow-control receive   ! 只对接收方向流控生效
! 也可:flow-control(双向)、flow-control send
<Huawei> display interface GigabitEthernet 0/0/1 | include flow

思科 IOS

思科 IOS
SW-CORE-01(config-if)# flowcontrol receive on
SW-CORE-01(config-if)# flowcontrol send on
# 查看:show interfaces Gi1/0/1 flowcontrol

H3C Comware

H3C Comware
[H3C-GigabitEthernet1/0/1] flow-control receive
! 也可:flow-control(双向)、flow-control send
<H3C> display interface GigabitEthernet 1/0/1 | include flow
三厂默认均关闭。推荐只在需要方向开启:接收方拒收用 receive,发送方暂停对方用 send;双向全开在部分平台会互相影响。服务器端网卡也要同步开流控才真正有效。

易错点

  • 流控只在链路两端都启用时有效,单边开启基本等于没开
  • 流控不能替代 QoS:全网拥塞需要队列调度,PAUSE 只保护瞬时缓冲

数据来源与参考

  • 华为产品文档:以太网接口流控
  • Cisco IOS flowcontrol 命令
  • H3C Comware 7 流控配置

相关工具

​‌‌​​‌​​​‌‌​‌‌‌‌​‌‌​​​‌‌​‌‌‌​​‌‌​​‌​‌‌‌​​‌‌‌​​​‌​‌‌​‌​​‌​‌‌‌​​​‌​‌‌​‌​​‌​‌‌​​​‌‌​‌‌‌​‌​​​‌‌​‌‌‌‌​​‌​‌‌‌​​‌‌​​​‌‌​‌‌​‌‌‌‌​‌‌​‌‌​‌