Configuring the receive label silence and EOL timers for LDP-IGP synchronization

Perform the following steps to configure the timers.
  1. In privileged EXEC mode, enter global configuration mode.
    device# configure terminal
  2. Enable MPLS on the device.
    device(config)# router mpls
  3. Access LDP configuration mode.
    device(config-router-mpls)# ldp
  4. Define the length of the receive label silence timer.
    device(config-router-mpls-ldp)# rx-label-silence-time 60000
    In this example, the length of time for the receive label silence timer is set to 60000 milliseconds. Possible values are from 100 to 60000. The default value is 1000. When labels are not received from the peer for a short period of time, the session is declared In Sync. When a label is received from a peer, then the receive label silence timer is reset.
  5. Enable the end-of-lib configuration mode.
    device(config-router-mpls-ldp)# eol
    The end-of-lib mode contains all the attributes of the end of lib capability and notification. Also, enabling the end-of-lib mode determines whether the two RFCs 5561 and 5919 are enabled by the LSR.
  6. Set the length of the EOL notification timer.
    device(config-router-mpls-ldp-eol)# notification-timer 80000
    In this example, the length of time for the EOL notification timer is set to of 80000 milliseconds. Possible values are from 100 to 120000. The default value is 60000.
  7. Set the length of the EOL transmit label silence timer.
    device(config-router-mpls-ldp-eol)# tx-label-silence-timer 2000
    In this example, the length of time for the EOL transmit label silence timer is set to of 2000 milliseconds. Possible values are from 100 to 60000. The default value is 1000.
  8. Verify the configuration.
    device# show mpls ldp
    Label Distribution Protocol version 1
     LSR ID: 10.1.7.1, using Loopback 1 (deleting it stops LDP)
     Hello interval: Link 5 sec, Targeted 15 sec
     Hold time value sent in Hellos: Link 15 sec, Targeted 45 sec 
     Keepalive interval: 6 sec, Hold time multiple: 6 intervals 
     Load sharing: 8
     Tunnel metric: 0
     FEC used for auto discovered peers: current 129, configured 129
     End of lib: Enabled, Notification time: 80000 ms, tx label silence time: 2000ms
     Rx label silence time: 80000ms
     Graceful restart: enabled
      Reconnect time: 120 seconds, Max peer reconnect time: 120 seconds 
      Recovery time: 120 seconds, Max peer recovery time: 120 seconds 
      Forwarding state holding timer: not running
     Label Withdrawal delay: 60 seconds (Default)
    
    The show mpls ldp command displays the configuration of the EOL parameters.

Example

The following example shows the previous steps of the configuration.

device(config)# router mpls
device(config-router-mpls)# ldp
device(config-router-mpls-ldp)# rx-label-silence-time 30000
device(config-router-mpls-ldp)# eol
device(config-router-mpls-ldp-eol)# notification-timer 80000
device(config-router-mpls-ldp-eol)# tx-label-silence-timer 2000