Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

Resetting LDP neighbors

You can terminate and re-establish an MPLS LDP neighbor session when at least one LDP Hello adjacency exists with the peer. When the LDP session terminates, the database associated with the LDP session is also cleared.

The LDP sessions are automatically re-established when at least one Hello adjacency exists with the neighbor, and LDP configuration remains unchanged.

When an LDP session is terminated as a result of the reset mpls ldp command, the Ciena device generates a notification message for the neighbor. The other end of the LDP session detects this reset operation and tries to re-establish the session.

Note: Resetting an LDP session that is not in an operational state has no impact.
  1. Enter the reset mpls ldp session all command to terminate all LDP sessions.
    vyatta@vyatta:~$ reset mpls ldp session all 
    
                        
                        
    In this example, both the link and targeted LDP sessions are terminated. When the all option is specified instead of a peer address, all LDP sessions on the Ciena device are reset.
  2. Enter the reset mpls ldp session <ip address> command to terminate the LDP sessions with the neighbor.
    vyatta@vyatta:~$ reset mpls ldp session 10.234.123.64 
    
                        
                        
    In this example, the link LDP sessions with neighbor 10.234.123.64 are terminated.

When the session re-establishes, the session-specific information is re-learned from its peer:

  • LDP downstream and upstream label database displayed by the show mpls ldp downstream and show mpls ldp upstream command
  • LDP label switched path displayed by the show mpls ldp lsp command
  • LDP peer displayed by the show mpls ldp neighbor command
  • LDP FECs learned from the resetting neighbor sessions displayed by the show mpls ldp fec command FECs are not cleared immediately but are marked that no LDP session exists.