Configuring traffic policing, Configuring gts, Configuring queue-based gts – H3C Technologies H3C S12500 Series Switches User Manual

Page 51

Advertising
background image

42

Configuring traffic policing

The switch implements color-aware CAR in traffic policing. For information about the color-aware mode,
see RFC 2697.
To configure traffic policing:

Step Command

1.

Enter system view.

system-view

2.

Create a class and enter class
view.

traffic classifier tcl-name [ operator { and | or } ]

3.

Configure match criteria.

if-match match-criteria

4.

Return to system view.

quit

5.

Create a behavior and enter

behavior view.

traffic behavior behavior-name

6.

Configure a traffic policing
action.

car cir committed-information-rate [ cbs committed-burst-size [ ebs
excess-burst-size ] ] [ pir peak-information-rate ] [ red action ]

7.

Return to system view.

quit

8.

Create a policy and enter
policy view.

qos policy policy-name

9.

Associate the class with the

traffic behavior in the QoS
policy.

classifier tcl-name behavior behavior-name

10.

Return to system view.

quit

11.

Apply the QoS policy.

Applying the QoS policy to an interface

Applying the QoS policy to a VLAN

Applying the QoS policy globally

Applying the QoS policy to the control plane

Configuring GTS

IMPORTANT:

GTS for software forwarding does not support IPv6.

Do not configure GTS on a main interface and its subinterfaces at the same time.

You can configure the following types of GTS:

Queue-based GTS—configuring GTS parameters for packets of a certain queue.

GTS for all traffic—configuring GTS parameters for all traffic.

Configuring queue-based GTS

Step Command

Remarks

1.

Enter system view.

system-view N/A

Advertising