24 label-retention-mode, Label, Retention – PLANET XGS3-24042 User Manual

Page 1196: Mode

Advertising
background image

76-14

Configure the timeout value of LDP sessions, whose default value is 30 seconds; the no operation

will restore the default value.

Parameters:

<time-val>is the timeout value of LDP sessions, ranging from 1 to 65535 seconds.

Default:

30s.

Command Mode:

LDP Protocol Configuration Mode

Usage Guide:

LDP will send keepalive messages to each other for keeping the communication, if there is no data

after the creation of a TCP session. Without receiving a keepalive message within the timeout

period set by this command, the connection will be treated as disconnected. Usually this value

should be at least three times as long as the keepalive interval. When this value is configured on the

interface, the global configuration command will lose effect.

Example:

Configure the global timeout value.

Switch(config)#router ldp

Switch(config-router)#keepalive-timeout 50

Related Commands:

keepalive-interval, ldp keepalive-timeout

76.24 label-retention-mode

Command:

label-retention-mode {conservative|liberal}

no label-retention-mode {conservative|liberal}

Function:

Set the label retention mode; the no operation will cancel the configuration.

Default:

Liberal

Command Mode:

LDP Protocol Configuration Mode.

Usage Guide:

The LDP label retention mode determines how the LDP protocol handles the label information. The

protocol provides two modes: the first one is conservative, which means only allows the retention of

label information useful for the switch and drops other information. The other one is liberal, which

means to allow the retention of all label information. This mode works together with the label

Advertising
This manual is related to the following products: