Operation Manual – QoS-QoS Profile
H3C S5600 Series Ethernet Switches
Chapter 1 QoS Configuration
1-19
z
The type and value of the precedence to be marked for the packets matching the
ACL rules have been determined.
z
The port or VLAN on which the configuration is to be performed has been
determined.
II. Configuration procedure
Follow these steps to configure priority marking on a port:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Enter Ethernet port view
interface
interface-type
interface-number
—
Mark the priorities for
packets matching specific
ACL rules
traffic-priority inbound
acl-rule
{ {
dscp
dscp-value
|
ip-precedence
{
pre-value
|
from-cos
} } |
cos
{
pre-value
|
from-ipprec
} |
local-precedence
pre-value
}*
Required
Refer to the command
manual for information
about the
acl-rule
argument.
Follow these steps to configure priority marking on a VLAN:
To do…
Use the command…
Remarks
Enter system view
system-view
—
Mark the priorities for the
packets belonging to a
VLAN and matching
specific ACL rules
traffic-priority
vlan
vlan-id inbound
acl-rule
{ {
dscp dscp-value
|
ip-precedence
{
pre-value
|
from-cos
} } |
cos
{
pre-value
|
from-ipprec
} |
local-precedence
pre-value
}*
Required
Refer to the command
manual for information
about the
acl-rule
argument.
III. Configuration example
z
GigabitEthernet 1/0/1 belongs to VLAN 2 and is connected to the 10.1.1.1/24
network segment.
z
Mark the DSCP precedence as 56 for the packets from the 10.1.1.1/24 network
segment.
1) Method
I
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255