QoS Configuration 361
QoS Configuration The process of QoS based traffic:
1Identify the traffic by ACL
2Perform the QoS operation to the traffic.
The configuration steps of QoS based traffic:
1Define the ACL
2Configure the QoS operation
If QoS is not based on traffic, you need not define ACL first.
See “Configuring ACL” for information on how to define ACL. This section mainly
describes how to configure QoS operation.
Setting Port Priority By default, the switch trusts the 802.1p prioiry and forwards a packet into one of the
eight CoS queues accordingly. After configuring the port priority, the switch puts the
packets into the specific queue associated with the prioirity assigned to the receiving
port.
Perform the following configuration in Ethernet Port View.
Table369 Setting Port Priority
The Switch port supports eight priority levels. You can configure the port priority to
your requirements.
priority-level ranges from 0 to 7.
Configuring the Priority
for Protocol Packets
Each protocol packet has its own priority. Users can modify the priority of the protocol
packet, and, with the help of relevant QoS commands, perform corresponding QoS
operations.
Configuration procedures are as follows:
To remove the relevant configuration, use the undo command.
Currently only packets of OSPF, LNET, MP, and MP can have their priorities modified.
Operation Command
Set the port priority priority priority_level
Restore the port to priority trust undo priority
Table370 Configure the priority for a protocol packet
Operation Command Description
Enter system view system-view —
Configure the priority of
the protocol packet
protocol-priority protocol-type
protocol-type { ip-precedence
ip-precedence | dscp dscp-value }
Required.
Users can modify the IP priority or
DSCP priority of the protocol
packet.
Display the priority of a
protocol packet.
display protocol-priority Optional.
The display command can be
used under any view.