The whitelist session-car ftp-server command sets values for FTP whitelist session CAR parameters.
The undo whitelist session-car ftp-server command restores the default values for FTP whitelist session CAR parameters.
By default, the CIR, CBS, PIR, and PBS of FTP whitelist session CAR are 100 kbit/s, 3000000 bytes, 4000 kbit/s, and 9000000 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 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. |
Usage Scenario
To adjust the packet channel bandwidth for FTP session CAR on a device, run the whitelist session-car ftp-server command. If the device receives a large number of FTP Server packets, this configuration ensures that the packets that hit the FTP whitelist (session CAR) can be sent to FTP 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
In normal cases, you are advised not to change the values of the session CAR parameters in an FTP whitelist. Use the default values of these parameters instead.
Precautions
In normal cases, you are advised not to change the values of the session CAR parameters in an FTP whitelist. Use the default values of these parameters instead.
<HUAWEI> system-view [~HUAWEI] whitelist session-car ftp-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.