
1-27
To do…
Use the command…
Remarks
Enter Ethernet port view
interface
interface-type
interface-number
—
Mark a priority for the
incoming packets
matching the specific
ACL rules
traffic-priority inbound
acl-rule
{
dscp
dscp-value
|
cos
cos-value
}
Required
User-defined traffic classification rules configured for priority marking in the global scope
or for a VLAN take precedence over the default rules used for processing protocol packets.
The device will execute priority marking preferentially, which may affect device
management implemented through Telnet and so on.
Configuration examples
# Mark the incoming packets from network segment 10.1.1.0/24 with DSCP value 56
(assuming that GigabitEthernet 1/0/1 carries VLAN 2 and is connected to network segment
10.1.1.0/24).
1) Method I: configure priority marking for port GigabitEthernet 1/0/1
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] interface GigabitEthernet1/0/1
[Sysname-GigabitEthernet1/0/1] traffic-priority inbound ip-group 2000 dscp 56
2) Method II: configure priority marking for VLAN 2
<Sysname> system-view
[Sysname] acl number 2000
[Sysname-acl-basic-2000] rule permit source 10.1.1.0 0.0.0.255
[Sysname-acl-basic-2000] quit
[Sysname] traffic-priority vlan 2 inbound ip-group 2000 dscp 56
Configuring Traffic Policing
Refer to
Traffic Policing and Traffic Shaping
for information about traffic policing.
Содержание H3C S5100-SI
Страница 129: ...1 10...
Страница 522: ...ii...
Страница 701: ...3 2...
Страница 797: ...1 20 0 00 packet loss round trip min avg max 50 60 70 ms...
Страница 827: ...i Table of Contents 1 Acronyms 1 1...