whitelist session-car grpc

Function

The whitelist session-car grpc command sets values for gRPC whitelist session-CAR parameters.

The whitelist session-car grpc disable command disables the gRPC whitelist session-CAR function.

The undo whitelist session-car grpc command restores the default values for gRPC whitelist session-CAR parameters.

By default, the CIR, CBS, PIR, and PBS of gRPC whitelist session-CAR are 30 kbit/s, 3750 bytes, 300 kbit/s, and 37500 bytes, respectively.

Format

whitelist session-car grpc disable

whitelist session-car grpc { cir sessionCarCir | cbs sessionCarCbs | pir sessionCarPir | pbs sessionCarPbs } *

undo whitelist session-car grpc disable

undo whitelist session-car grpc [ { cir sessionCarCir | cbs sessionCarCbs | pir sessionCarPir | pbs sessionCarPbs } * ]

Parameters

Parameter Description Value
cir sessionCarCir

Specifies a committed information rate (CIR).

The value is an integer ranges from 1 to 1000000, in kbit/s. The default value is 30.

cbs sessionCarCbs

Specifies a committed burst size (CBS).

The value is an integer ranges from 1 to 1000000, in bytes. The default value is 3750.

pir sessionCarPir

Specifies a peak information rate (PIR).

The value is an integer ranges from 1 to 1000000, in bps. The default value is 300. The PIR must be greater than or equal to the CIR.

pbs sessionCarPbs

Specifies a peak burst size (PBS).

The value is an integer ranges from 1 to 1000000, in bytes. The default value is 37500. The PBS must be greater than or equal to the CBS.

Views

GRPC view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
grpc write

Usage Guidelines

This command can set the session-CAR parameters for the whitelisted gRPC protocol packets to properly allocate bandwidth resources.

Example

# Set session-CAR parameters for whitelisted gRPC protocol packets.
<HUAWEI> system-view
[~HUAWEI] grpc
[~HUAWEI-grpc] whitelist session-car grpc cir 15 cbs 2000 pir 800 pbs 130000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic