SP680无TC限速场景。
设置ETS的开关、优先级与TC映射、TC的权重、TC限速。
<tool name> qos -i <device name> -t ets [-p <port id>] {-c <cos_tc>|-w <tc_weight>|-l <tc_ratelimit>}*
参数 |
参数说明 |
取值 |
---|---|---|
<device name> |
设备名称。 |
物理设备名或网络设备名,例如:enp134s0f0、eth0、hinic0。 |
<port id> |
端口号。 eth*设备名称不用“-p”选项。 |
例如:0、1。 |
<cos_tc> |
设置priority 0-1-2-3-4-5-6-7的TC值。 |
范围:0~7。可重复。 |
<tc_weight> |
设置TC 0-1-2-3-4-5-6-7的调度权重。 |
默认值为0。 |
<tc_ratelimit> |
设置TC0~TC7的限速值。 |
范围:0~200。可重复。
|
项目 |
描述 |
---|---|
result |
返回设置结果。 |
1 2 | hinicadm3 qos -i eth0 -t ets -c 0,1,2,3,4,5,6,7 -w 10,10,10,10,10,10,10,30 Set eth0 ets succeed. |
设置TC限速。
1 2 | hinicadm3 qos -i enp1s0f0 -t ets -l 0,0,0,0,0,0,0,20 Set enp1s0f0 ets succeed. |