OcNOS-SP : Multi-Protocol Label Switching Guide : Label Distribution Protocol Command Reference : LDP Show Commands : show ldp
show ldp
Use this command to display basic LDP attributes defined for the current LSR.
Command Syntax
show ldp
Parameter
None
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following is a sample output from the show ldp command displaying basic LDP attributes.
#show ldp
Router ID : 20.1.1.1
LDP Version : 1
Global Merge Capability : Merge Capable
Label Advertisement Mode : Downstream Unsolicited
Label Retention Mode : Liberal
Label Control Mode : Independent
Instance Loop Detection : On
Instance Hop Count Limit : 255
Instance Path Vec Count : 255
Request Retry : Off
Propagate Release : Disabled
Graceful Restart : Disabled
Hello Interval : 5
Targeted Hello Interval : 15
Hold time : 15
Targeted Hold time : 45
Keepalive Interval : 10
Keepalive Timeout : 30
Request retry Timeout : 5
Transport Address data :
Labelspace 0 : 20.1.1.1 (in use)
Import BGP routes : No
#
 
 
Table 2-34 explains the show command output fields.
 
Table 2-34: show ldp output fields details: 
Field
Description
Router ID
Router identifier in IP address format for this system.
LDP Version
Details of Link Layer Discovery Protocol (LLDP) version.
Global Merge Capability
Used to override the default merge capability setting of all the interfaces for the current LSR.
Label Advertisement Mode
Used to set the label advertisement mode for an interface for the current LSR to
either downstream-on-demand (label is sent only when requested) or downstream-unsolicited (label is sent unrequested).
Label Retention Mode
Used for all labels exchanged via the given interface.
Label Control Mode
LSR generates a local label for a FEC which the router learned from routing table independently from other LSRs.
Loop Detection
Used to enable loop detection on the current LSR.
Loop Detection Count
Indicates the loop detection hop count.
Request Retry
Enables the LSR to send a maximum of five label requests.
Propagate Release
Used to propagate the release of labels to downstream routers.
Hello Interval
Sets the interval for sending unicast hello packets to peers.
Targeted Hello Interval
Sets the interval for sending unicast hello packets to targeted peers.
Hold time
Sets the time-out value to peers.
Targeted Hold time
Sets the time-out value that is the time that the router waits before rejecting an adjacency with targeted peers.
Keepalive Interval
Used to set the interval for sending keep-alive messages to the peer in order to maintain a session.
Keepalive Timeout
Time-out value for rejecting a session with a peer.
Request retry Timeout
Used to set the interval between retries.
 
Targeted Hello Receipt
Status of the hello receipt.
Transport Address
The transport address is the address used for the TCP session over which LDP is running.
Transport Interface
Interface is used for the TCP session over which LDP is running.
Import BGP routes
Used to import BGP routes into LDP.
 
Last modified date: 10/17/2023