Follow these steps to mark the priority for packets that are of a port group and match specific ACL rules:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

Enter port group view

port-group group-id

 

 

 

Mark the priorities for packets

traffic-priority inbound acl-rule{ dscp

Required

matching specific ACL rules

dscp-value cos cos-value }

 

 

 

 

Follow these steps to mark the priority for packets passing a port and matching specific ACL rules:

 

 

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

traffic-priority inbound acl-rule{ dscp

Required

 

 

 

matching specific ACL rules

dscp-value cos cos-value }

 

 

 

 

 

 

 

 

 

 

 

As the priority of traffic classification rules is higher than that of the default rules used for processing protocol packets, marking priority for all the packets or packets of a VLAN may affect device management that is implemented through Telnet and so on.

Configuration example

zGigabitEthernet 1/0/1 belongs to VLAN 2 and is connected to the 10.1.1.0/24 network segment.

zMark the DSCP precedence as 56 for the packets from the 10.1.1.0/24 network segment.

1)Method I

<device> system-view [device] acl number 2000

[device-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255

[device-acl-basic-2000] quit

[device] interface GigabitEthernet1/0/1 [device-GigabitEthernet1/0/1] traffic-priority inbound ip-group 2000 dscp 56

2)Method II

<device> system-view [device] acl number 2000

[device-acl-basic-2000] rule permit source 10.1.1.1 0.0.0.255

[device-acl-basic-2000] quit

[device] 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.

1-20

Page 381
Image 381
3Com WX3000 operation manual Configuring Traffic Policing, Required Matching specific ACL rules