whitelist session-car ssh-server

Function

The whitelist session-car ssh-server command sets values for SSH whitelist session CAR parameters.

The undo whitelist session-car ssh-server command restores the default values for SSH whitelist session CAR parameters.

By default, the CIR, CBS, PIR, and PBS of SSH whitelist session CAR are 100 kbit/s, 3000000 bytes, 4000 kbit/s, and 9000000 bytes, respectively.

Format

whitelist session-car ssh-server { cir cir-value | cbs cbs-value | pir pir-value | pbs pbs-value } *

undo whitelist session-car ssh-server [ { 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 ranges from 0 to 1000000, in kbit/s. The default value is 100.

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 ranges from 0 to 10000000, in bytes. The default value is 3000000.

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 ranges from 0 to 1000000, in kbit/s. The default value is 4000.

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 ranges from 0 to 10000000, in bytes. The default value is 9000000.

Views

System view

Default Level

3: Management level

Task Name and Operations

Task Name Operations
ssh-server write

Usage Guidelines

Usage Scenario

To adjust the packet channel bandwidth for SSH session CAR on a device, run the whitelist session-car ssh-server command. If the device receives a large number of SSH Server packets, this configuration ensures that the packets that hit the SSH Server whitelist (session CAR) can be sent to SSH Server properly.

The PIR must be greater than or equal to the CIR, and the PBS must be greater than or equal to the CBS.

Implementation Procedure

If a session CAR parameter in an SSH whitelist is set to an excessively large or small value, the involved SSH Server neighbor relationships may be disconnected or flap.

Precautions

In normal cases, you are advised not to change the values of the session CAR parameters in an SSH whitelist. Use the default values of these parameters instead.

Example

# Set parameters for SSH session CAR.
<HUAWEI> system-view
[~HUAWEI] whitelist session-car ssh-server cir 100 cbs 500000 pir 2000 pbs 900000
Warning: If the parameters of Session-CAR in the whitelist are too large or too small, the neighbor relationship may be disconnected or flap. You are advised to use the default values.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >