The whitelist session-car command sets parameters for LDP whitelist session CAR.
The undo whitelist session-car command restores the default parameters for LDP whitelist session CAR.
By default, the tcp parameters are cir=1, cbs=188, pir=4000, and pbs=160000;the udp-local parameters are cir=1, cbs=188, pir=4, and pbs=750;the udp-remote parameters are cir=1, cbs=188, pir=4, and pbs=750.
Parameter | Description | Value |
---|---|---|
ldp-tcp |
Indicates TCP signaling packets received from an LDP session. |
- |
ldp-udp-local |
Indicates UDP signaling packets received from a local LDP adjacency. |
- |
ldp-udp-remote |
Indicates UDP signaling packets received from a remote LDP adjacency. |
- |
cir cir-value |
Specifies a committed information rate (CIR), that is, the average rate at which packets can be transmitted or forwarded. |
The value ranges from 1 to 1000000, in kbit/s. |
cbs cbs-value |
Specifies a committed burst size (CBS), which limits the maximum number of bytes available for a burst of packets in a short interval to remain within CIR. |
The value ranges from 1 to 9000000, in bytes. |
pir pir-value |
Specifies a peak information rate (PIR), that is, the highest rate at which packets can be transmitted or forwarded. |
The value ranges from 1 to 1000000, in kbit/s. |
pbs pbs-value |
Specifies a peak burst size (PBS), which limits the maximum number of bytes available for a burst of packets in a short interval to remain within PIR. |
The value ranges from 1 to 9000000, in bytes. |
Usage Scenario
To adjust the packet channel bandwidth for LDP session CAR on a device, run the whitelist session-car ldp command. This configuration ensures that the LDP packets that match the LDP whitelist (session CAR) can be sent to LDP properly if the device receives a large number of such packets.
The PIR must be greater than or equal to the CIR, and the PBS must be greater than or equal to the CBS.Configuration Impact
If a session CAR parameter in an LDP whitelist is set to an excessively large or small value, the involved LDP neighbor relationships may be disconnected or flap.
Precautions
You are advised not to change the values of session CAR parameters in LDP whitelists, except under exceptional circumstances. Use the default values for these parameters instead.