Configuration example

z

z

Set the IP precedence of ICMP packets to 3. Display the configuration.

Configuration procedure:

<device> system-view

[device] protocol-priority protocol-type icmp ip-precedence 3

[device] display protocol-priority

Protocol: icmp

IP-Precedence: flash(3)

Marking Packet Priority

Refer to Priority Marking for information about marking packet priority.

Marking packet priority can be implemented in the following two ways:

zThrough traffic policing

When configuring traffic policing, you can define the action of marking the 802.1p priority and DSCP precedence for packets exceeding the traffic specification. Refer to Configuring Traffic Policing.

zThrough the traffic-prioritycommand

You can use the traffic priority command to mark the 802.1p priority and DSCP precedence of the packets.

Configuration prerequisites

The following items are defined or determined before the configuration:

z

z

The ACL rules used for traffic classification are specified. Refer to the ACL module of this manual for related information.

The type and value of the precedence to be marked for the packets matching the ACL rules are determined.

Configuration procedure

You can mark priority for all the packets matching specific ACL rules, or for packets that match specific ACL rules and are of a VLAN, of a port group, or pass a port.

Follow these steps to mark the priority for the packets matching specific ACL rules:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

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 that are of a VLAN and match specific ACL rules:

To do…

Use the command…

Remarks

Enter system view

system-view

 

 

 

Mark the priorities for packets

traffic-priority vlan vlan-idinbound acl-rule

Required

matching specific ACL rules

{ dscp dscp-value cos cos-value }

 

 

1-19

 

Page 380
Image 380
3Com WX3000 operation manual Marking Packet Priority, Traffic-priority inbound acl-rule dscp, Dscp-value cos cos-value