为了配置无损网络,需要配置交换机。本文以HUAWEI CE6863-48S6CQ的交换机为例,执行流控策略。
- 登录交换机,设置PFC(Priority-based Flow Control)译文优先级。
|
system-view
dcb pfc
priority 0
commit
quit
|
- 查看PFC优先级使能。
命令返回0表示1配置成功。

- 配置ECN(Explicit Congestion Notification)。
|
system-view
drop-profile ecn
color green buffer-size low-limit 247520 high-limit 18000000 discard-percentage 100
commit
quit
|
- 查看ECN。
命令返回如下信息,表示3配置成功。

- 为每个流量端口配置流控。此处以25GE 1/0/5端口为例。
|
interface 25GE 1/0/5
qos queue 0 wred ecn
qos queue 0 ecn
dcb pfc enable mode manual
dcb pfc buffer 0 xoff static 1500 cells
commit
quit
|
- 查看端口流控配置是否成功。
|
interface 25GE 1/0/5
display this
|
命令返回5中的配置信息,则表示端口流控配置成功。