beautypg.com

Setting the priority of protocol packets, Configuration prerequisites, Configuration procedure – H3C Technologies H3C S3600 Series Switches User Manual

Page 746: Configuration example, Marking packet priority

background image

1-16

Setting the Priority of Protocol Packets

Refer to section

Protocol Priority

for information about priority of protocol packets.

Configuration prerequisites

z

The protocol type has been determined.

z

The priority type (IP or DSCP) and priority value have been determined.

Configuration procedure

Follow these steps to set the priority for specific protocol packets:

To do…

Use the command…

Remarks

Enter system view

system-view

Set the priority for
specific protocol
packets

protocol-priority protocol-type
protocol-type { ip-precedence
ip-precedence | dscp dscp-value }

Required

You can modify the IP precedence or
DSCP precedence of the
corresponding protocol packets.

z

On an S3600-EI switch, you can set the priority for protocol packets of Telnet, OSPF, SNMP, and

ICMP.

z

On an S3600-SI switch, you can set the priority for protocol packets of Telnet, SNMP, and ICMP.

Configuration example

z

Set the IP precedence of ICMP packets to 3.

z

Display the configuration.

Configuration procedure:

system-view

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

[Sysname] display protocol-priority

Protocol: icmp

IP-Precedence: flash(3)

Marking Packet Priority

Refer to section

Priority Marking

for information about marking packet priority.

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

z

Through traffic policing

When configuring traffic policing, you can define the action of marking the DSCP precedence for

packets exceeding the traffic specification. Refer to section

Configuring Traffic Policing

.

z

Through the traffic-priority command

This manual is related to the following products: