R0106-HP MSR Router Series ACL and QoS Command Reference(V7)
53
Syntax
gts percent cir cir-percent [ cbs cbs-time [ ebs ebs-time ] ] [ queue-length queue-length ]
undo gts
Default
No GTS action is configured.
Views
Traffic behavior view
Predefined user roles
network-admin
Parameters
cir cir-percent: Sets the CIR in percentage in the range of 0 to 100. The actual CIR value is cir-percent ×
interface bandwidth.
cbs cbs-time: Sets the CBS in the specified time (in ms). The default cbs-time is 500 ms. The actual CBS
value is cbs-time × the actual CIR value.
ebs ebs-time: Sets the EBS in the specified time (in ms). The default ebs-time is 0 ms. The actual EBS value
is ebs-time × the actual CIR value.
queue-length queue-length: Sets the maximum queue length. The default is 50.
Usage guidelines
A QoS policy that references a behavior configured with GTS can be applied to only the outbound
direction of an interface.
A QoS policy that references a behavior configured with GTS overwrites the qos gts command on the
interface, if both configured.
If this command is configured for the same traffic behavior multiple times, the most recent configuration
takes effect.
Examples
# Configure a GTS action in percentage in traffic behavior database. The GTS parameters are as follows:
CIR is 50 and CBS is 200 ms.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] gts percent cir 50 cbs 200
Related commands
gts
redirect
Use redirect to configure a traffic redirecting action in a traffic behavior.
Use undo redirect to delete the traffic redirecting action.
Syntax
redirect interface interface-type interface-number [ vlan vlan-id ]
undo redirect interface interface-type interface-number