61
Step Command Remarks
local-precedence
local-precedence-value
• Set the local QoS ID for packets:
remark qos-local-id local-id-value
• Set the CVLAN for packets:
remark customer-vlan-id vlan-id
• Set the SVLAN for packets:
remark service-vlan-id vlan-id
service provider VLAN
(SVLAN) is the public
network VLAN assigned
by the service provider to
the customer. For more
information about the
CVLAN and SVLAN, see
Layer 2—LAN Switching
Configuration Guide.
7. Return to system view.
quit
N/A
8. Create a QoS policy and
enter QoS policy view.
qos policy
policy-name
By default, no QoS
policy exists.
9. Associate the traffic class
with the traffic behavior in
the QoS policy.
classifier
classifier-name
behavior
behavior-name [
insert-before
before-classifier-name
]
By default, a traffic class
is not associated with a
traffic behavior.
10. Return to system view.
quit
N/A
11. Apply the QoS policy.
• Applying the QoS policy to an interface
• Applying the QoS policy to a VLAN
• Applying the QoS policy globally
• Applying the QoS policy to a control
p
lane
Choose one of the
application destinations
as needed.
By default, no QoS
policy is applied.
12. (Optional.) Display the
priority marking
configuration.
display traffic behavior user-defined
[ behavior-name ]
Available in any view.
Priority marking configuration examples
Local precedence marking configuration example
Network requirements
As shown in Figure 18, configure priority marking on the switch to meet the following requirements:
Traffic source Destination Processing priority
Host A, B Data server High
Host A, B Mail server Medium
Host A, B File server Low