C
z
[Sysname] protocol-priority protocol-type icmp ip-precedence 3
ol-priority
IP-Precedence: flash(3)
Marking Packet Priority
R
rking
onfiguration example
z
Set the IP precedence of ICMP packets to 3.
Display the configuration.
Configuration procedure:
<Sysname> system-view
[Sysname] display protoc
Protocol: icmp
efer to section
Priority Ma
f
ing packet priority
Marking packet priority can be implemented in the following two ways:
z
W
ing
h
r
packets exceeding the traffic spec
uring Traffi
or information about mark
.
Through traffic policing
hen configuring traffic polic
, you can define the action of marking t
ification. Refer to section
e DSCP precedence fo
c Policing
Config
.
z
Through the
traffic-priority
command
IP precedence, 802.1p priority, DSCP
precedence, and local precedence of the packets.
Configuration prerequisites
The following items are defined or
z
ffic
Refe
this
tio
z
type and value of the pre
packets m
les have
been determined.
The port or VLAN on which the configuration is to be performed has been determined.
You can use the
traffic priority
command to mark the
determined before the configuration:
classification have been specified.
n.
cedence to be marked for the
The ACL rules used for tra
manual for related informa
The
r to the ACL
module of
atching the ACL ru
z
Configuration procedure
Follow these steps to configure priority marking on a port:
Remarks
To do…
Use the command…
Enter system view
system-view
—
interface
interface-type
—
Enter Ethernet port view
interface-number
Mark the priorities for packets
acl-ru
ip-pre
t
matching specific ACL rules
cedence
{
pre-value
|
from-cos
} }
|
cos
{
pre-value
|
from-ipprec
} |
manu
abou
raffic-priority
{
inbound
|
outbound
}
le
{ {
dscp dscp-value
|
local-precedence
pre-value
}*
Required
Refer to the command
al for information
t the
acl-rule
argument.
Follow these steps to configure priority marking on a VLAN:
45-16