display mpls ldp event session-down

Function

The display mpls ldp event session-down command displays the time and reason when an LDP session went Down.

Format

display mpls ldp event session-down [ peer-id ]

display mpls ldp event session-down [ peer-id ] verbose

Parameters

Parameter Description Value
peer-id

Specifies the peer ID. If this parameter is specified, information about a specified peer is displayed.

The value is in dotted decimal notation.

verbose

Displays detailed information about LDP session down.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
mpls-ldp read

Usage Guidelines

Usage Scenario

The display mpls ldp event session-down command displays the time and reason when an LDP session went Down.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display information about an LDP session that went Down.
<HUAWEI> display mpls ldp event session-down
LDP Session Down Information
--------------------------------------------------------------------------------
 PeerID            Down Date  Down Time             Duration Time    Flag Reason
--------------------------------------------------------------------------------
 2.2.2.2:0         2011-09-13 04:37:05              0 days, 00:01:49 L    Receive notification
 2.2.2.2:0         2011-09-16 02:52:55              2 days, 22:15:47 L    Undo MPLS LDP
--------------------------------------------------------------------------------
 TOTAL: 2 Record(s) Found
 R: Remote peer.
 L: Local peer.
 B: Both of local and remote peer.
 G: Graceful Restart Session.
# Display detailed information about an LDP session that went Down.
<HUAWEI> display mpls ldp event session-down verbose
LDP Session Down Information
--------------------------------------------------------------------------------
 PeerID                  : 2.2.2.2:0
 IpFamily                : IPv4
 Socket ID               : 20
 Peer Transport Address  : 2.2.2.2
 Local Transport Address : 1.1.1.1
 Flag                    : Local
 Reason                  : Receive notification
 Sub Reason              : Shutdown
 Down Time               : 2011-09-13 04:37:05
 Duration time           : 0 days, 00:01:49
--------------------------------------------------------------------------------
 PeerID                  : 2.2.2.2:0
 IpFamily                : IPv4
 Socket ID               : 22
 Socket Flow Ctrl State  : FALSE
 Peer Transport Address  : 2.2.2.2
 Local Transport Address : 1.1.1.1
 Flag                    : Local
 Reason                  : Undo MPLS LDP
 Sub Reason              : -
 Down Time               : 2011-09-16 02:52:55
 Duration time           : 2 days, 22:15:47
--------------------------------------------------------------------------------
 PeerID                  : 3.3.3.3:0
 IpFamily                : IPv4
 Socket ID               : 11
 Socket Flow Ctrl State  : FALSE
 Peer Transport Address  : 3.3.3.3
 Local Transport Address : 1.1.1.1
 Flag                    : Remote
 Reason                  : IGP delete the RLFA IID
 Sub Reason              : -
 Down Time               : 2011-09-16 02:52:55
 Duration time           : 2 days, 22:15:47
--------------------------------------------------------------------------------
 PeerID                  : 1.1.1.1:0
 IpFamily                : IPv4
 Socket ID               : 23
 Socket Flow Ctrl State  : FALSE
 Peer Transport Address  : 1.1.1.1
 Local Transport Address : 3.3.3.3
 Flag                    : Remote
 Reason                  : Receive notification
 Sub Reason              : IGP delete the RLFA IID
 Down Time               : 2011-09-16 02:52:55
 Duration time           : 2 days, 22:15:47
--------------------------------------------------------------------------------
 TOTAL: 4 Record(s) Found
Table 1 Description of the display mpls ldp event session-down command output
Item Description
Down Date

Date when the LDP session went Down, in the format of YYYY-MM-DD.

Down Time

Time when the LDP session went Down, in the format of HH:MM:SS.

Local Transport Address

Local transport address used to establish the LDP session.

PeerID

LSR ID of an LDP peer.

Duration Time

Time elapsed since the LDP session was established.

Flag

Session ID:

  • R: remote peer.
  • L: local peer (local session).
  • B: Both of local and remote peer, local and remote coexistence session.
  • G: Graceful Restart Session.
Reason

Reason for the session Down event:

  • Hello hold timer expire: The Hello hold timer expired.
  • Keepalive timer expire: The Keepalive timer expired.
  • Reset MPLS LDP: The reset mpls ldp command was run.
  • Undo MPLS LDP: The undo mpls ldp command was run.
  • Undo MPLS LDP remote peer: A remote LDP peer was deleted.
  • Config GR: LDP GR was configured.
  • Modify keepalive timer: The Keepalive timer value was modified.
  • Config transport address: The transport address was modified.
  • Modify MPLS LDP LSR-ID: An LSR ID of the LDP session was modified.
  • Receive notification: A Notification message was received.
  • Session role changed: The session type was changed.
  • Error message was received from a peer: An incorrect Notification message was received.
  • Socket error was received: An incorrect socket was received.
  • IGP delete the RLFA IID: IGP delete the RLFA IID.
  • Others.
IpFamily

IP address family information.

Socket ID

TCP socket ID.

Socket Flow Ctrl State

Socket flow control status:

  • TRUE: The socket is in the flow control state.
  • FALSE: The socket is not in the flow control state.
Peer Transport Address

Peer transport address used to establish the LDP session.

Sub Reason

Sub-reason for the session Down event:

  • A value is displayed if the Reason field is Receive notification.
  • A hyphen (-) is displayed if the Reason field is not Receive notification.

    The value can be:

  • Bad LDP Identifier.
  • Bad Protocol Version.
  • Bad PDU Length.
  • Bad Message Length.
  • Bad TLV Length.
  • Malformed TLV Value.
  • Hold Timer Expired.
  • Shutdown.
  • Session Rejected/No Hello.
  • Session Rejected/Parameters Advertisement Mode.
  • Session Rejected/Parameters Max PDU Length.
  • Session Rejected/Parameters Label Range.
  • KeepAlive Timer Expired.
  • Session Rejected/Bad KeepAlive Time.
  • Internal Error.
  • IGP delete the RLFA IID.
TOTAL

Total number of records.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >