222
C
HAPTER
27: Q
O
S C
ONFIGURATION
You can select the priority trust mode of the port as you require.
In the mode of trusting the packet precedence, the switch can trust the following
priorities as you configure:
■
Trust the 802.1p priority of the packets
■
Trust the DSCP precedence of the packets
Trusting the 802.1p
priority of the Packets
You can specify whether to replace the precedence carried in the packet with the
mapped precedence when you configure to trust the 802.1p priority of the packet:
■
In the default mode, the switch does not replace the precedence carried in the
packet with the mapped precedence.
■
In the automap mode, the switch replaces the precedence carried in the packet
with the mapped precedence.
If the packet does not carry any precedence, the switch will perform the
corresponding mapping by using the port precedence to search for the “COS->other
priority mapping table”.
Figure 72
The mapping process of trusting 802.1p priority
Trusting the DSCP
Precedence of the
Packets
You can specify whether to replace the precedence carried in the packet with the
mapped precedence when you configure to trust the DSCP precedence of the packet:
■
In the default mode, the switch does not replace the precedence carried in the
packet with the mapped precedence.
■
In the automap mode, the switch replaces the precedence carried in the packet
with the mapped precedence.
■
In the remap mode, the switch firstly gets new DSCP precedence by the “DSCP-->
DSCP” mapping relationship, and then searches for the “DSCP-->other
precedence” mapping table through the new DSCP precedence and replaces the
precedence carried in the packet with the mapped precedence.
Packets
Packets
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
“COS
-
> other precedence” mapping table
Search for “COS-
according to the COS (802.1p precedence) and
assign other precedence for the packet
Packets
Packets
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
>
“COS-
according to the COS (802.1p precedence) and
assign other precedence for the packet
Packets
Packets
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
>
Search for “COS-
according to the COS (802.1p precedence) and
assign other precedence for the packet
Packets
Packets
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
>
“COS->other precedence” mapping table
according to the COS (802.1p precedence) and
assign other precedence for the packet
Packets
Packets
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
“COS
-
> other precedence” mapping table
Search for “COS-
according to the COS (802.1p precedence) and
assign other precedence for the packet
Packets
Packets
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
>
“COS-
according to the COS (802.1p precedence) and
assign other precedence for the packet
Packets
Packets
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
>
Search for “COS-
according to the COS (802.1p precedence) and
assign other precedence for the packet
Packets
Packets
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
48
0
6
6
56
0
7
7
40
0
5
5
32
0
4
4
24
0
3
3
8
0
1
2
0
0
0
1
16
0
2
0
DSCP
Drop
Local -pre
802.1p
>
“COS->other precedence” mapping table
according to the COS (802.1p precedence) and
assign other precedence for the packet
Summary of Contents for 4200G 12-Port
Page 10: ...8 CONTENTS...
Page 14: ...4 ABOUT THIS GUIDE...
Page 46: ...32 CHAPTER 5 LOGGING IN THROUGH WEB BASED NETWORK MANAGEMENT SYSTEM...
Page 48: ...34 CHAPTER 6 LOGGING IN THROUGH NMS...
Page 60: ...46 CHAPTER 9 VLAN CONFIGURATION...
Page 64: ...50 CHAPTER 10 MANAGEMENT VLAN CONFIGURATION...
Page 80: ...66 CHAPTER 13 GVRP CONFIGURATION...
Page 98: ...84 CHAPTER 15 LINK AGGREGATION CONFIGURATION...
Page 112: ...98 CHAPTER 18 MAC ADDRESS TABLE MANAGEMENT...
Page 126: ...112 CHAPTER 19 LOGGING IN THROUGH TELNET...
Page 162: ...148 CHAPTER 20 MSTP CONFIGURATION...
Page 274: ...260 CHAPTER 29 IGMP SNOOPING CONFIGURATION...
Page 276: ...262 CHAPTER 30 ROUTING PORT JOIN TO MULTICAST GROUP CONFIGURATION...
Page 298: ...284 CHAPTER 33 SNMP CONFIGURATION...
Page 304: ...290 CHAPTER 34 RMON CONFIGURATION...
Page 338: ...324 CHAPTER 36 SSH TERMINAL SERVICES...
Page 356: ...342 CHAPTER 38 FTP AND TFTP CONFIGURATION...
Page 365: ...Information Center Configuration Example 351 S4200G terminal logging...
Page 366: ...352 CHAPTER 39 INFORMATION CENTER...
Page 378: ...364 CHAPTER 40 BOOTROM AND HOST SOFTWARE LOADING...
Page 384: ...370 CHAPTER 41 Basic System Configuration and Debugging...
Page 388: ...374 CHAPTER 43 NETWORK CONNECTIVITY TEST...
Page 406: ...392 CHAPTER 45 CONFIGURATION OF NEWLY ADDED CLUSTER FUNCTIONS...