OcNOS-SP : Multi-Protocol Label Switching Guide : Label Distribution Protocol Command Reference : LDP Show Commands : show ldp interface
show ldp interface
Table 2-40: show ldp fec output fields details 
Field
Description
FEC
Displays the Forward Equivalency Class (FEC) for this entry.
Session
Reports the current session state.
Out Label
Label received from downstream neighbor for route.
Nexthop addr
Displays the IP address of the next hop.
Use this command to display the list of all interfaces on the current LSR, and to indicate whether a given interface is label-switching or not.
Command Syntax
show ldp interface
show ldp interface IFNAME
Parameter
IFNAME
Displays the name of the interface.
Command Mode
Exec mode and Privileged Exec mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
The following output displays a list of all interfaces on the LSR.
#show ldp interface
Interface LDP Identifier Label-switching Merge Capability
eth0 10.10.0.11:0 Disabled N/A
lo 10.10.0.11:0 Disabled N/A
eth1 10.10.0.11:0 Enabled Merge capable
eth2 10.10.0.11:0 Enabled Merge capable
vmnet1 10.10.0.11:0 Disabled N/A
The following is a sample output from the show ldp interface IFNAME command displaying information about the specified interface eth1.
#show ldp interface eth1
Status : Enabled
Primary IP Address : 192.168.3.4
Interface Type : Ethernet
Label Merge Capability : Merge Capable
Hello Interval : 5
Targeted Hello Interval : 15
Hold Time : 15
Targeted Hold Time : 45
Keepalive Interval : 10
Keepalive Timeout : 30
Advertisement Mode : Downstream On Demand
Label Retention Mode : Liberal
Administrative Groups : myGroup
 
Table 2-41 explains the show command output fields.
 
Table 2-41: show ldp interface output fields details 
Field
Description
Interface
Name of the interface.
LDP Identifier
LDP identifier for this protocol.
Label-switching
Status of the label-switching on interface ..
Merge Capability
Used to override the default merge capability setting of all the interfaces.
Status
Status of the ldp interface.
Primary IP Address
Address of the primary Internet protocol in the interface.
Interface Type
Type of interface.
Label Merge Capability
Used to override the default merge capability setting of all the interfaces for the label.
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.
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.
Administrative Groups
Administrative group to be used for links.
 
Last modified date: 10/17/2023