beautypg.com

Configuration prerequisites, Configuration procedure, Configuration example – H3C Technologies H3C S3600 Series Switches User Manual

Page 745: R to, Configuring the

background image

1-15

system-view

[Sysname] interface Ethernet1/0/1

[Sysname-Ethernet1/0/1] priority 7

z

Configure to trust packet priority on Ethernet 1/0/2.

Configuration procedure:

system-view

[Sysname] interface Ethernet1/0/2

[Sysname-Ethernet1/0/2] priority trust

Configuring the Mapping between 802.1p Priority and Local Precedence

When the default mapping between 802.1p priority and local precedence cannot satisfy your

requirements, you can modify the mapping at the CLI, thus modifying the mapping between 802.1p

priority and the output queues and assigning packets with different priorities to the corresponding output

queues.

Note that, this is a global setting, not a per port setting. This is only recommended for advanced network

environments.

Configuration prerequisites

The mapping between 802.1p priority and local precedence has been determined.

Configuration procedure

Follow these steps to configure the mapping between 802.1p priority and local precedence:

To do…

Use the command…

Remarks

Enter system view

system-view

Configure the mapping
between 802.1p priority and
local precedence

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

Configuration example

z

Configure the following mapping between 802.1p priority and local precedence: 0 to 2, 1 to 3, 2 to 4,

3 to 1, 4 to 7, 5 to 0, 6 to 5, and 7 to 6.

z

Display the configuration.

Configuration procedure:

system-view

[Sysname] qos cos-local-precedence-map 2 3 4 1 7 0 5 6

[Sysname] display qos cos-local-precedence-map

cos-local-precedence-map:

cos(802.1p) : 0 1 2 3 4 5 6 7

--------------------------------------------------------------------------

local precedence(queue) : 2 3 4 1 7 0 5 6

This manual is related to the following products: