User guide
4-4 MPLS Module Installation and User Guide
Configuring the Label Distribution Protocol
Table 4-1: LDP Configuration Commands
Command Description
config mpls [ldp | targeted-ldp] [hello |
keep-alive] <hold_time> <interval_time>
Configures LDP session timers. Specify one of
the following:
■
ldp — Specifies an LDP session.
■
targeted-ldp — Specifies a targeted LDP
session.
■
hello <hold_time> <interval_time> —
The amount of time (in seconds) that a hello
message received from a neighboring LSR
remains valid. If a hello message is not
received from a particular neighboring LSR
within the specified hello <hold_time>,
the hello-adjacency is not maintained with that
neighboring LSR. The range is 6 to 65,534.
The default setting for ldp hello
<hold_time> is 15. The default setting for
targeted-ldp hello <hold_time> is
45. The default setting for ldp hello
<interval_time> is 5. The default setting
for targeted-ldp hello
<interval_time> is 15.
■
keep-alive <hold_time>
<interval_time> — The time (in seconds)
during which an LDP message must be
received for the LDP session with a particular
peer LSR to be maintained. If an LDP PDU is
not received within the specified session
keep-alive <interval_time>, the
corresponding LDP session is torn down.The
range is 6 to 65,534. The default setting for
ldp keep-alive <hold_time> is 40. The
default setting for targeted-ldp
keep-alive <hold_time> is 60. The
default setting for ldp keep-alive
<interval_time> is 13. The default setting
for targeted-ldp keep-alive
<interval_time> is 20.
config mpls add vlan [<name> | all] {ldp} Enables LDP for one or all VLANs. If not
specified, LDP is enabled on the specified VLAN.
config mpls delete vlan [<name> | all] {ldp} Disables LDP on one or all VLANs. If not
specified, LDP is disabled on the specified VLAN.