Configuration example

zConfigure 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

zConfigure 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

zConfigure 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

qos cos-local-precedence-map

 

cos0-map-local-prec cos1-map-local-prec

Required

COS-precedence-to-local-

cos2-map-local-prec cos3-map-local-prec

precedence mapping table

cos4-map-local-prec cos5-map-local-prec

 

 

cos6-map-local-prec cos7-map-local-prec

 

 

 

 

Configure

qos cos-drop-precedence-map

 

cos0-map-drop-prec cos1-map-drop-prec

Required

COS-precedence-to-drop-

cos2-map-drop-prec cos3-map-drop-prec

precedence mapping table

cos4-map-drop-prec cos5-map-drop-prec

 

 

cos6-map-drop-prec cos7-map-drop-prec

 

 

 

 

1-15

Page 376
Image 376
3Com WX3000 operation manual Configuring Priority Mapping, Qos cos-local-precedence-map, Qos cos-drop-precedence-map