discovery [state state][detail | summary][adjacency-type type][session ip-addr[label-space]]
discovery [state state][detail | summary][adjacency-type type][family]
discovery interface [ip-int-name] [state state][detail | summary][session ip-addr[label-space]][family]
discovery peer [ip-address][state state][detail | summary][session ip-addr[label-space]]
show>router>ldp
This command displays the status of the interfaces participating in LDP discovery.
specifies the current operational state of the adjacency
displays detailed information
displays summary information
specifies the adjacency type
the IP address of the session
specifies the label space identifier that the router is advertising on the interface
displays either IPv4 or IPv6 LDP session information
specifies an existing interface. If the string contains special characters (such as #, $, spaces), the entire string must be enclosed within double quotes.
specifies the IP address of the peer
The following outputs are examples of LDP discovery information, and Table: LDP Discovery Field Descriptions describes the fields.
Output Example - show router ldp discoveryALU-12# show router ldp discovery
===============================================================================
LDP IPv4 Hello Adjacencies
===============================================================================
Interface Name Local Addr Peer Addr AdjType State
-------------------------------------------------------------------------------
N/A 10.10.10.103 10.10.10.93 Targ Trying
N/A 10.10.10.103 10.10.10.104 Targ Estab
to-104 10.0.0.103 224.0.0.2 Link Trying
-------------------------------------------------------------------------------
No. of Hello Adjacencies: 3
===============================================================================
ALU-12#
Output Example - show router ldp discovery detail
ALU-12# show router ldp discovery detail
===============================================================================
LDP IPv4 Hello Adjacencies (Detail)
===============================================================================
Peer 10.10.10.93
-------------------------------------------------------------------------------
Local Address : 10.10.10.103 Peer Address : 10.10.10.93
Adjacency Type : Targeted State : Trying
-------------------------------------------------------------------------------
Peer 10.10.10.104
-------------------------------------------------------------------------------
Local Address : 10.10.10.103 Peer Address : 10.10.10.104
Adjacency Type : Targeted State : Established
Up Time : 0d 18:26:36 Hold Time Remaining: 38
Hello Mesg Recv : 76616920 Hello Mesg Sent : 466580812
Remote Cfg Seq No : 159 Remote IPv4 Address : 198.51.100.255
Local Cfg Seq No : 1674451 Local IPv4 Address : 198.51.100.1
-------------------------------------------------------------------------------
Interface "to-104"
-------------------------------------------------------------------------------
Local Address : 10.0.0.103 Peer Address : 224.0.0.2
Adjacency Type : Link State : Trying
===============================================================================
ALU-12#
Label |
Description |
---|---|
Interface Name |
The name of the interface |
Local Addr |
The IP address of the originating (local) router |
Peer Addr |
The IP address of the peer |
Adj Type |
The adjacency type between the LDP peer and LDP session |
State |
Established — indicates that the adjacency is established |
Trying — indicates that the adjacency is not yet established |
|
No. of Hello Adjacencies |
The total number of hello adjacencies discovered |
Up Time |
The amount of time the adjacency has been enabled |
Hold-Time Remaining |
The time left before a neighbor is declared to be down |
Hello Mesg Recv |
The number of Hello messages received for this adjacency |
Hello Mesg Sent |
The number of Hello messages that have been sent for this adjacency |
Remote Cfg Seq No |
The configuration sequence number that was in the Hello message received when this adjacency started up. This configuration sequence number changes when there is a change of configuration. |
Remote IP Address |
The IP address used on the remote end for the LDP session |
Local Cfg Seq No |
The configuration sequence number that was used in the Hello message sent when this adjacency started up. This configuration sequence number changes when there is a change of configuration. |
Local IPv4 Address Local IPv6 Address |
The IP address used locally for the LDP session |
fec-egress-stats [ip-prefix/mask]
fec-egress-stats [active][family]
show>router>ldp
This command displays LDP FEC egress statistical information.
the IP prefix and prefix length associated with the prefix FEC
displays information from all LDP FECs with statistics collection enabled
displays either IPv4 or IPv6 LDP information
The following output is an example of LDP FEC egress statistical information.
Output Examplee.show>router>ldp>bindings>fec-egress-stats 2.2.2.2/32
========================================================================
LDP Egress Statistics
========================================================================
-------------------------------------------------------------------------------
FEC Prefix/Mask : 10.10.10.29/32
-------------------------------------------------------------------------------
Collect Stats : Disabled Accounting Plcy. : None
Admin State : Up
FC BE
InProf Pkts : 0 OutProf Pkts : 0
InProf Octets : 0 OutProf Octets : 0
FC L2
InProf Pkts : 0 OutProf Pkts : 0
InProf Octets : 0 OutProf Octets : 0
FC AF
InProf Pkts : 0 OutProf Pkts : 0
InProf Octets : 0 OutProf Octets : 0
FC L1
InProf Pkts : 0 OutProf Pkts : 0
InProf Octets : 0 OutProf Octets : 0
FC H2
InProf Pkts : 0 OutProf Pkts : 0
InProf Octets : 0 OutProf Octets : 0
FC EF
InProf Pkts : 0 OutProf Pkts : 0
InProf Octets : 0 OutProf Octets : 0
FC H1
InProf Pkts : 0 OutProf Pkts : 0
InProf Octets : 0 OutProf Octets : 0
FC NC
InProf Pkts : 0 OutProf Pkts : 0
InProf Octets : 0 OutProf Octets : 0
------------------------------------------------------------------------
LDP Egress Statistics : 1
========================================================================
fec-originate [ip-address/mask] [operation-type]
fec-originate [operation-type][family]
show>router>ldp
This command displays LDP static prefix FECs.
specifies the IP prefix and prefix length
specifies the operation type to display
the address family filter
The following output is an example of FEC originate information, and Table: FEC-Originate Field Descriptions describes the fields.
Output Example*A:ALU-12# show router ldp fec-originate
===============================================================================
LDP Static Prefix FECs
===============================================================================
Prefix NHType NextHop IngLabel EgrLabel OperIngLabel
-------------------------------------------------------------------------------
10.1.0.0/16 Pop n/a -- -- 0
10.1.0.1/32 Pop n/a -- -- 0
10.1.0.2/32 Pop n/a -- -- 0
10.1.0.3/32 Pop n/a -- -- 0
10.1.0.4/32 Pop n/a -- -- 0
10.1.0.5/32 Pop n/a -- -- 0
10.1.0.6/32 Pop n/a -- -- 0
10.1.0.7/32 Pop n/a -- -- 0
10.1.0.8/32 Pop n/a -- -- 0
10.1.0.9/32 Pop n/a -- -- 0
...
10.251.0.0/16 Pop n/a -- -- 0
10.252.0.0/16 Pop n/a -- -- 0
10.253.0.0/16 Pop n/a -- -- 0
10.254.0.0/16 Pop n/a -- -- 0
-------------------------------------------------------------------------------
No. of FECs: 508
===============================================================================
===============================================================================
LDP IPv6 Static Prefix FECs
===============================================================================
Prefix NHType NextHop IngLabel EgrLabel OperIngLabel
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
*A:ALU-12#
Label |
Description |
---|---|
Prefix |
The static prefix FEC |
NHType |
The type of next hop for this entry: Unknown: the next-hop type has not been set IP Addr: the next hop is an IP address Pop: there is no next hop; label is popped and packet routed Unnumbered: the next hop is an unnumbered interface |
Next Hop |
The IP address of the next hop, or Unnumbered for unnumbered interfaces |
IngLabel |
The label that is advertised to the upstream peer. If this variable is set to the default value of 4294967295, the ingress label is dynamically assigned by the label manager. |
EgrLabel |
The egress label associated with this next-hop entry. The LSR swaps the incoming label with the configured egress label. If this egress label has a value of 4294967295, the LSR pops the incoming label. |
OperIngLabel |
The actual or operational value of the label that was advertised to the upstream peer |
interface [ip-int-name|ip-address][detail]
show>router>ldp
This command displays configuration information about LDP interfaces.
specifies an existing interface. If the string contains special characters (such as #, $, spaces), the entire string must be enclosed within double quotes.
identifies the LDP neighbor by IP address
displays detailed information
The following output is an example of LDP interface information, and Table: LDP Interface Field Descriptions describes the fields.
Output ExampleA:ALU-12# show router ldp interface
===============================================================================
LDP Interfaces
===============================================================================
Interface Adm/Opr Hello Hold KA KA Transport
Sub-Interface<s> Adm/Opr Fctr Time Fctr Time Address
-------------------------------------------------------------------------------
ip-10.10.1.1 Up/Up
ipv4 Up/Dwn 3 15 3 30 System
ipv6 Up/Dwn 3 15 3 30 System
-------------------------------------------------------------------------------
No. of Interfaces: 1
===============================================================================
A:ALU-12#
A:ALU-12>show>router>ldp# interface detail
===============================================================================
LDP Interfaces (Detail)
===============================================================================
-------------------------------------------------------------------------------
Interface "back"
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
BASE
-------------------------------------------------------------------------------
Admin State : Up Oper State : Down
BFD Status : ipv4
-------------------------------------------------------------------------------
IPv4
-------------------------------------------------------------------------------
IPv4 Admin State: Up IPv4 Oper State : Down
IPv4 Oper Down Rea*: interfaceDown
Hold Time : 1000 Hello Factor : 15
Keepalive Timeout : 1000 Keepalive Factor : 15
Transport Addr : System Last Modified : 08/08/2007 09:50:15
Active Adjacencies : 0
Tunneling : Disabled
Lsp Name : None
===============================================================================
A:ALU-12>show>router>ldp#
Label |
Description |
---|---|
Interface |
The interface associated with the LDP instance |
Adm |
Up — indicates that the LDP is administratively enabled |
Down — indicates that the LDP is administratively disabled |
|
Opr |
Up — indicates that the LDP is operationally enabled |
Down — indicates that the LDP is operationally disabled |
|
Hello Fctr |
The value by which the hello timeout should be divided to give the hello time; that is, the time interval, in seconds, between LDP Hello messages. LDP uses hello messages to discover neighbors and to detect loss of connectivity with its neighbors. |
Hold Time |
The time interval, in seconds, that LDP waits before declaring a neighbor to be down. Hold time (also known as Hello time) is local to the system and is sent in the hello messages to a neighbor. |
KA Fctr |
The value by which the keepalive timeout should be divided to give the keepalive time; that is, the time interval, in seconds, between LDP keepalive messages. LDP keepalive messages are sent to keep the LDP session from timing out when no other LDP traffic is being sent between the neighbors. |
KA Time |
The time interval, in seconds, that LDP waits before tearing down a session. If no LDP messages are exchanged during this time interval, the LDP session is torn down. Generally the value is configured to be three times the keepalive time (the time interval between successive LDP keepalive messages). |
Transport Address |
The transport address entity |
No. of Interfaces |
The total number of LDP interfaces |
Oper Down Reason |
The reason for the LSP being in the down state |
Active Adjacencies |
The number of active adjacencies |
Last Modified |
The time of the last modification to the LDP interface |
Lsp Name |
The LSP name |
parameters
show>router>ldp
This command displays configuration information about LDP parameters.
The following output is an example of LDP parameters information, and Table: LDP Parameters Field Descriptions describes the fields.
Output ExampleA:ALU-12# show router ldp parameters
===============================================================================
LDP Parameters (IPv4 LSR ID 10.20.1.1:0)
(IPv6 LSR ID 3ffe::a14:101[0])
===============================================================================
-------------------------------------------------------------------------------
Graceful Restart Parameters
-------------------------------------------------------------------------------
Graceful Restart : Disabled
Nbor Liveness Time : 120 sec Max Recovery Time : 120
-------------------------------------------------------------------------------
IPv4 Interface Parameters
-------------------------------------------------------------------------------
Keepalive Timeout : 30 sec Keepalive Factor : 3
Hold Time : 15 sec Hello Factor : 3
Transport Address : system
-------------------------------------------------------------------------------
IPv6 Interface Parameters
-------------------------------------------------------------------------------
Keepalive Timeout : 30 sec Keepalive Factor : 3
Hold Time : 15 sec Hello Factor : 3
Transport Address : system
-------------------------------------------------------------------------------
Targeted Session Parameters
-------------------------------------------------------------------------------
Import Pfx Policies: None Export Pfx Policies : None
Prefer Tunl-in-Tunl: Disabled SDP Auto Targ Sess : Enabled
-------------------------------------------------------------------------------
IPv4 Targeted Session Parameters
-------------------------------------------------------------------------------
Keepalive Timeout : 30 sec Keepalive Factor : 3
Hold Time : 15 sec Hello Factor : 3
Hello Reduction : Disabled Hello Reduction Fctr: 3
-------------------------------------------------------------------------------
IPv6 Targeted Session Parameters
-------------------------------------------------------------------------------
Keepalive Timeout : 40 sec Keepalive Factor : 4
Hold Time : 45 sec Hello Factor : 3
Hello Reduction : Disabled Hello Reduction Fctr: 3
===============================================================================
A:ALU-12A#
Label |
Description |
---|---|
Graceful Restart Parameters |
|
Nbor Liveliness Time |
The neighbor liveness time |
Max Recovery Time |
The local maximum recovery time |
IPv4 Interface Parameters IPv6 Interface Parameters |
|
Keepalive Timeout |
The time interval, in seconds, that LDP waits before tearing down a session. If no LDP messages are exchanged during this time interval, the LDP session is torn down. Generally the value is configured to be three times the keepalive time (the time interval between successive LDP keepalive messages). |
Keepalive Factor |
The value by which the keepalive timeout should be divided to give the keepalive time; that is, the time interval, in seconds, between LDP keepalive messages. LDP keepalive messages are sent to keep the LDP session from timing out when no other LDP traffic is being sent between the neighbors. |
Hold Time |
The time interval, in seconds, that LDP waits before declaring a neighbor to be down. Hold time (also known as Hello time) is local to the system and is sent in the hello messages to a neighbor. |
Hello Factor |
The value by which the hello timeout should be divided to give the hello time; that is, the time interval, in seconds, between LDP Hello messages. LDP uses hello messages to discover neighbors and to detect loss of connectivity with its neighbors. |
Propagate Policy |
Specifies whether the LSR should generate FECs and which FECs it should generate |
system — indicates that the LDP distributes label bindings only for the router’s system IP address |
|
interface — indicates that the LDP distributes label bindings for all LDP interfaces |
|
all — indicates that the LDP distributes label bindings for all prefixes in the routing table |
|
none — indicates that the LDP does not distribute any label bindings |
|
Transport Address |
interface — the interface IP address is used to set up the LDP session between neighbors. If multiple interfaces exist between two neighbors, the interface mode cannot be used because only one LDP session is actually set up between the two neighbors. |
system — the system IP address is used to set up the LDP session between neighbors |
|
Label-Distribution |
The label distribution method |
Label-Retention |
liberal — all advertised label mappings are retained whether they are from a valid next hop or not. When the label distribution value is downstream unsolicited, a router may receive label bindings for the same destination for all its neighbors. Labels for the non-next-hops for the FECs are retained in the software but not used. When a network topology change occurs where a non-next-hop becomes a true next hop, the label received earlier is then used. |
conservative — advertised label mappings are retained only if they are used to forward packets; for example if the label came from a valid next hop. Label bindings received from non-next-hops for each FEC are discarded. |
|
Control Mode |
ordered — label bindings are not distributed in response to a label request until a label binding has been received from the next hop for the destination |
independent — label bindings are distributed immediately in response to a label request even if a label binding has not yet been received from the next hop for the destination |
|
Route Preference |
The route preference assigned to LDP routes. When multiple routes are available to a destination, the route with the lowest preference is used. This value is only applicable to LDP interfaces and not for targeted sessions. |
IPv4 Targeted Session Parameters IPv6 Targeted Session Parameters |
|
Keepalive Timeout |
The factor used to derive the keepalive interval |
Keepalive Factor |
The time interval, in seconds, that LDP waits before tearing down the session |
Hold Time |
The time left before a neighbor is declared to be down |
Hello Factor |
The value by which the hello timeout should be divided to give the hello time; that is, the time interval, in seconds, between LDP Hello messages. LDP uses hello messages to discover neighbors and to detect loss of connectivity with its neighbors. |
Disable — indicates that no authentication is being used |
|
Passive Mode |
True — indicates that LDP responds only when it gets a connect request from a peer and does not attempt to actively connect to its neighbors |
False — indicates that LDP actively tries to connect to its peers |
|
Targeted Sessions |
Enabled — indicates that targeted sessions are enabled |
Disabled — indicates that targeted sessions are disabled |
session [ip-addr [:label-space]] local-addresses [sent | recv] ip-addr ip-address
session [ip-addr [:label-space]][session-type][state state][detail | summary]
session [ip-addr [:label-space]] local-addresses [sent | recv][family]
session [ip-addr [:label-space]] statistics [packet-type] [session-type]
session statistics [packet-type] [session-type][family]
session [session-type][state state][detail | summary][family]
show>router>ldp
This command displays configuration information about LDP sessions.
specifies the IP address of the LDP peer
specifies the label space identifier that the router is advertising on the interface
displays detailed information
displays summary information
specifies the IP address
specifies the current operational state of the adjacency
specifies the packet type
displays either IPv4 or IPv6 LDP session information
specifies the session type
The following output is an example of LDP session information, and Table: LDP Session Field Descriptions describes the fields.
Output ExampleALU-12# show router ldp session
===============================================================================
LDP IPv4 Sessions
===============================================================================
Peer LDP Id Adj Type State Msg Sent Msg Recv Up Time
-------------------------------------------------------------------------------
10.10.10.104:0 Targeted Established 13943 13947 0d 21:12:41
-------------------------------------------------------------------------------
No. of IPv4 Sessions: 1
===============================================================================
LDP IPv6 Sessions
===============================================================================
Peer LDP Id
Adj Type State Msg Sent Msg Recv Up Time
-------------------------------------------------------------------------------
3ffe::a14:102[0]
Link Established 1788 1792 0d 01:19:19
3ffe::a14:103[0]
Link Established 1789 1788 0d 01:19:19
-------------------------------------------------------------------------------
No. of IPv6 Sessions: 2
===============================================================================
ALU-12#
ALU-12# show router ldp session detail
================================================================
LDP IPv4 Sessions (Detail)
================================================================
Session with Peer 10.1.1.33:0
------------------------------------------------------------------------------
Adjacency Type : Link State : Established
Up Time : 0d 00:03:51
Max PDU Length : 4096 KA/Hold Time Remaining: 26
Link Adjacencies : 1 Targeted Adjacencies : 0
Local Address : 10.1.1.30 Peer Address : 10.1.1.33
Local TCP Port : 646 Peer TCP Port : 50232
Local KA Timeout : 30 Peer KA Timeout : 30
Mesg Sent : 89 Mesg Recv : 126
FECs Sent : 3 FECs Recv : 3
GR State : Not Capable
Nbr Liveness Time : 0 Max Recovery Time : 0
Number of Restart : 0 Last Restart Time : Never
Advertise : Address
------------------------------------------------------------------------------
Session with Peer 10.1.1.57:0
------------------------------------------------------------------------------
Adjacency Type : Targeted State : Established
Up Time : 0d 00:03:49
Max PDU Length : 4096 KA/Hold Time Remaining: 36
Link Adjacencies : 0 Targeted Adjacencies : 1
Local Address : 10.1.1.30 Peer Address : 10.1.1.57
Local TCP Port : 646 Peer TCP Port : 49574
Local KA Timeout : 40 Peer KA Timeout : 40
Mesg Sent : 55 Mesg Recv : 61
FECs Sent : 11 FECs Recv : 8
GR State : Not Capable
Nbr Liveness Time : 0 Max Recovery Time : 0
Number of Restart : 0 Last Restart Time : Never
Advertise : Address/Servi*
================================================================
ALU-12#
Label |
Description |
---|---|
Peer LDP Id |
The IP address of the LDP peer |
Adj Type |
The adjacency type between the LDP peer and LDP session that is targeted |
Link — specifies that this adjacency is a result of a Link Hello |
|
Targeted — specifies that this adjacency is a result of a Targeted Hello |
|
State |
Established — the adjacency is established |
Trying — the adjacency is not yet established |
|
Msg Sent |
The number of messages sent |
Msg Rcvd |
The number of messages received |
Up Time |
The amount of time the adjacency has been enabled |
session-parameters [family]
session-parameters [peer-ip-address]
show>router>ldp
This command displays LDP peer information.
the address family filter
specifies the peer IP address
The following output is an example of LDP session-parameters information.
Output ExampleA:ALU-12# show router ldp session-parameters
===============================================================================
LDP IPv4 Session Parameters
===============================================================================
-------------------------------------------------------------------------------
Peer : 10.2.3.4
-------------------------------------------------------------------------------
DOD : Disabled Adv Adj Addr Only : Disabled
FEC129 : Disabled
Fec Limit : 0 Fec Limit Threshold: 90
Fec Limit Log Only : Disabled
Import Policies : None Export Policies : None
IPv4 Prefix Fec Cap: Enabled IPv6 Prefix Fec Cap: Enabled
P2MP Fec Cap : Enabled
Address Export : None
===============================================================================
No. of IPv4 Peers: 1
===============================================================================
* indicates that the corresponding row element may have been truncated.
===============================================================================
LDP IPv6 Session Parameters
===============================================================================
No Matching Entries Found
===============================================================================
status
show>router>ldp
This command displays LDP status information.
The following output is an example of LDP status information, and Table: LDP Status Field Descriptions describes the fields.
Output ExampleA:ALU-12# show router ldp status
===============================================================================
LDP Status for IPv4 LSR ID 2.2.2.2
IPv6 LSR ID ::
===============================================================================
Created at : 10/18/17 13:08:17
Last Change : 10/18/17 13:08:17
Admin State : Up
IPv4 Oper State : Up IPv6 Oper State : Up
IPv4 Up Time : 1d 01:35:18 IPv6 Up Time : 1d 01:35:18
IPv4 Oper Down Rea*: n/a IPv6 Oper Down Reason: n/a
IPv4 Oper Down Eve*: 0 IPv6 Oper Down Events: 0
Tunn Down Damp Time: 3 sec Weighted ECMP : Disabled
Label Withdraw Del*: 0 sec Implicit Null Label : Disabled
Short. TTL Local : Enabled Short. TTL Transit : Enabled
ConsiderSysIPByPol*: Disabled
Import Policies : None Export Policies : None
Tunl Exp Policies : None
FRR : Disabled Mcast Upstream FRR : Disabled
Mcast Upst ASBR FRR: Disabled
MP MBB Time : 3
Aggregate Prefix : False Agg Prefix Policies : None
Class Forwarding : Disabled
Legacy LSR Interop : False
Entropy Label Capa*: False
Generate Basic FEC : Disabled
Resolve Via Mcast *: Disabled
-------------------------------------------------------------------------------
Capabilities
-------------------------------------------------------------------------------
Dynamic : Enabled P2MP : Enabled
IPv4 Prefix Fec : Enabled IPv6 Prefix Fec : Enabled
Service Fec128 : Enabled Service Fec129 : Enabled
MP MBB : Enabled Overload : Enabled
Unrecognized Notif*: Enabled
===============================================================================
* indicates that the corresponding row element may have been truncated.
Label |
Description |
---|---|
Created at |
The date and time that the LDP instance was created |
Last Change |
The date and time that the LDP instance was last modified |
Admin State |
Up — indicates that LDP is administratively enabled |
Down — indicates that LDP is administratively disabled |
|
IPv4 Oper State IPv6 Oper State |
Up — indicates that LDP is operationally enabled |
Down — indicates that LDP is operationally disabled |
|
IPv4 Up Time IPv6 Up Time |
The time, in hundredths of seconds, that the LDP instance has been operationally up |
IPv4 Oper Down Time IPv6 Oper Down Time |
The time, in hundredths of seconds, that the LDP instance has been operationally down |
IPv4 Oper Down Events IPv6 Oper Down Events |
The number of times the LDP instance has gone operationally down since the instance was created |
Import Policies |
The import policy associated with the LDP instance |
Active Adjacencies |
The number of active adjacencies (established sessions) associated with the LDP instance |
Active Sessions |
The number of active sessions (session in some form of creation) associated with the LDP instance |
Active Interfaces |
The number of active (operationally up) interfaces associated with the LDP instance |
Inactive Interfaces |
The number of inactive (operationally down) interfaces associated with the LDP instance |
Active Peers |
The number of active LDP peers |
Inactive Peers |
The number of inactive LDP peers |
Addr FECs Sent |
The number of labels that have been sent to the peer associated with this FEC |
Addr FECs Recv |
The number of labels that have been received from the peer associated with this FEC |
Serv FECs Sent |
The number of labels that have been sent to the peer associated with this FEC |
Serv FECs Recv |
The number of labels that have been received from the peer associated with this FEC |
Attempted Sessions |
The total number of attempted sessions for this LDP instance |
No Hello Err |
The total number of ‟Session Rejected” or ‟No Hello Error” notification messages sent or received by this LDP instance |
Param Adv Err |
The total number of ‟Session Rejected” or ‟Parameters Advertisement Mode Error” notification messages sent or received by this LDP instance |
Max PDU Err |
The total number of ‟Session Rejected” or ‟Parameters Max PDU Length Error” notification messages sent or received by this LDP instance |
Label Range Err |
The total number of ‟Session Rejected” or ‟Parameters Label Range Error” notification messages sent or received by this LDP instance |
Bad LDP Id Err |
The number of bad LDP identifier fatal errors detected for sessions associated with this LDP instance |
Bad PDU Len Err |
The number of bad PDU length fatal errors detected for sessions associated with this LDP instance |
Bad Mesg Len Err |
The number of bad message length fatal errors detected for sessions associated with this LDP instance |
Bad TLV Len Err |
The number of bad TLV length fatal errors detected for sessions associated with this LDP instance |
Malformed TLV Err |
The number of malformed TLV value fatal errors detected for sessions associated with this LDP instance |
Keepalive Expired Err |
The number of session keepalive timer expired errors detected for sessions associated with this LDP instance |
Shutdown Notif Sent |
The number of shutdown notifications sent related to sessions associated with this LDP instance |
Shutdown Notif Recv |
The number of shutdown notifications received related to sessions associated with this LDP instance |
targ-peer [ip-address][detail]
targ-peer [detail][family]
show>router>ldp
This command displays configuration information about LDP targeted peers.
specifies the IP address of the LDP peer
displays detailed information
the address family filter
The following output is an example of LDP peer information, and Table: LDP Targeted Peer Field Descriptions describes the fields.
Output ExampleA:ALU-12# show router ldp targ-peer
===============================================================================
LDP IPv4 Targeted Peers
===============================================================================
Peer Adm/ Hello Hold KA KA Passive Auto
Opr Fctr Time Fctr Time Mode Created
-------------------------------------------------------------------------------
10.10.10.93 Up/Up 3 45 4 40 Disabled Yes
10.10.10.104 Up/Up 3 45 4 40 Disabled Yes
-------------------------------------------------------------------------------
No. of IPv4 Targeted Peers: 2
===============================================================================
===============================================================================
LDP IPv6 Targeted Peers
===============================================================================
Peer Adm/ Hello Hold KA KA Auto
Opr Fctr Time Fctr Time Created
-------------------------------------------------------------------------------
3ffe::a0a:203 Up/Up 3 15 3 30 no
-------------------------------------------------------------------------------
No. of IPv6 Targeted Peers: 1
===============================================================================
A:ALU-12#
A:ALU-12# show router ldp targ-peer detail
===============================================================================
LDP IPv4 Targeted Peers (Detail)
===============================================================================
-------------------------------------------------------------------------------
Peer 10.2.3.4
-------------------------------------------------------------------------------
Admin State : Up Oper State : Down
Hold Time : 45 Hello Factor : 3
Keepalive Timeout : 40 Keepalive Factor : 4
Passive Mode : Disabled Last Modified : 05/01/2008 21:44:17
Active Adjacencies : 0 Auto Created : No
Tunneling : None
Lsp Name : None
===============================================================================
No. of IPv4 Targeted Peers: 1
===============================================================================
===============================================================================
LDP IPv6 Targeted Peers
===============================================================================
No Matching Entries Found
===============================================================================
A:ALU-12#
Label |
Description |
---|---|
Peer |
The IP address of the peer |
Adm |
Up — indicates that LDP is administratively enabled |
Down — indicates that LDP is administratively disabled |
|
Opr |
Up — indicates that LDP is operationally enabled |
Down — indicates that LDP is operationally disabled |
|
Hello Factor |
The value by which the hello timeout should be divided to give the hello time; that is, the time interval, in seconds, between LDP Hello messages. LDP uses hello messages to discover neighbors and to detect loss of connectivity with its neighbors. |
Hold Time |
The time interval, in seconds, that LDP waits before declaring a neighbor to be down. Hold time (also known as Hello time) is local to the system and is sent in the hello messages to a neighbor. |
Keepalive Factor |
The value by which the keepalive timeout should be divided to give the keepalive time; that is, the time interval, in seconds, between LDP keepalive messages. LDP keepalive messages are sent to keep the LDP session from timing out when no other LDP traffic is being sent between the neighbors. |
Keepalive Timeout |
The time interval, in seconds, that LDP waits before tearing down a session. If no LDP messages are exchanged during this time interval, the LDP session is torn down. Generally the value is configured to be three times the keepalive time (the time interval between successive LDP keepalive messages). |
Passive Mode |
The mode used to set up LDP sessions. This value is only applicable to targeted sessions and not to LDP interfaces. This mode is always set to False. |
True — indicates that LDP responds only when it gets a connect request from a peer and does not attempt to actively connect to its neighbors |
|
False — indicates that LDP actively tries to connect to its peers |
|
Auto Create |
Specifies whether a targeted peer was automatically created through a Service Manager. For an LDP interface, this value is always false. |
No. of Peers |
The total number of LDP peers |
LSP |
The LSP name |
tcp-session-parameters [family]
tcp-session-parameters [keychainkeychain]
tcp-session-parameters transport-peer-ip-address
show>router>ldp
This command displays information about the TCP transport session of an LDP peer.
displays either IPv4 or IPv6 LDP session information
specifies the authentication keychain name up to 32 characters in length
specifies the IP address of the transport peer
The following output is an example of TCP session parameter information.
Output Example*A:Dut-A# show router ldp tcp-session-parameters
===============================================================================
LDP IPv4 TCP Session Parameters
===============================================================================
-------------------------------------------------------------------------------
Peer Transport: 10.20.1.2
-------------------------------------------------------------------------------
Authentication Key : Disabled Path MTU Discovery : Disabled
Auth key chain : LdpAuth Min-TTL : 0
-------------------------------------------------------------------------------
Peer Transport: 10.20.1.3
-------------------------------------------------------------------------------
Authentication Key : Disabled Path MTU Discovery : Disabled
Auth key chain : LdpAuth Min-TTL : 0
===============================================================================
No. of IPv4 Peers: 2
===============================================================================
===============================================================================
LDP IPv6 TCP Session Parameters
===============================================================================
-------------------------------------------------------------------------------
Peer Transport: 3ffe::a14:102
-------------------------------------------------------------------------------
Authentication Key : Disabled Path MTU Discovery : Disabled
Auth key chain : LdpAuth Min-TTL : 0
-------------------------------------------------------------------------------
Peer Transport: 3ffe::a14:103
-------------------------------------------------------------------------------
Authentication Key : Disabled Path MTU Discovery : Disabled
Auth key chain : LdpAuth Min-TTL : 0
===============================================================================
No. of IPv6 Peers: 2
===============================================================================