Validating LDP session reset
You can check the LDP session specific parameters to validate that a session has been successfully reset.
- The LDP session state transitions from
NON_EXISTANTupon clearing it. However, the states may quickly transition. In this case, the show mpls ldp session command shows the current state.
- The LDP session-specific database is cleaned upon resetting the LDP session.
- The TCP port number on the active end of the LDP session may have been changed once the LDP session comes up after the reset; the TCP port number before and after the reset may be different.
- Syslog logs the event of a LDP session going down and then coming back up as a result of resetting the LDP session. Use the command show log to view the syslog events.
The following example shows the use of the show mpls ldp session command to validate the LDP session reset.
vyatta@vyatta:~$ show mpls ldp session Peer IP Address IF Name My Role State KeepAlive 22.214.171.124 dp0p1s3 Passive OPERATIONAL 30