whitelist session-car pcep-ipv4

Function

The whitelist session-car pcep-ipv4 command is used to set Session-CAR parameters for the PCEP whitelist.

The undo whitelist session-car pcep-ipv4 command is used to restore the default Session-CAR values for the PCEP whitelist.

By default, the CIR, CBS, PIR, and PBS of the Session-CAR function for the PCEP whitelist are 9 kbit/s, 1758 bytes, 2400 kbit/s, and 450000 bytes, respectively.

Format

whitelist session-car pcep-ipv4 { cir cir-value | cbs cbs-value | pir pir-value | pbs pbs-value } *

undo whitelist session-car pcep-ipv4 [ { cir cir-value | cbs cbs-value | pir pir-value | pbs pbs-value } * ]

Parameters

Parameter Description Value
cir cir-value

Specifies a committed information rate (CIR), that is, the average rate at which packets can be transmitted or forwarded.

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

cbs cbs-value

Specifies a committed burst size (CBS), that is, the committed volume of burst traffic that can pass instantly.

The value is an integer ranging from 1 to 9000000, in bytes. The default value is 1758.

pir pir-value

Specifies a peak information rate (PIR), that is, the peak rate at which packets can be transmitted or forwarded.

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

pbs pbs-value

Specifies a peak burst size (PBS), that is, the peak volume of burst traffic that can pass instantly.

The value is an integer ranging from 1 to 9000000, in bytes. The default value is 450000.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
pce write

Usage Guidelines

Usage Scenario

If a device receives a large number of PCEP messages, you can run the whitelist session-car pcep-ipv4 command to modify the bandwidth values as needed for the message channels between PCEP sessions. This configuration ensures that PCEP messages can be properly sent.

Precautions

pir-value must be greater than or equal to cir-value. If you attempt to set a pir-value value smaller than cir-value, the following error message will be displayed: "Error: The pir %d must be greater than or equal to the cir %d."

pbs-value must be greater than or equal to cbs-value. If you attempt to set a pbs-value value smaller than cbs-value, the following error message will be displayed: "Error: The pbs %d must be greater than or equal to the cbs %d."

Example

# Set Session-CAR parameters for the PCEP whitelist.
<HUAWEI> system-view
[~HUAWEI] whitelist session-car pcep-ipv4 cir 20
<HUAWEI> system-view
[~HUAWEI] undo whitelist session-car pcep-ipv4 cir 20
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >