The whitelist session-car telnet-server command sets values for Telnet whitelist session CAR parameters.
The undo whitelist session-car telnet-server command restores the default values for Telnet whitelist session CAR parameters.
By default, the CIR, CBS, PIR, and PBS of Telnet whitelist session CAR are 4 kbit/s, 640 bytes, 64 kbit/s, and 10000 bytes, respectively.
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 4. |
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 1000000, in bytes. The default value is 640. |
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 64. |
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 1000000, in bytes. The default value is 10000. |
Usage Scenario
To adjust the packet channel bandwidth for Telnet session CAR on a device, run the whitelist session-car telnet-server command. If the device receives a large number of Telnet Server packets, this configuration ensures that the packets that hit the Telnet Server whitelist (session CAR) can be sent to Telnet 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 Telnet Server parameter in an Telnet whitelist is set to an excessively large or small value, the involved Telnet 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 Telnet whitelist. Use the default values of these parameters instead.
<HUAWEI> system-view [~HUAWEI] whitelist session-car telnet-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.