Configuring priority mapping – H3C Technologies H3C WX3000 Series Unified Switches User Manual

Page 359

Advertising
background image

37-15

[device] interface GigabitEthernet1/0/1

[device-GigabitEthernet1/0/1] priority 7

z

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

z

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-pre
cedence 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-pre
cedence 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

Configure
COS-precedence-to-DSCP-pr
ecedence mapping table

qos

cos-dscp-map cos0-map-dscp cos1-map-dscp

cos2-map-dscp cos3-map-dscp cos4-map-dscp
cos5-map-dscp cos6-map-dscp

cos7-map-dscp

Required

Follow these steps to configure the DSCP-precedence-to-other-precedence mapping table:

Advertising