gts percent
Use gts percent to configure a GTS action in percentage in a traffic behavior.
Use undo gts to restore the default.
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: Specifies the CIR in percentage, in the range of 1 to 100. The actual CIR value is cir-percent × interface bandwidth.
cbs cbs-time: Specifies the CBS in milliseconds. The default cbs-time is 500 milliseconds. The value range for cbs-time is 50 to 2000. The actual CBS value is cbs-time × the actual CIR value.
ebs ebs-time: Specifies the EBS in milliseconds. The default ebs-time is 0 milliseconds. The value range for ebs-time is 0 to 2000. The actual EBS value is ebs-time × the actual CIR value.
queue-length queue-length: Specifies the maximum queue length in the range of 1 to 1024. The default is 50.
Usage guidelines
A QoS policy that uses a behavior configured with percentage-based GTS can be applied only to the outbound direction of an interface.
A QoS policy that uses a behavior configured with percentage-based GTS overwrites the qos gts command on the interface, if both configured.
If you execute the gts percent command multiple times in the same traffic behavior, 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