level packet byte

Level of the rate limiter identifies whether the algorithm

 

executes in terms of number of packets or number of

 

bytes.If the 'level' is 'packet'(1), rate is configured in

 

terms of packets per second and burst size is

 

configured in terms of number of packets.If the 'level' is

 

'byte'(2), rate is configured in terms of bits per second

 

and burst size is configured in terms of number of

 

bytes.

 

 

 

 

 

 

Type:

Create

--

Optional

 

 

 

Modify

--

Optional

 

Default value: packet

 

 

 

type sr2cm trtcm

Type identifies the algorithm for rate limiting.The sr2cm

 

(single rate two color marker) is a single-rate algorithm.

 

It takes rate and burst size as input parameters.The

 

trtcm (two rate three color marker) is a dual-rate

 

algorithm. It takes two sets of rate and burstsize as

 

inputs, one each for peak and committed information.

 

Type:

Create

--

Optional

 

 

 

Modify

--

Optional

 

Default value: sr2cm

 

 

 

peakrate

This field is relevant only if 'type' is 'trtcm'(2). This field

peakrate-val>

defines the peak information rate. If 'level' is 'packet'(1),

 

the unit is packets per second. If level is byte, the unit is

 

bits per second.

 

 

 

 

Type:

Create

--

Optional

 

Modify

--

Optional

 

 

Valid values: 1 - 100000000

 

Default value: 100000000

 

 

pbs <pbs-val>

This field is relevant only if 'type' is 'trtcm'(2). This field

 

defines the peak burst size. If 'level' is 'packet'(1), the

 

unit is number of packets. If 'level' is 'byte'(2), the unit is

 

number of bytes.

 

 

 

 

Type:

Create

--

Optional

 

Modify

--

Optional

 

 

Valid values: 4 - 65535

 

 

Default value: 65535

 

 

 

 

 

 

 

 

Example:

$ create rl profile info profileid 1 rate 24 mbs 24 level packet type trtcm peakrate 30 pbs 30

550

IDL series User Guide