H3C Technologies H3C S5560 Series Switches User Manual
Page 240
206
•
Sets an 802.1p priority value in the SVLAN tag depending on the VLAN ID or 802.1p priority in the
CVLAN tag.
•
Copies the 802.1p priority in the CVLAN tag to the SVLAN tag.
To set the 802.1p priority in SVLAN tags:
Step Command
Remarks
1.
Enter system view.
system-view N/A
2.
Create a traffic class and
enter traffic class view.
traffic classifier classifier-name [ operator { and
| or } ]
By default, no traffic class
is configured.
3.
Configure CVLAN match
criteria.
•
Match CVLAN IDs:
if-match customer-vlan-id vlan-id-list
•
Match 802.1p priority:
if-match customer-dot1p
dot1p-value&<1-8>
N/A
4.
Return to system view.
quit
N/A
5.
Create a traffic behavior
and enter traffic behavior
view.
traffic behavior behavior-name N/A
6.
Configure a priority
marking action for SVLAN
tags.
•
Replace the priority in the SVLAN tags of
matching frames with the configured
priority:
remark dot1p dot1p-value
•
Copy the 802.1p priority in the CVLAN tag
to the SVLAN tag:
remark dot1p customer-dot1p-trust
N/A
7.
Return to system view.
quit
N/A
8.
Create a QoS policy and
enter QoS policy view.
qos policy policy-name
N/A
9.
Associate the traffic class
with the traffic behavior.
classifier classifier-name behavior
behavior-name
N/A
10.
Return to system view.
quit
N/A
11.
Enter Layer 2 Ethernet
interface view.
interface interface-type interface-number
N/A
12.
Configure the port to trust
the 802.1p priority in
incoming frames.
qos trust dot1p
By default, the device
does not trust the 802.1p
priority carried in frames.
Skip this step if the
remark dot1p
customer-dot1p-trust
command is configured.
13.
Enable QinQ.
qinq enable
N/A
- H3C S5130 Series Switches H3C S5120 Series Switches H3C SR8800 H3C SR6600-X H3C SR6600 H3C MSR 5600 H3C MSR 50 H3C MSR 3600 H3C MSR 30 H3C MSR 2600 H3C MSR 20-2X[40] H3C MSR 20-1X H3C MSR 930 H3C MSR 900 H3C WX6000 Series Access Controllers H3C WX5000 Series Access Controllers H3C WX3000 Series Unified Switches H3C LSWM1WCM10 Access Controller Module H3C LSWM1WCM20 Access Controller Module H3C LSQM1WCMB0 Access Controller Module H3C LSRM1WCM2A1 Access Controller Module H3C LSBM1WCM2A0 Access Controller Module