cos

Function

The cos command displays a queue priority sub-view of a flow queue profile in enhanced 8-CoS mode.

The undo cos command restores the default configuration in a queue priority sub-view of a flow queue profile in enhanced 8-CoS mode.

By default, the default configurations of eight queue priority sub-views exist in a flow queue profile in enhanced 8-CoS mode.

Format

cos cos-value

undo cos cos-value

Parameters

Parameter Description Value
cos-value

Specifies a CoS for a flow queue.

The value is an integer that ranges from 0 to 7.

  • 0: cos 0
  • 1: cos 1
  • 2: cos 2
  • 3: cos 3
  • 4: cos 4
  • 5: cos 5
  • 6: cos 6
  • 7: cos 7

Views

Flow-queue-8cos-enhance template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
qos write

Usage Guidelines

Usage Scenario

You can configure scheduling parameters (including a scheduling priority, weight, CIR, PIR, and drop policy) for eight priority flow queues in a flow queue profile in enhanced 8-CoS mode, providing differentiated QoS guarantee for service traffic with different priorities.

Prerequisites

Before configuring scheduling parameters for a user queue with a specified priority, you must run this command to enter the queue priority sub-view.

Precautions

Only CR5DNPU48071/CR5DNPU1TM71 boards support a flow queue profile in enhanced 8-CoS mode.

Example

# Display the priority sub-view of the queue with CoS 1 of a flow queue profile in enhanced 8-CoS mode.
<HUAWEI> system-view
[~HUAWEI] flow-queue test 8cos-enhance-mode
[*HUAWEI-flow-queue-template-test] cos 1
[~HUAWEI-flow-queue-template-test-cos1]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >