Configuring GTS in policy approach

To configure GTS in policy approach:

Step

Command

1. Enter system view.

system-view

2. Create a class and enter class view.

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

3. Configure match criteria.

if-match [ not ] match-criteria

4. Return to system view.

quit

5. Create a behavior and enter behavior view.

traffic behavior behavior-name

6. Configure a GTS action.

  • In absolute value:gts cir committed-information-rate [ cbs committed-burst-size [ ebs excess-burst-size [ queue-length queue-length ] ] ]

  • In percentage:gts percent cir cir-percent [ cbs cbs-time [ ebs ebs-time ] ]

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 classifier-name behavior behavior-name

10. Return to system view.

quit

11. Apply the QoS policy.