time-range rate-limit

Function

The time-range rate-limit command configures a mapping between a time range template and EDSG service bandwidth.

The undo time-range rate-limit command restores the default configuration.

By default, no mapping is configured between a time range template and EDSG service bandwidth.

This command is supported only on the NetEngine 8000 F1A.

Format

time-range time-range-name rate-limit cir cir-value [ pir pir-value ] [ cbs cbs-value [ pbs pbs-value ] ] [ inbound | outbound ]

undo time-range time-range-name rate-limit [ cir cir-value [ pir pir-value ] [ cbs cbs-value [ pbs pbs-value ] ] ] [ inbound | outbound ]

Parameters

Parameter Description Value
cir cir-value

Specifies a committed information rate (CIR).

The value is an integer ranging from 0 to 4294967294, in kbit/s.

pir pir-value

Specifies a peak information rate (PIR).

The value is an integer ranging from 0 to 4294967294, in kbit/s.

cbs cbs-value

Specifies a committed burst size (CBS).

The value is an integer ranging from 0 to 4294967294, in bytes.

pbs pbs-value

Specifies a peak burst size (PBS).

The value is an integer ranging from 0 to 4294967294, in bytes.

inbound

Indicates the upstream direction of service traffic.

-

outbound

Indicates the downstream direction of service traffic.

-

time-range time-range-name

Specifies the name of a time range template.

The value is a string of 1 to 32 case-sensitive characters.

Views

Service policy view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
vas write

Usage Guidelines

Usage Scenario

To configure the EDSG service bandwidth to be flexibly adjusted when the time range changes, run the time-range rate-limit command in the EDSG service policy view.

Prerequisites

A time range has been defined using the time-range command.

Configuration Impact

After the time-range rate-limit command is run, the EDSG service bandwidth is adjusted when the time range changes.

Precautions

This command is supported only on the admin VS.

An EDSG service policy allows a maximum of three mappings to be configured between the time range template and service bandwidth.

If multiple time range templates are configured for an EDSG service policy, overlapping time ranges may exist between time range templates. In this situation, the EDSG service bandwidth preferentially matches the first configured time range template.

Example

# In the view of an EDSG service policy named edsg_policy, set the CIR and PIR for a time range template named time-range1 to 1000 kbit/s and 2000 kbit/s, respectively.
<HUAWEI> system-view
[~HUAWEI] time-range time-range1 from 0:0 2009/1/1
[*HUAWEI] commit
[~HUAWEI] service-policy name edsg_policy edsg
[*HUAWEI-service-policy-edsg_policy] commit
[~HUAWEI-service-policy-edsg_policy] time-range time-range1 rate-limit cir 1000 pir 2000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >