Changing the port priority of an interface, Displaying and maintaining priority mapping, Priority trust mode configuration example – H3C Technologies H3C S6300 Series Switches User Manual

Page 38: Network requirements

Advertising
background image

28

3.

Configure the trusted
packet priority type.

Configure the interface to trust

the DSCP precedence.

qos trust dscp

Configure the interface to trust

the 802.1p priority of received

packets.
qos trust dot1p

Configure the interface not to

trust any packet priority.
undo qos trust

Use one of these commands.
By default, an Ethernet interface does not
trust any packet priority.

Changing the port priority of an interface

If an interface does not trust any packet priority, the device uses its port priority to look for the set of

priority parameters for the incoming packets. By changing port priority, you can prioritize traffic received

on different interfaces.
To change the port priority of an interface:

Step

Command

Remarks

1.

Enter system view. system-view N/A

2.

Enter Ethernet

interface view.

interface interface-type interface-number N/A

3.

Set the port
priority of the

interface.

qos priority priority-value

The default setting is 0.

Displaying and maintaining priority mapping

Execute display commands in any view.

Task Command

Display priority map
configuration.

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

Display the trusted packet

priority type on a port.

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

Priority trust mode configuration example

Network requirements

As shown in

Figure 5

, the packets from Device A and Device B to Device C are not VLAN tagged.

Configure Device C to preferentially process packets from Device A to Server when Ten-GigabitEthernet

1/0/3 of Device C is congested.

Advertising