使能带宽限速。
<tool name> roce_bw_ctrl -i <device name> -t <type> -c <cir> -p <pir> -n <cnp_threshold>
参数 |
参数说明 |
取值 |
---|---|---|
<device name> |
设备名称。 |
RoCE设备,例如:hrn3_bond_0。 |
<type> |
操作类型。 |
|
<cir> |
提交的限速门限。 |
默认值:21Gbps。 |
<pir> |
峰值限速门限。 |
默认值:25Gbps。 |
<cnp_threshold> |
ECN标记值。 |
默认值:3。 |
项目 |
描述 |
---|---|
roce_bw_ctrl command error(-1): roce bw ctrl type not set |
参数错误。 |
其他 |
操作成功。 |
无。
1 | hinicadm3 roce_bw_ctrl -i hrn3_0 -t enable_bw_ctrl -c 1 -p 1 |