3com WX3000 Manuel D’Utilisation

Page de 715
 
1-15 
Configuration example 
Configure to trust port priority on GigabitEthernet 1/0/1 and set the priority of GigabitEthernet 1/0/1 
to 7.  
Configuration procedure: 
<device> system-view 
[device] interface GigabitEthernet1/0/1 
[device-GigabitEthernet1/0/1] priority 7 
Configure to trust 802.1p precedence on GigabitEthernet 1/0/1. 
Configuration procedure: 
<device> system-view 
[device] interface GigabitEthernet1/0/1 
[device-GigabitEthernet1/0/1] priority-trust cos 
Configure to trust DSCP precedence on GigabitEthernet 1/0/1. 
Configuration procedure: 
<device> system-view 
[device] interface GigabitEthernet1/0/1 
[device-GigabitEthernet1/0/1] priority-trust dscp 
Configuring Priority Mapping 
You can modify the COS-precedence-to-other-precedence, DSCP-precedence-to-other-precedence, 
and DSCP-precedence-to-DSCP-precedence mapping tables as required to mark packets with 
different priorities. 
Configuration prerequisites 
The target COS-precedence-to-other-precedence, DSCP-precedence-to-other-precedence, and 
DSCP-precedence-to-DSCP-precedence mapping tables are determined. 
Configuration procedure 
Follow these steps to configure the COS-precedence-to-other-precedence mapping table: 
To do… 
Use the command… 
Remarks 
Enter system view 
system-view 
— 
Configure 
COS-precedence-to-local-
precedence mapping table 
qos cos-local-precedence-map 
cos0-map-local-prec cos1-map-local-prec 
cos2-map-local-prec cos3-map-local-prec 
cos4-map-local-prec cos5-map-local-prec 
cos6-map-local-prec
 cos7-map-local-prec 
Required 
Configure 
COS-precedence-to-drop-
precedence mapping table 
qos cos-drop-precedence-map 
cos0-map-drop-prec cos1-map-drop-prec 
cos2-map-drop-prec cos3-map-drop-prec 
cos4-map-drop-prec cos5-map-drop-prec 
cos6-map-drop-prec
 cos7-map-drop-prec 
Required