QoS Configuration
Priority Map Configuration
\[Command] show qos map {all|dot1p to tc|dscp to tc|tc to queue} \[Purpose] Display QoS map configuration information \[Parameter] \[View] System view \[Use Cases] \[Command] show interface qos-map-bind \[Purpose] Show all Qos map and interface binding configurations \[View] System view \[Use Cases] \[Command] show queue counters \[ interface-name ] show queue counters clear \[Purpose] View export queue statistics \[View] System view \[Use Cases] \[Command] qos map type profile name pri origin pri mapped \[Purpose] Add QoS mapping table template \[Parameter] \[View] System configuration view \[User Scenario] If user need to prioritize packets received by a device based on the dot1p/DSCP values carried in the packet for QoS scheduling, user can configure the mapping of packet priorities to local priorities using the qos map {dot1p to tc|dscp to tc} \<profile name> \<in value> \<value> command. The qos map tc to queue \<profile name> \<in value> \<value> command configures the mapping of local priorities to output queues, allowing you to implement different QoS strategies based on different scheduling methods for the output queues.
Traffic Regulation
\[Command] show traffic-behavior rule \[Purpose] Displays the configured aboute CAR policies \[View] System view \[Use Cases] \[Command] show traffic-behavior counters \[Purpose] View the hit statistics for the CAR \[View] System view \[Use Cases] \[Command] traffic-behavior traffic-behavior-name no traffic behavior traffic-behavior-name \[Purpose] Create a traffic behavior and go to the Traffic behavior view, or go to the existing Traffic behavior view, or bind the traffic behavior to interface \[Parameter] \[View] System view, Interface view \[Use Cases] \[Command] car {sr-tcm|tr-tcm} \[meter-type {bytes|packets}] cir cir \[cbs cbs ] \[pir pir ]\[pbs pbs ] \[yellow-packet-action {DROP|FORWARD|REMARK}] \[red-packet-action {DROP|FORWARD|REMARK}] \[remark-dot1p value ] \[remark-dscp value ] \[remark-tc value ] \[Purpose] Create a CAR template to bind to traffic behavior \[Parameter] \[View] Traffic behavior view \[Notes] When the burst size of the message < cbs value, the message is marked as green When cbs value < burst size < pbs value, the message is marked yellow When burst size > pbs value, the message is marked as red no car This command removes the CAR template \[Use Cases] \[Command] traffic-behavior bind \[egress] traffic-behavior-name no traffic-behavior bind traffic-behavior-name \[Purpose] Bind traffic behavior to the interface \[Parameter] \[View] Interface view \[Use Cases]
Queue Scheduling
\[Command] show interface uc-tx-queue \[Purpose] Display the queue scheduling method of the interface \[View] System view \[Use Cases] \[Command] uc-tx-queue scheduler queue id mode STRICT \[pir value ] \[pbs value ] uc-tx-queue scheduler queue id mode DWRR \[weight value ] \[pir value ] \[pbs value ] uc-tx-queue scheduler unicast \[Purpose] Configure a scheduling mode for queues on an interface \[Parameter] \[View] Interface view \[Usage Scenario] In a network, the queue scheduling algorithm is a core mechanism for implementing Quality of Service (QoS) control. It manages the usage of link bandwidth for different types of packets, ensuring that various data streams receive services at different levels.
Traffic Shaping
\[Command] port-shaper enable pir pbs \[Purpose] Configure interface traffic shaping \[Parameter] \[View] Interface view \[Usage Scenario] The traffic shaping of the interface can be directly configured based on the interface, and the effective direction is the output direction of the interface.