Configuration prerequisites, Configuration procedure, Configuration examples – H3C Technologies H3C WX6000 Series Access Controllers User Manual

Page 450: Network requirements, Configuring port priority trust mode, 4 configuration examples, 4 configuration procedure

Advertising
background image

47-4

received packets, and then marks the received packets with the corresponding local precedence and
drop precedence.

Port priority is in the range 0 to 7. You can set the port priority as required.

Configuration Prerequisites

The port priority of the port is determined.

Configuration Procedure

Follow these steps to configure port priority:

To do…

Use the command…

Remarks

Enter system view

system-view

Enter port
view

interface

interface-type

interface-number

Enter port
view or port
group view

Enter port
group view

port-group

{ manual

port-group-name | aggregation

agg-id

}

Perform either of the two operations.
The configuration performed in
Ethernet port view applies to the
current port only. The configuration
performed in port group view applies to
all the ports in the port group.

Configure port priority

qos priority priority-value

Required
By default, the port priority is 0.

Configuration Examples

Network requirements

Configure the port priority to 7.

Configuration procedure

# Enter system view.

<Sysname> system-view

# Configure port priority of GigabitEthernet 0/0/1.

[Sysname] interface GigabitEthernet 0/0/1

[Sysname-GigabitEthernet0/0/1] qos priority 7

Configuring Port Priority Trust Mode

You can configure the switch to trust the DSCP precedence of the received packets. In this case, the
switch searches the dscp-dot1p/dp/dscp mapping table for the corresponding precedence according
to the DSCP precedence of the packets and marks the received packets with the precedence.

Configuration Prerequisites

It is determined to trust the DSCP precedence of received packets.

Configuration Procedure

Follow these steps to configure the port priority trust mode:

Advertising