Meter command reference
QOS
7-45
iMG/RG Software Reference Manual (Quality of Service)
Example
--> meter add profile mp1 tokenbucket 80 10000
See also
METER ADD PROFILE SRTCM
METER ADD PROFILE TRTCM
7.1.6.1.3 METER ADD PROFILE TRTCM
Syntax
METER ADD PROFILE <name> TRTCM <cir> <cbs> <pir> <pbs>
Description
This command creates a meter profile that uses the trTCM algorithm for metering.
If a packet stream’s average rate is within CIR and the burst size is within CBS, then the
packet is in profile (green).
If a packet stream’s average rate is within PIR and the burst size is within PBS, then the
packet is partially in profile (yellow).
All other packets are out of profile (red).
Note that only IP packet size (IP header and payload) is considered for calculations.
You can specify the treatment or actions for green, yellow and red packets using the
meter set profile action commands. You can then set the profile to create meter instance
on a transport using the
TRANSPORTS SET METER INSTANCE PROFILE
com-
mand.
Options
The following table gives the range of values for each option that can be specified with
this command and a default value (if applicable).
Option
Description
Default Value
name
An arbitrary name that identifies the profile. It can be
made up of one or more letters or a combination of let-
ters and digits, but it cannot start with a digit.
N/A
cir
Committed Information Rate
in kbps.
N/A
cbs
Committed Burst Size
in bytes.
N/A
Option
Description
Default Value
name
An arbitrary name that identifies the profile. It can be
made up of one or more letters or a combination of let-
ters and digits, but it cannot start with a digit.
N/A