R2511-HP MSR Router Series ACL and QoS Command Reference(V5)

51
Examples
# Configure a GTS action in absolute value in traffic behavior database. The GTS parameters are as
follows: CIR is 200 kbps, CBS is 50000 bytes, EBS is 0, and the maximum buffer queue length is 100.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] gts cir 200 cbs 50000 ebs 0 queue-length 100
Related commands
gts percent
qos policy
traffic behavior
classifier behavior
gts percent
Use gts percent to configure a GTS action in percentage in the traffic behavior.
Syntax
gts percent cir cir-percent [ cbs cbs-time [ ebs ebs-time ] ]
undo gts
Views
Traffic behavior view
Default command level
2: System level
Parameters
cir cir-percent: CIR in percentage in the range of 0 to 100. The actual CIR value is cir-percent × interface
bandwidth.
cbs cbs-time: 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: 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.
Usage guidelines
A QoS policy that references the GTS-configured behavior can be applied in only the outbound direction
of an interface or PVC.
A policy referencing a GTS-configured behavior overwrites the qos gts command on the interface or PVC,
if both configured.
If this command is configured for the same traffic behavior for multiple times, the last 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 2000.
<Sysname> system-view
[Sysname] traffic behavior database
[Sysname-behavior-database] gts percent cir 50 cbs 200