beautypg.com

Configuration procedure, Configuration example, Network requirements – H3C Technologies H3C SR8800 User Manual

Page 61: Displaying and maintaining priority mapping

background image

52

Configuring the port to trust packet priority for

priority mapping

You can configure the router to trust a particular priority field carried in packets for priority mapping on

a port. On a router supporting trusted priority type configuration, the priority mapping process for

packets is shown in

Priority mapping overview

.

Configuration procedure

To configure the trusted priority type:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter interface view or

port group view.

Enter interface view:
interface interface-type

interface-number

Enter port group view:

port-group manual port-group-name

Use either command.
Settings in interface view are

effective on the current interface.

Settings in port group view are
effective on all ports in the port

group.

3.

Configure the trusted

priority type.

qos trust auto N/A

4.

Display the trusted

priority type and port

priority of the port.

display qos trust interface
[ interface-type interface-number ] [ |

{ begin | exclude | include }
regular-expression ]

Optional.
Available in any view

Configuration example

Network requirements

Configure the trusted priority type as auto.

Configuration procedure

system-view

[Sysname] interface GigabitEthernet 2/1/1

[Sysname-GigabitEthernet2/1/1] qos trust auto

Displaying and maintaining priority mapping

Task Command

Remarks

Display priority mapping table
configuration information.

display qos map-table [ dscp-dscp
| inbound [ up-dp | up-lp | up-up]

| outbound [ up-dp | up-fc | up-lp
| up-rpr ] | color [ green | yellow |

red ] [ up-dot1p | up-dscp | up-lp

| up-exp ] ] [ | { begin | exclude |

include } regular-expression ]

Available in any view

This manual is related to the following products: