/interface/ethernet/switch/qos/priority-flow-control

priority-flow-control

PFC configuration is organized in profiles. Different switch ports can be assigned to different PFC profiles. The maximum number of hardware Tx managers depends on the switch chip model. The builtin profile named...


interface/ethernet/switch/qos/priority-flow-control

Syscap: rbswitch and crs_prestera and !prestera-ac3 Type: Directory

PFC configuration is organized in profiles. Different switch ports can be assigned to different PFC profiles. The maximum number of hardware Tx managers depends on the switch chip model. The builtin profile named "disabled" cannot be changed.

标志名称描述
*default
Xdisabled
Iinactive
Hhw-offloaded
参数类型描述
name *stringPFC 配置文件的用户定义名称。
traffic-class *multi { array-id, tc: num [ .. 7] }启用 PFC 的流量类别列表。
rxbool启用接收 PFC 帧。收到的 PFC 帧会按该帧指定的持续时间暂停接收该帧的端口上的特定优先级队列。禁用 rx 会禁用队列暂停。
txbool启用发送 PFC 帧。
pause-thresholdalt { pause-threshold-pct: num [ .. 100] , pause-threshold-byte: num [1536 .. ] }当入队数据包总大小达到此阈值时发送暂停帧(XOFF)。入队数据包按入口端口计数。仅在 tx=yes 时适用。该值可以按字节显式给出,也可以按相应共享池大小(shared-poolX-byte-cap)的百分比给出。
resume-thresholdalt { resume-threshold-pct: num [ .. 100] , resume-threshold-byte: num [256 .. ] }当入队数据包总大小降至此阈值时发送恢复帧(XON)。入队数据包按入口端口计数。仅在 tx=yes 时适用。该值可以按字节显式给出,也可以按相应共享池大小(shared-poolX-byte-cap)的百分比给出。
只读参数类型描述
hw-idnum