Configuring the priority trust mode on a port, Configuring the port priority of a port – H3C Technologies H3C S5120 Series Switches User Manual

Page 358

Advertising
background image

3-4

To do…

Use the command…

Remarks

Enter priority mapping table
view

qos map-table { dot1p-dot1p |
dot1p-dscp | dot1p-lp |
dscp-dot1p | dscp-dscp |
dscp-lp }

Required

Configure the priority mapping
table

import import-value-list export
export-value

Required

Newly configured mappings
overwrite the old ones.

Configuring the Priority Trust Mode on a Port

Follow these steps to configure the trusted packet priority type on an interface/port group:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter
interface
view

interface interface-type
interface-number

Enter
interface
view or port
group view

Enter port
group view

port-group manual
port-group-name

Use either command

Settings in interface view take
effect on the current interface;
settings in port group view take
effect on all ports in the port
group.

Trust the
802.1p or
DSCP
priority in
packets

qos trust { dot1p | dscp }

Configure
the priority
trust mode

Trust the
port priority

undo qos trust

Use either command

By default, the device trusts the
port priority.

Configuring the Port Priority of a Port

You can change the port priority of a port used for priority mapping. For the priority mapping procedure,

see

Figure 3-1

.

Follow these steps to configure the port priority of a port for priority mapping:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter
interface
view

interface interface-type
interface-number

Enter
interface
view or port
group view

Enter port
group view

port-group manual
port-group-name

Use either command

Settings in interface view take effect
on the current interface; settings in
port group view take effect on all
ports in the port group.

Configure the port priority

qos priority priority-value

Required

The default port priority is 0.

Advertising