5.12. LDP Command Reference

5.12.1. Command Hierarchies

5.12.1.1. LDP Commands

config
— router [router-name]
[no] ldp
prefix-exclude policy-name [policy-name...(up to 5 max)]
[no] shutdown
[no] fec-prefix ip-prefix[/mask]
accounting-policy policy-id
[no] collect-stats
[no] shutdown
export policy-name [policy-name...(up to 5 max)]
— no export
export-tunnel-table policy-name [policy-name...(up to 5 max)]
fast-reroute [backup-sr-tunnel]
fec-originate ip-address/mask [advertised-label in-label] [swap-label out-label] interface interface-name
fec-originate ip-address/mask [advertised-label in-label] next-hop ip-address [swap-label out-label]
fec-originate ip-address/mask [advertised-label in-label] next-hop ip-address [swap-label out-label] interface interface-name
fec-originate ip-address/mask [advertised-label in-label] pop
— no fec-originate ip-address/mask interface interface-name
— no fec-originate ip-address/mask next-hop ip-address
— no fec-originate ip-address/mask next-hop ip-address interface interface-name
— no fec-originate ip-address/mask pop
import policy-name [policy-name...(up to 5 max)]
— no import
interface ip-int-name [dual-stack]
[no] interface ip-int-name
bfd-enable [ipv4] [ipv6]
[no] bfd-enable
[no] ipv4
p2mp-ipv4 {enable | disable}
p2mp-ipv6 {enable | disable}
prefix-ipv4 {enable | disable}
prefix-ipv6 {enable | disable}
hello timeout factor
— no hello
keepalive timeout factor
— no keepalive
local-lsr-id {system | interface}
[no] shutdown
transport-address {system | interface}
[no] ipv6
p2mp-ipv4 {enable | disable}
p2mp-ipv6 {enable | disable}
prefix-ipv4 {enable | disable}
prefix-ipv6 {enable | disable}
hello timeout factor
— no hello
keepalive timeout factor
— no keepalive
local-lsr-id {system | interface}
[no] shutdown
transport-address {system | interface}
ipv4
hello timeout factor
— no hello
keepalive timeout factor
— no keepalive
transport-address {system | interface}
ipv6
hello timeout factor
— no hello
keepalive timeout factor
— no keepalive
transport-address {system | interface}
mp-mbb-time interval
no mp-mbb-time
[no] peer ip-address
export-addresses policy-name [policy-name... (up to 5 max)]
p2mp {enable | disable}
prefix-ipv4 {enable | disable}
prefix-ipv6 {enable | disable}
[no] shutdown
ipv4
hello timeout factor
— no hello
keepalive timeout factor
— no keepalive
ipv6
hello timeout factor
— no hello
keepalive timeout factor
— no keepalive
[no] peer ip-address
[no] bfd-enable
hello timeout factor
— no hello
keepalive timeout factor
— no keepalive
local-lsr-id interface-name
— no local-lsr-id
[no] shutdown
[no] tunneling
[no] lsp lsp-name
[no] peer-transport ip-address
auth-keychain name
authentication-key {authentication-key | hash-key} [hash | hash2]

5.12.1.2. Show Commands

The show commands in this section are organized into the following areas:

5.12.1.2.1. Show LDP Commands

show
— router [router-instance]
— ldp
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]]
fec-egress-stats [ip-prefix/mask]
fec-egress-stats [active] [family]
fec-originate [ip-address/mask] [operation-type]
fec-originate [operation-type] [family]
interface [ip-int-name | ip-address] [detail] [family]
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]
session-parameters [family]
session-parameters [peer-ip-address]
status
targ-peer [ip-address] [detail]
targ-peer [detail] [family]
tcp-session-parameters [keychain keychain]
tcp-session-parameters transport-peer-ip-address

5.12.1.2.2. Show LDP Bindings Commands

show
— router
— ldp
active detail [family] [egress-if port-id]
active detail [family] [egress-lsp tunnel-id]
active detail [egress-nh ip-address] [family]
active egress-if port-id [summary | detail] [family]
active egress-lsp tunnel-id [summary | detail] [family]
active egress-nh [family] [summary | detail] ip-address
active ipv4 [summary | detail] [egress-if port-id]
active ipv4 [summary | detail] [egress-lsp tunnel-id]
active ipv4 [summary | detail] [egress-nh ip-address]
active ipv6 [summary | detail] [egress-if port-id]
active ipv6 [summary | detail] [egress-nh ip-address]
active ipv6 [summary | detail] [egress-lsp tunnel-id]
active p2mp p2mp-id identifier root ip-address [summary | detail] [egress-if port-id]
active p2mp p2mp-id identifier root ip-address [summary | detail] [egress-lsp tunnel-id]
active p2mp p2mp-id identifier root ip-address [summary | detail] [egress-nh ip-address]  
active p2mp [family] [summary | detail] [egress-if port-id] [opaque-type opaque-type]
active p2mp [family] [summary | detail] [egress-lsp tunnel-id] [opaque-type opaque-type]
active p2mp [family] [summary | detail] [egress-nh ip-address] [opaque-type opaque-type]
active p2mp source ip-address group mcast-address root ip-address [summary | detail] [egress-if port-id] inner-root ip-address
active p2mp source ip-address group mcast-address root ip-address [summary | detail] [egress-lsp tunnel-id] inner-root ip-address
active p2mp source ip-address group mcast-address root ip-address [summary | detail] [egress-nh ip-address] inner-root ip-address
active p2mp source ip-address group mcast-address root ip-address [rd rd] [summary | detail] [egress-if port-id]
active p2mp source ip-address group mcast-address root ip-address [rd rd] [summary | detail] [egress-lsp tunnel-id]
active p2mp source ip-address group mcast-address root ip-address [rd rd] [summary | detail] [egress-nh ip-address]
active p2mp source ip-address group mcast-address [family] [summary | detail] [innermost-root ip-address]
active prefixes [family] [summary | detail] [egress-if port-id]
active prefixes [family] [summary | detail] [egress-lsp tunnel-id]
active prefixes [egress-nh ip-address] [family] [summary | detail]
active prefixes prefix ip-prefix/ip-prefix-length [summary | detail] [egress-if port-id]
active prefixes prefix ip-prefix/ip-prefix-length [summary | detail] [egress-lsp tunnel-id]
active prefixes prefix ip-prefix/ip-prefix-length [egress-nh ip-address] [summary | detail]
active summary [family] [egress-if port-id]
active summary [family] [egress-lsp tunnel-id]
active summary [egress-nh ip-address] [family]
show
— router
— ldp
detail [session ip-addr [label-space]] [family]
ipv4 [session ip-addr[label-space]] [summary | detail]
ipv6 [session ip-addr[label-space]] [summary | detail]
label-type start-label start-label [end-label end-label] label-type [family]
p2mp p2mp-id identifier root ip-address [session ip-addr [label-space]] [summary | detail]
p2mp [session ip-addr [label-space]] [family] [summary | detail] [opaque-type opaque-type]
p2mp source ip-address group mcast-address root ip-address [session ip-addr [label-space]] [family] [summary | detail] inner-root ip-address
p2mp source ip-address group mcast-address root ip-address [rd rd] [session ip-addr [label-space]] [summary | detail]
p2mp source ip-address group mcast-address [session ip-addr [label-space]] [family] [summary | detail] [innermost-root ip-address]
prefixes prefix ip-prefix/ip-prefix-length [summary | detail] [session ip-addr[label-space]]
prefixes [family] [summary | detail] [session ip-addr[label-space]]
services vc-type vc-type saii global-id:prefix:ac-id [256 chars max]taii agi agi [detail] [service-id service-id] [session ip-addr[label-space]]
services vc-type vc-type agi agi [detail] [service-id service-id] [session ip-addr[label-space]]
services [vc-type vc-type] [svc-fec-type] [detail] [service-id service-id] [session ip-addr[label-space]]
services vc-type vc-type vc-id vc-id [detail] [service-id service-id] [session ip-addr[label-space]]
session [family] [summary | detail] ip-addr[label-space]
summary [session ip-addr[label-space]] [ipv4 | ipv6]

5.12.1.3. Clear Commands

clear
— router [router-instance]
— ldp
fec-egress-statistics [ip-prefix/mask]
interface ip-int-name [statistics]
peer ip-address [statistics]
session [ip-addr[:label-space]] [statistics]

5.12.1.4. Debug Commands

[no] debug
— router [router-instance]
[no] ldp
[no] interface interface-name
[no] event
[no] messages
[no] packet
hello [detail]
— no hello
[no] peer ip-address
[no] event
[no] bindings
[no] messages
[no] packet
hello [detail]
— no hello
init [detail]
— no init
[no] keepalive
label [detail]
— no label

5.12.2. Command Descriptions

5.12.2.1. Configuration Commands

5.12.2.1.1. Generic Commands

shutdown

Syntax 
[no] shutdown
Context 
config>router>ldp
config>router>ldp>egress-statistics
config>router>ldp>if-params>interface
config>router>ldp>if-params>if>ipv4
config>router>ldp>if-params>if>ipv6
config>router>ldp>targ-session>peer
config>router>ldp>aggregate-prefix-match
Description 

This command administratively disables an entity. When disabled, an entity does not change, reset, or remove any configuration settings or statistics.

The operational state of the entity is disabled as well as the operational state of any entities contained within. Many objects must be shut down before they can be deleted.

The no form of this command administratively enables an entity.

Unlike other commands and parameters where the default state is not indicated in the configuration file, the shutdown and no shutdown states are always indicated in system-generated configuration files.

Default 

no shutdown

5.12.2.1.2. LDP Global Commands

ldp

Syntax 
[no] ldp
Context 
config>router
Description 

This command enables the context to configure an LDP protocol instance.

When an LDP instance is created, the protocol is enabled (in the no shutdown state). To suspend the LDP protocol, use the shutdown command. Configuration parameters are not affected.

The no form of the command deletes the LDP protocol instance, removing all associated configuration parameters. The LDP instance must first be disabled with the shutdown command before being deleted.

Default 

n/a — LDP must be explicitly enabled

aggregate-prefix-match

Syntax 
[no] aggregate-prefix-match
Context 
config>router>ldp
Description 

This command enables LDP to use the aggregate prefix match function rather than requiring an exact prefix match.

When this command is enabled and an LSR receives a FEC-label binding from an LDP neighbor for a prefix-address FEC element, FEC1, it will install the binding in the LDP FIB if:

  1. the routing table (RIB) contains an entry that matches FEC1. Matching can either be a longest IP match of the FEC prefix or an exact match.
  2. the advertising LDP neighbor is the next hop to reach FEC1

When the FEC-label binding has been installed in the LDP FIB, LDP programs an NHLFE entry in the egress data path to forward packets to FEC1. LDP also advertises a new FEC-label binding for FEC1 to all its LDP neighbors.

When a new prefix appears in the RIB, LDP checks the LDP FIB to determine if this prefix is a closer match for any of the installed FEC elements. If a closer match is found, this may mean that the LSR used as the next hop will change; if so, the NHLFE entry for that FEC must be changed.

When a prefix is removed from the RIB, LDP checks the LDP FIB for all FEC elements that matched this prefix to determine if another match exists in the routing table. If another match exists, LDP must use it. This may mean that the LSR used as the next hop will change; if so, the NHLFE entry for that FEC must be changed. If another match does not exist, the LSR removes the FEC binding and sends a label withdraw message to its LDP neighbors.

If the next hop for a routing prefix changes, LDP updates the LDP FIB entry for the FEC elements that matched this prefix. It also updates the NHLFE entry for the FEC elements.

The no form of this command disables the use of the aggregate prefix match function. LDP then only performs an exact prefix match for FEC elements.

Default 

no aggregate-prefix-match

prefix-exclude

Syntax 
prefix-exclude policy-name [policy-name …(up to 5 max)]
no prefix-exclude
Context 
config>router>ldp>aggregate-prefix-match
Description 

This command specifies the policy name containing the prefixes to be excluded from the aggregate prefix match function. Against each excluded prefix, LDP performs an exact match of a specific FEC element prefix, rather than a longest prefix match of one or more LDP FEC element prefixes, when it receives a FEC-label binding or when a change to the prefix occurs in the routing table.

The no form of this command removes all policies from the configuration; therefore, no prefixes are excluded.

Default 

no prefix-exclude

Parameters 
policy-name—
specifies the import route policy name. Allowed values are any string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

egress-statistics

Syntax 
egress-statistics
Context 
config>router>ldp
Description 

This command enters the context to enable egress data path statistics at the ingress LER for this FEC.

Default 

n/a

fec-prefix

Syntax 
[no] fec-prefix ip-prefix[/mask]
Context 
config>router>ldp>egress-statistics
Description 

This command configures statistics in the egress data path at the ingress LER or LSR for an LDP FEC. The user must also execute the no shutdown command in this context to enable statistics collection.

The no form of this command disables the statistics in the egress data path and removes the accounting policy association from the LDP FEC.

Default 

n/a

Parameters 
ip-prefix[/mask] —
the IP prefix and prefix length associated with the prefix FEC
Values—

ipv4-prefix:

a.b.c.d

ipv4-prefix-length:

32

ipv6-prefix:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

  x - [0 to FFFF]H

  d - [0 to 255]D

ipv6-prefix-length:

128

 

accounting-policy

Syntax 
accounting-policy policy-id
no accounting-policy
Context 
config>router>ldp>egr-stats>fec-prefix
Description 

This command associates an accounting policy with an LDP FEC. Only one accounting policy at a time can be associated with an LDP FEC on a particular node.

An accounting policy must first be configured in the config>log>accounting-policy context before it can be associated; otherwise an error message is generated.

The no form of this command removes the accounting policy association.

Default 

no accounting policy

Parameters 
policy-id—
the accounting policy ID
Values—
1 to 99

 

collect-stats

Syntax 
[no] collect-stats
Context 
config>router>ldp>egr-stats>fec-prefix
Description 

This command enables accounting and statistical data collection.

The collected statistic counters can be retrieved via show and monitor commands or with the SNMPv3 interface. The counters can be saved to an accounting file if the specific statistics collection record is included in the default accounting policy or in a user-defined accounting policy.

When the no form of this command is issued, statistics are still accumulated by the forwarding engine; however, the CPU will not obtain the results and write them to the accounting file. If a subsequent collect-stats command is issued, then the counters written to the accounting file will also include all the traffic that went through while the no collect-stats command was in effect.

Default 

no collect-stats

export

Syntax 
export policy-name [policy-name …(up to 5 max)]
no export
Context 
config>router>ldp
Description 

This command specifies export route policies that determine which routes are exported to LDP neighbors. Configuring an export policy allows the LSR (Label Switch Router) to advertise addresses other than the system IP address. Policies are configured in the config>router>policy-options context. Refer to the “Route Policies” section in the 7705 SAR Router Configuration Guide.

If no export policy is specified, non-LDP routes will not be exported from the routing table manager to LDP, and only LDP-learned routes will be exported to LDP neighbors.

If multiple policy names are specified, the policies are evaluated in the order they are specified. The first policy that matches is applied. If multiple export commands are issued, the last command entered will override the previous command. A maximum of five policy names can be specified. The specified names must already be defined.

The no form of the command removes all policies from the configuration.

Default 

no export

Parameters 
policy-name—
specifies the export route policy name. Allowed values are any string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

export-tunnel-table

Syntax 
export-tunnel-table policy-name [policy-name...(up to 5 max)]
no export-tunnel-table
Context 
config>router>ldp
Description 

This command enables exporting of SR tunnels from the TTM into LDP (IGP) for the purpose of stitching an LDP FEC to an SR tunnel for the same destination IPv4 /32 IS-IS prefix.

The no form of the command disables the exporting of SR tunnels to LDP.

Default 

no export-tunnel-table

Parameters 
policy-name—
the export-tunnel-table route policy name; must be an existing policy-statement name

fast-reroute

Syntax 
fast-reroute [backup-sr-tunnel]
no fast-reroute
Context 
config>router>ldp
Description 

This command enables LDP Fast Reroute (FRR). LDP FRR provides local protection for an LDP FEC by precalculating and downloading a primary and a backup NHLFE for the FEC to the LDP FIB.

This command is limited to IPv4 /32 prefixes in both LDP and SR.

When LDP FRR is enabled and an LFA backup next hop exists for the FEC prefix in the RTM, or for the longest prefix the FEC prefix matches to when the aggregate-prefix-match command is enabled, LDP programs the data path with both a primary NHLFE and a backup NHLFE for each next hop of the FEC.

The backup NHLFE is enabled for each affected FEC next hop when any of the following events occurs:

  1. an LDP interface goes operationally down or is administratively shut down
  2. an LDP session to a peer goes down because the Hello timer or keepalive timer has expired over an interface
  3. the TCP connection used by a link LDP session to a peer goes down

The tunnel-down-damp-time command, when enabled, does not cause the corresponding timer to be activated for a FEC as long as a backup NHLFE is still available.

Because LDP can detect the loss of a neighbor/next hop independently, it is possible that it will switch to the LFA next hop while the IGP (OSPF or IS-IS) is still using the primary next hop. As well, when the interface for the previous primary next hop is restored, the IGP may reconverge before LDP completes the FEC exchange with its neighbor over that interface. This may cause LDP to deprogram the LFA next hop from the FEC and blackhole traffic. In order to avoid this situation, IGP-LDP synchronization should be enabled on the LDP interface with the config>router>if>ldp-sync-timer command (refer to the 7705 SAR Router Configuration Guide, “IP Router Command Reference”, for information on configuring the ldp-sync-timer).

The backup-sr-tunnel option allows an SR tunnel to be used as a remote LFA or TI-LFA backup tunnel next hop by an LDP FEC. Before this option can be used, the LDP-to-SR stitching feature must be enabled. See LDP-to-Segment Routing Stitching for IPv4 /32 Prefixes (IS-IS) for more information on this feature.

The no form of this command disables LDP FRR.

Default 

no fast-reroute

Parameters 
backup-sr-tunnel —
allows an SR tunnel to be used as a remote LFA or TI-LFA backup tunnel next hop by an LDP FEC

fec-originate

Syntax 
fec-originate ip-address/mask [advertised-label in-label] [swap-label out-label] interface interface-name
fec-originate ip-address/mask [advertised-label in-label] next-hop ip-address [swap-label out-label]
fec-originate ip-address/mask [advertised-label in-label] next-hop ip-address [swap-label out-label] interface interface-name
fec-originate ip-address/mask [advertised-label in-label] pop
no fec-originate ip-address/mask interface interface-name
no fec-originate ip-address/mask next-hop ip-address
no fec-originate ip-address/mask next-hop ip-address interface interface-name
no fec-originate ip-address/mask pop
Context 
config>router>ldp
Description 

This command adds a FEC to the LDP prefix database with a specific label operation on the node.

Permitted operations are swap to originate a FEC for which the LSR is not egress or pop to originate a FEC for which the LSR is egress.

For a swap operation, an incoming label can be swapped with a label in the range of 16 to 1048575. If a swap-label is not configured, the default value is 3.

A route-table entry is required for a FEC with a pop operation to be advertised. For a FEC with a swap operation, a route-table entry must exist and the user-configured next hop for the swap operation must match one of the next hops in the route-table entry.

The next-hop, advertised-label, and swap-label parameters are optional. If a next-hop is configured but no swap-label is specified, the swap occurs with label 3 (implicit null), then the label is popped and the packet is forwarded to the next hop. If the next-hop and swap-label parameters are configured, a regular swap occurs. If no parameters are specified, a pop and forwarding is performed.

Default 

no fec-originate

Parameters 
ip-address/mask—
specifies the IP prefix and mask length
Values—

ipv4-address

a.b.c.d (host bits must be 0)

ipv6-address

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

   x: [0 to FFFF]H

   d: [0 to 255]D

ipv6-prefix-length - [0 to 128]

mask

0 to 32

 

advertised label—
specifies the label advertised to the upstream peer. If not configured, the label that is advertised should be from the label pool. If the configured static label is not available, the IP prefix is not advertised.
in-label—
the LSR to swap the label. If configured, the LSR should swap the label with the configured out-label. If not configured, the default action is pop if the next-hop parameter is not defined.
Values—
32 to 2047

 

out-label—
the number of labels to send to the peer associated with this FEC
Values—
16 to 1048575

 

interface-name—
specifies the name of the interface that the label for the originated FEC is swapped to. For an unnumbered interface, this parameter is mandatory because there is no address for the next hop. For a numbered interface, it is optional.
next-hop ip-address
specifies the IP address of the next hop
Values—
a.b.c.d

 

pop—
specifies to pop the label and transmit the packet

graceful-restart

Syntax 
[no] graceful-restart
Context 
config>router>ldp
Description 

This command enables graceful restart helper.

The no form of the command disables graceful restart.

Default 

graceful-restart

maximum-recovery-time

Syntax 
maximum-recovery-time interval
no maximum-recovery-time
Context 
config>router>ldp>graceful-restart
Description 

This command configures the local maximum recovery time, which is the time (in seconds) that the sender of the TLV would like the receiver to wait, after detecting the failure of LDP communication with the sender.

The no form of the command returns the default value.

Default 

120

Parameters 
interval—
specifies the maximum length of recovery time, in seconds
Values—
15 to 1800

 

neighbor-liveness-time

Syntax 
neighbor-liveness-time interval
no neighbor-liveness-time
Context 
config>router>ldp>graceful-restart
Description 

This command configures the neighbor liveness time, which is the time (in seconds) that the LSR is willing to retain its MPLS forwarding state. The time should be long enough to allow the neighboring LSRs to resynchronize all the LSPs in a graceful manner, without creating congestion in the LDP control plane.

The no form of the command returns the default value.

Default 

120

Parameters 
interval—
specifies the length of time, in seconds
Values—
5 to 300

 

implicit-null-label

Syntax 
[no] implicit-null-label
Context 
config>router>ldp
Description 

This command enables the implicit null label option for all LDP FECs for which the router is the eLER.

The implicit null label is signaled by the eLER to the previous-hop LSR during FEC signaling by the LDP control protocol. When the implicit null label is signaled to the LSR, it pops the outer label before sending the MPLS packet to the eLER; this is known as penultimate hop popping.

The no form of the command disables the signaling of the implicit null label.

Default 

no implicit-null-label

import

Syntax 
import policy-name [policy-name …(up to 5 max)]
no import
Context 
config>router>ldp
Description 

This command specifies import route policies that determine which routes are accepted from LDP neighbors. Policies are configured in the config>router>policy-options context. Refer to the “Route Policies” section in the 7705 SAR Router Configuration Guide.

If no import policy is specified, LDP accepts all routes from configured LDP neighbors. Import policies can be used to limit or modify the routes accepted and their corresponding parameters and metrics.

If multiple policy names are specified, the policies are evaluated in the order they are specified. The first policy that matches is applied. If multiple import commands are issued, the last command entered will override the previous command. A maximum of five policy names can be specified. The specified names must already be defined.

The no form of the command removes all policies from the configuration.

Default 

no import

Parameters 
policy-name—
specifies the import route policy name. Allowed values are any string up to 32 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

hello

Syntax 
hello timeout factor
no hello
Context 
config>router>ldp>if-params>ipv4
config>router>ldp>if-params>ipv6
config>router>ldp>if-params>if>ipv4
config>router>ldp>if-params>if>ipv6
config>router>ldp>targ-session>ipv4
config>router>ldp>targ-session>ipv6
config>router>ldp>targ-session>peer
Description 

This command configures the hold time. This is the time interval to wait before declaring a neighbor down. The factor parameter derives the hello interval.

Hold time is local to the system and is sent in the hello messages to the neighbor. Hold time cannot be less than three times the hello interval. The hold time can be configured globally (applies to all LDP interfaces) or per interface. The most specific value is used.

When an LDP session is being set up, the hold time is negotiated to the lower of the two peers. Once an operational value is agreed upon, the hello factor is used to derive the value of the hello interval.

The no form of the command:

  1. at the interface-parameters and targeted-session levels, sets the hello timeout and the hello factor to the default values
  2. at the interface level, sets the hello timeout and the hello factor to the value defined under the interface-parameters level
  3. at the peer level, sets the hello timeout and the hello factor to the value defined under the targeted-session level
Default 

The default value is dependent upon the CLI context. Table 39 lists the hello timeout factor default values.

Table 39:  Hello Timeout Factor Default Values 

Context

Timeout

Factor

config>router>ldp>if-params>ipv4

config>router>ldp>if-params>ipv6

15

3

config>router>ldp>if-params>interface>ipv4

config>router>ldp>if-params>interface>ipv6

Inherits values from interface-parameters context

config>router>ldp>targ-session>ipv4

config>router>ldp>targ-session>ipv6

45

3

config>router>ldp>targ-session>peer

Inherits values from targeted-session IPv4 or IPv6 context

Parameters 
timeout—
configures the time interval, in seconds, that LDP waits before declaring a neighbor down
Values—
1 to 65535

 

factor—
specifies the number of keepalive messages that should be sent on an idle LDP session in the hello timeout interval
Values—
1 to 255

 

keepalive

Syntax 
keepalive timeout factor
no keepalive
Context 
config>router>ldp>if-params>ipv4
config>router>ldp>if-params>ipv6
config>router>ldp>if-params>if>ipv4
config>router>ldp>if-params>if>ipv6
config>router>ldp>targ-session>ipv4
config>router>ldp>targ-session>ipv6
config>router>ldp>targ-session>peer
Description 

This command configures the time interval, in seconds, that LDP waits before tearing down the session. The factor parameter derives the keepalive interval.

If no LDP messages are exchanged for the configured time interval, the LDP session is torn down. Keepalive timeout is usually three times the keepalive interval. To maintain the session permanently, regardless of the activity, set the value to zero.

When an LDP session is being set up, the keepalive timeout is negotiated to the lower of the two peers. Once a operational value is agreed upon, the keepalive factor is used to derive the value of the keepalive interval.

The no form of the command:

  1. at the IPv4, IPv6, and targeted-session levels, sets the keepalive timeout and the keepalive factor to the default value
  2. at the IPv4 or IPv6 interface level, sets the keepalive timeout and the keepalive factor to the value defined under the corresponding interface-parameters level
  3. at the peer level, sets the keepalive timeout and the keepalive factor to the value defined under the targeted-session level
Default 

The default value is dependent upon the CLI context. Table 40 lists the keepalive timeout factor default values.

Table 40:  Keepalive Timeout Factor Default Values 

Context

Timeout

Factor

config>router>ldp>if-params>ipv4

config>router>ldp>if-params>ipv6

30

3

config>router>ldp>if-params>interface>ipv4

config>router>ldp>if-params>interface>ipv6

Inherits values from interface-parameters context

config>router>ldp>targ-session>ipv4

config>router>ldp>targ-session>ipv6

40

4

config>router>ldp>targ-session>peer

Inherits values from targeted-session IPv4 or IPv6 context

Parameters 
timeout—
configures the time interval, expressed in seconds, that LDP waits before tearing down the session
Values—
1 to 65535

 

factor—
specifies the number of keepalive messages, expressed as a decimal integer, that should be sent on an idle LDP session in the keepalive timeout interval
Values—
1 to 255

 

legacy-ipv4-lsr-interop

Syntax 
[no] legacy-ipv4-lsr-interop
Context 
config>router>ldp
Description 

This command allows interoperability with third-party legacy IPv4 LSR implementations that do not comply with RFC 5036 with respect to the processing of Hello TLVs with the U-bit set.

The command is a global LDP configuration that disables the Nokia proprietary Interface Info TLV (0x3E05) in the Hello message sent to the peer. Disabling this Hello TLV also results in the non-generation of the Nokia proprietary Hello Adjacency Status TLV (0x3E06) because the Interface Info TLV is not sent.

In addition, this command disables the RFC 7552 standard dual-stack capability TLV (0x701) and the Nokia proprietary Adjacency capability TLV (0x3E07).

mcast-upstream-frr

Syntax 
[no] mcast-upstream-frr
Context 
config>router>ldp
Description 

This command enables the mLDP fast upstream switchover feature.

When this command is enabled and LDP is resolving an mLDP FEC received from a downstream LSR, it checks whether an ECMP next hop or an LFA next hop to the root LSR node exists. If LDP finds one, it programs a primary ILM on the interface corresponding to the primary next hop and a backup ILM on the interface corresponding to the ECMP or LFA next hop. Then, LDP sends the corresponding labels to both upstream LSR nodes. Under normal operation, the primary ILM accepts packets while the backup ILM drops them. If the interface or the upstream LSR of the primary ILM goes down, causing the LDP session to go down, the backup ILM starts accepting packets.

In order to make use of the ECMP next hop, the user must configure the ecmp value in the system to at least “2”, using the following command:

config>router>ecmp

In order to make use of the LFA next hop, the user must enable LFA using the following commands (as needed):

config>router>isis>loopfree-alternate

config>router>ospf>loopfree-alternate

Enabling the IP FRR or LDP FRR feature is not strictly required since LDP only needs to know the location of the alternate next hop to the root LSR so it can send the Label Mapping message to program the backup ILM at the initial signaling of the tree. Therefore, enabling the LFA option is sufficient. However, if unicast IP and LDP prefixes need to be protected, then these features and the mLDP fast upstream switchover can be enabled concurrently.

The mLDP FRR fast switchover relies on the fast detection of a loss of an LDP session to the upstream peer to which the primary ILM label had been advertised. It is strongly recommended that the following be performed:

  1. Enable BFD on all LDP interfaces to upstream LSR nodes. When BFD detects the loss of the last adjacency to the upstream LSR, it will immediately bring down the LDP session, which will cause the CSM to activate the backup ILM.
  2. If there is a concurrent T-LDP adjacency to the same upstream LSR node, enable BFD on the T-LDP peer in addition to enabling it on the interface.
  3. Enable the ldp-sync-timer option on all interfaces to the upstream LSR nodes. If an LDP session to the upstream LSR to which the primary ILM is resolved goes down for any reason other than a failure of the interface or of the upstream LSR, routing and LDP will go out of synchronization. This means that the backup ILM will remain activated until the next time SPF is run by IGP. By enabling the IGP-LDP synchronization feature, the advertised link metric will be changed to the maximum value as soon as the LDP session goes down. This, in turn, triggers an SPF, and LDP will download a new set of primary and backup ILMs.

The no form of this command disables fast upstream switchover for mLDP FECs.

Default 

no mcast-upstream-frr

mp-mbb-time

Syntax 
mp-mbb-time interval
no mp-mbb-time
Context 
config>router>ldp
Description 

This command configures the maximum time a point-to-multipoint transit or bud node must wait before switching over to the new path if the new node does not send an MBB TLV to inform the transit or bud node of the availability of the data plane.

The no form of the command sets the wait time to the default.

Default 

3 s

Parameters 
interval—
specifies the MP MBB wait time
Values—
1 to 10 seconds

 

tunnel-down-damp-time

Syntax 
tunnel-down-damp-time seconds
no tunnel-down-damp-time
Context 
config>router>ldp
Description 

This command specifies the time interval, in seconds, that LDP waits before posting a tunnel down event to the Tunnel Table Manager (TTM).

When LDP can no longer resolve a FEC and deactivates it, it deprograms the NHLFE in the data path. It will, however, delay deleting the LDP tunnel entry in the TTM until the tunnel-down-damp-time timer expires. This means that users of the LDP tunnel, such as SDPs (for all services) and BGP (for Layer 3 VPNs), will not be notified immediately. Traffic is still blackholed because the NHLFE has been deprogrammed.

If the FEC gets resolved before the tunnel-down-damp-time timer expires, LDP programs the IOM with the new NHLFE and posts a tunnel modify event to the TTM, updating the dampened entry in the TTM with the new NHLFE information.

If the FEC does not get resolved and the tunnel-down-damp-time timer expires, LDP posts a tunnel down event to the TTM, which deletes the LDP tunnel.

The no form of the command resets the damp timer value back to the default value of 3. If the timer value is set to 0, tunnel down events are not dampened but are reported immediately.

Default 

3

Parameters 
seconds—
the time interval that LDP waits before posting a tunnel down event to the TTM
Values—
0 to 20

 

5.12.2.1.3. Interface Parameters Commands

interface-parameters

Syntax 
interface-parameters
Context 
config>router>ldp
Description 

This command enables the context to configure LDP interfaces and parameters that apply to LDP interfaces.

interface

Syntax 
interface ip-int-name [dual-stack]
[no] interface ip-int-name
Context 
config>router>ldp>if-params
Description 

This command enables LDP on the specified IP interface.

The no form of the command deletes the LDP interface and all configuration information associated with the LDP interface.

The LDP interface must be disabled using the shutdown command before it can be deleted.

You can configure different parameters for IPv4 and IPv6 LDP interfaces by entering ipv4 or ipv6 as the next command.

Parameters 
dual-stack —
distinguishes between configurations created prior to 7705 SAR Release 9.0 from those created in Release 9.0 or later when the interface node implementation was changed to include both IPv4 and IPv6 contexts. If the dual-stack keyword is used, then the IPv4 interface context is not created. If the keyword is not used, then the IPv4 interface context is automatically created.

When entering an already configured interface, there is no need to provide the keyword and it will be ignored if it is included.

By default, all configurations created in Release 9.0 or later include dual-stack.

ip-int-name—
specifies an existing interface. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

ipv4

Syntax 
[no] ipv4
Context 
config>router>ldp>if-params
config>router>ldp>if-params>if
config>router>ldp>targeted-session
Description 

This command enables the context to configure IPv4 LDP parameters that apply to the interface.

ipv6

Syntax 
[no] ipv6
Context 
config>router>ldp>if-params
config>router>ldp>if-params>if
config>router>ldp>targeted-session
Description 

This command enables the context to configure IPv6 LDP parameters applied to the interface.

local-lsr-id

Syntax 
local-lsr-id {system | interface}
no local-lsr-id
Context 
config>router>ldp>if-params>if>ipv4
config>router>ldp>if-params>if>ipv6
Description 

This command enables the use of the address of the link LDP interface as the LSR ID in order to establish an LDP adjacency and session with a directly connected LDP peer.

By default, the LDP session uses the system interface address as the LSR ID unless the LSR ID is explicitly configured. This means that targeted LDP (T-LDP) and interface LDP share a common LDP TCP session and therefore a common LDP label space. The system interface must always be configured on the router or the LDP protocol will not come up on the node.

At initial configuration, the LDP session to the peer remains down while the interface is down. If the user changes the LSR ID while the LDP session is up, LDP immediately tears down the session and attempts to re-establish it using the new LSR ID. If the interface used for the local LSR ID goes down, the LDP session will also go down.

The interface option is the recommended setting when static route-LDP synchronization is enabled.

When the interface option is selected, the transport connection (TCP) for the link LDP session configured by the transport-address command is automatically set to interface. Having both the local-lsr-id and transport address set to the local interface creates two TCP sessions to the peer and therefore two different LDP label spaces: one to the interface IP address for link LDP (L-LDP) and one to the system IP address for T-LDP.

The no form of the command resets the local-lsr-id to the default value.

Default 

system

Parameters 
system—
specifies that the system IP address is used to set up the LDP session between peers
interface—
specifies that the IP interface address is used to set up the LDP session between peers

p2mp-ipv4

Syntax 
p2mp-ipv4 {enable | disable}
Context 
config>router>ldp>session-params>if>ipv4>fec-type-capability
config>router>ldp>session-params>if>ipv6>fec-type-capability
Description 

This command enables or disables IPv4 P2MP FEC capability on the interface.

Default 

p2mp disable

Parameters 
enable | disable —
enables or disables IPv4 P2MP FEC capability

p2mp-ipv6

Syntax 
p2mp-ipv6 {enable | disable}
Context 
config>router>ldp>session-params>if>ipv4>fec-type-capability
config>router>ldp>session-params>if>ipv6>fec-type-capability
Description 

This command enables or disables IPv6 P2MP FEC capability on the interface.

Default 

p2mp disable

Parameters 
enable | disable —
enables or disables IPv6 P2MP FEC capability

transport-address

Syntax 
transport-address {system | interface}
no transport-address
Context 
config>router>ldp>if-params>ipv4
config>router>ldp>if-params>ipv6
config>router>ldp>if-params>if>ipv4
config>router>ldp>if-params>if>ipv6
Description 

This command configures the transport address to be used when setting up the LDP TCP sessions. The transport address can be configured globally (applies to all LDP interfaces) or per interface. The most specific value is used.

With the transport-address command, you can set up the LDP interface to the connection that can be set to the interface address or the system address. However, there can be an issue of which address to use when there are parallel adjacencies. This address selection situation can also occur when there is a link and a targeted adjacency, since targeted adjacencies request the session to be set up only to the system IP address.

The transport-address value should not be interface if multiple interfaces exist between two LDP neighbors.

Depending on the first adjacency to be formed, the TCP endpoint is chosen. In other words, if one LDP interface is set up as transport-address interface and another as transport-address system, then, depending on which adjacency was set up first, the TCP endpoint addresses are determined. After that, because the hello contains the LSR ID, the LDP session can be checked to verify that it is set up and then the adjacency can be matched to the session.

The no form of the command:

  1. at the global level, sets the transport address to the default value
  2. at the interface level, sets the transport address to the value defined under the global level
Default 

system

Parameters 
interface—
specifies that the IP interface address is used to set up the LDP session between neighbors. The transport address interface cannot be used if multiple interfaces exist between two neighbors, since only one LDP session is set up between two neighbors.
system—
specifies that the system IP address is used to set up the LDP session between neighbors

5.12.2.1.4. Session Parameters Commands

session-parameters

Syntax 
session-parameters
Context 
config>router>ldp
Description 

This command enables the context to configure peer-specific parameters.

peer

Syntax 
[no] peer ip-address
Context 
config>router>ldp>session-params
Description 

This command configures parameters for an LDP peer.

Default 

n/a

Parameters 
ip-address—
specifies the LDP peer in dotted-decimal notation

export-addresses

Syntax 
export-addresses policy-name [policy-name...(up to 5 max)]
no export-addresses
Context 
config>router>ldp>session-params>peer
Description 

This command specifies the export prefix policy to local addresses advertised to this peer.

Policies are configured in the config>router>policy-options context. A maximum of five policy names can be specified.

The no form of the command removes the policy from the configuration.

Default 

no export-addresses

Parameters 
policy-name—
The export prefix route policy name. Allowed values are any string up to 32 characters long composed of printable, 7-bit ASCII characters excluding double quotes. If the string contains spaces, use double quotes to delimit the start and end of the string. The specified name(s) must already be defined.

fec-type-capability

Syntax 
fec-type-capability
Context 
config>router>ldp>if-params>if>ipv4
config>router>ldp>if-params>if>ipv6
config>router>ldp>session-params>peer
Description 

This command enables or disables the advertisement of a FEC type on a given LDP session or Hello adjacency to a peer.

Default 

n/a

p2mp

Syntax 
p2mp {enable | disable}
Context 
config>router>ldp>session-params>peer>fec-type-capability
Description 

This command enables or disables P2MP FEC capability for the session.

Default 

p2mp disable

Parameters 
enable | disable —
enables or disables P2MP FEC capability

prefix-ipv4

Syntax 
prefix-ipv4 {enable | disable}
Context 
config>router>ldp>if-params>if>ipv4>fec-type-capability
config>router>ldp>if-params>if>ipv6>fec-type-capability
config>router>ldp>session-params>peer>fec-type-capability
Description 

This command enables or disables IPv4 prefix FEC capability on the session or interface.

Default 

prefix-ipv4 disable

Parameters 
enable | disable —
enables or disables IPv4 prefix FEC capability

prefix-ipv6

Syntax 
prefix-ipv6 {enable | disable}
Context 
config>router>ldp>if-params>if>ipv4
config>router>ldp>if-params>if>ipv6
config>router>ldp>session-params>peer>fec-type-capability
Description 

This command enables or disables IPv6 prefix FEC capability on the session or interface.

Default 

prefix-ipv6 disable

Parameters 
enable | disable —
enables or disables IPv6 prefix FEC capability

tcp-session-parameters

Syntax 
tcp-session-parameters
Context 
config>router>ldp
Description 

This command enables the context to configure parameters for the TCP transport session of an LDP session to a remote peer.

Default 

n/a

peer-transport

Syntax 
[no] peer-transport ip-address
Context 
config>router>ldp>tcp-session-parameters
Description 

This command configures the peer transport address, which is the IPv4 or IPv6 destination address of the TCP connection to the LDP peer.

Default 

n/a

Parameters 
ip-address—
the IPv4 or IPv6 address of the TCP connection to the LDP peer in dotted decimal notation

auth-keychain

Syntax 
auth-keychain name
no auth-keychain
Context 
config>router>ldp>tcp-session-params>peer-transport
Description 

This command associates an authentication keychain with LDP. The keychain is a collection of keys used to authenticate LDP messages from remote peers. The keychain allows the rollover of authentication keys during the lifetime of a session and also supports stronger authentication algorithms than clear text and MD5.

The keychain must already be defined in the config>system>security>keychain context.

Either the authentication-key command or the auth-keychain command can be used by LDP, but both cannot be supported at the same time. If both commands are configured, the auth-keychain configuration will be applied and the authentication-key command will be ignored.

By default, authentication is not enabled.

Default 

no auth-keychain

Parameters 
name—
the name of an existing keychain, up to 32 characters

authentication-key

Syntax 
authentication-key {authentication-key | hash-key} [hash | hash2]
no authentication-key
Context 
config>router>ldp>tcp-session-params>peer-transport
Description 

This command specifies the authentication key to be used between LDP peers before establishing sessions. Authentication uses the MD5 message-based digest.

Either the authentication-key command or the auth-keychain command can be used by LDP, but both cannot be supported at the same time. If both commands are configured, the auth-keychain configuration will be applied and the authentication-key command will be ignored.

The no form of this command disables authentication.

Default 

n/a

Parameters 
authentication-key—
specifies the authentication key. Allowed values are any string up to 16 characters long (unencrypted) composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.
hash-key—
specifies the hash key. Allowed values are any string up to 33 characters long composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

This is useful when a user must configure the parameter; however, for security purposes, the actual unencrypted key value is not provided.

hash—
specifies that the key is entered and stored on the node in encrypted form
hash2—
specifies that the key is entered and stored on the node in a more complex encrypted form
Note:

If neither the hash or hash2 keyword is specified, the key is entered in clear text. However, for security purposes, the key is stored on the node using hash encryption.

5.12.2.1.5. Targeted Session Commands

targeted-session

Syntax 
targeted-session
Context 
config>router>ldp
Description 

This command configures targeted LDP sessions. Targeted sessions are LDP sessions between non-directly connected peers. Hello messages are sent directly to the peer platform instead of to all the routers on this subnet multicast address.

The discovery messages for an indirect LDP session are addressed to the specified peer and not to the multicast address.

Default 

n/a

disable-targeted-session

Syntax 
[no] disable-targeted-session
Context 
config>router>ldp>targeted-session
Description 

This command disables support for targeted sessions. Targeted sessions are LDP sessions between non-directly connected peers. The discovery messages for an indirect LDP session are addressed to the specified peer and not to the multicast address.

The no form of the command enables the setup of any targeted sessions.

Default 

no disable-targeted-session

peer

Syntax 
[no] peer ip-address
Context 
config>router>ldp>targeted-session
Description 

This command configures parameters for an LDP peer.

Default 

n/a

Parameters 
ip-address—
specifies the IPv4 or IPv6 address of the LDP peer in dotted-decimal notation

bfd-enable

Syntax 
bfd-enable [ipv4] [ipv6]
[no] bfd-enable
Context 
config>router>ldp>if-params>if
config>router>ldp>targeted-session>peer
Description 

This command enables or disables bidirectional forwarding detection (BFD) tracking of the LDP session for the interface or the T-LDP session for the peer.

When BFD is enabled on an LDP interface, the system tracks the next hop of the IPv4 and IPv6 prefixes in addition to tracking the LDP peer address of the Hello adjacency over that link. This is required because LDP can resolve both IPv4 and IPv6 prefix FECs over a single IPv4 or IPv6 LDP session and as such, the next hop of a prefix does not necessarily match the LDP peer source address of the Hello adjacency.

The no form of the command disables BFD tracking.

Default 

n/a

local-lsr-id

Syntax 
local-lsr-id interface-name
no local-lsr-id
Context 
config>router>ldp>targeted-session>peer
Description 

This command enables the use of the address of a specific interface as the LSR ID in order to establish a targeted LDP (T-LDP) adjacency and session with one or more non-directly connected LDP peers. The interface can be a regular interface or a loopback interface, including the system interface.

By default, a T-LDP session uses the system interface address as the LSR ID, unless the LSR ID is explicitly configured. This means that T-LDP and interface LDP share a common LDP TCP session and therefore a common LDP label space. The system interface must be always be configured on the router or the LDP protocol will not come up on the node.

At initial configuration, the LDP session to the peers remains down while the interface is down. If the user changes the LSR ID while the LDP session is up, LDP immediately tears down the session and attempts to re-establish it using the new LSR ID. If the interface used for the local LSR ID goes down, the LDP session to all peers using this LSR ID will also go down.

The user-configured LSR ID is used for extended peer discovery to establish the T-LDP hello adjacency. It is also used as the transport address for the LDP TCP session when it is bootstrapped by the T-LDP hello adjacency. The user-configured LSR ID is not used in basic peer discovery to establish a link-level LDP hello adjacency.

The no form of the command resets the local-lsr-id to the default value, which means that the system interface address is used as the LSR ID.

Default 

no local-lsr-id

Parameters 
interface-name—
specifies the name, up to 32 characters in length, of the network IP interface. An interface name cannot be in the form of an IP address. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.

tunneling

Syntax 
[no] tunneling
Context 
config>router>ldp>targeted-session>peer
Description 

This command enables LDP over tunnels.

The no form of the command disables tunneling.

Default 

no tunneling

lsp

Syntax 
[no] lsp lsp-name
Context 
config>router>ldp>targeted-session>peer>tunneling
Description 

This command configures an LSP destined for this peer to be used for tunneling an LDP FEC over RSVP-TE. A maximum of four RSVP-TE LSPs can be used for tunneling LDP FECs to the T-LDP peer.

It is not necessary to specify any RSVP-TE LSP in this context unless there is a need to restrict the tunneling to selected LSPs. All RSVP-TE LSPs with a to address matching that of the T-LDP peer are eligible by default. The user can also exclude specific LSP names by using the ldp-over-rsvp exclude command in the config>router>mpls>lsp lsp-name context.

The no form of this command removes the LSP association.

Parameters 
lsp-name—
specifies the name of the LSP

5.12.2.2. Show Commands

Note:

The following command outputs are examples only; actual displays may differ depending on supported functionality and user configuration.

5.12.2.2.1. Show Router LDP Commands

discovery

Syntax 
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]]
Context 
show>router>ldp
Description 

This command displays the status of the interfaces participating in LDP discovery.

Parameters 
state—
specifies the current operational state of the adjacency
Values—
established, trying, down

 

detail—
displays detailed information
summary—
displays summary information
type—
specifies the adjacency type
Values—
link, targeted

 

ip-addr—
the IP address of the session
label-space—
specifies the label space identifier that the router is advertising on theinterface
Values—
0 to 65535

 

family—
displays either IPv4 or IPv6 LDP session information
ip-int-name—
specifies an existing interface. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.
ip-address—
specifies the IP address of the peer
Output 

The following outputs are examples of LDP discovery information, and Table 41 describes the fields.

Output Example - show router ldp discovery
ALU-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#
Table 41:  LDP Discovery Field Descriptions  

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

Syntax 
fec-egress-stats [ip-prefix/mask]
fec-egress-stats [active] [family]
Context 
show>router>ldp
Description 

This command displays LDP FEC egress statistical information.

Parameters 
ip-prefix[/mask] —
the IP prefix and prefix length associated with the prefix FEC
Values—

ipv4-prefix:

a.b.c.d

ipv4-prefix-length:

32

ipv6-prefix:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

  x - [0 to FFFF]H

  d - [0 to 255]D

ipv6-prefix-length:

128

 

active—
displays information from all LDP FECs with statistics collection enabled
family —
displays either IPv4 or IPv6 LDP information
Values—
ipv4 or ipv6

 

Output 

The following output is an example of LDP FEC egress statistical information.

Output Example
e.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

Syntax 
fec-originate [ip-address/mask] [operation-type]
fec-originate [operation-type] [family]
Context 
show>router>ldp
Description 

This command displays LDP static prefix FECs.

Parameters 
ip-address/mask—
specifies the IP prefix and prefix length
Values—
ipv4-address    a.b.c.d (host bits must be 0)
mask               0 to 32

 

operation-type—
specifies the operation type to display
Values—
pop | swap

 

family—
the address family filter
Values—
ipv4 or ipv6

 

Output 

The following output is an example of FEC originate information, and Table 42 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#
Table 42:  FEC-Originate Field Descriptions  

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 will be dynamically assigned by the label manager.

EgrLabel

The egress label associated with this next-hop entry. The LSR will swap the incoming label with the configured egress label. If this egress label has a value of 4294967295, the LSR will pop the incoming label.

OperIngLabel

The actual or operational value of the label that was advertised to the upstream peer

interface

Syntax 
interface [ip-int-name | ip-address] [detail]
Context 
show>router>ldp
Description 

This command displays configuration information about LDP interfaces.

Parameters 
ip-int-name—
specifies an existing interface. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.
ip-address—
identifies the LDP neighbor by IP address
detail—
displays detailed information
Output 

The following output is an example of LDP interface information, and Table 43 describes the fields.

Output Example
A: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#
Table 43:  LDP Interface Field Descriptions  

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

Syntax 
parameters
Context 
show>router>ldp
Description 

This command displays configuration information about LDP parameters.

Output 

The following output is an example of LDP parameters information, and Table 44 describes the fields.

Output Example
A: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# 
Table 44:  LDP Parameters Field Descriptions 

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 will distribute label bindings only for the router’s system IP address

interface — indicates that the LDP will distribute label bindings for all LDP interfaces

all — indicates that the LDP will distribute label bindings for all prefixes in the routing table

none — indicates that the LDP will 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 since 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 will be 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 will be 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 will 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

Syntax 
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]
Context 
show>router>ldp
Description 

This command displays configuration information about LDP sessions.

Parameters 
ip-addr—
specifies the IP address of the LDP peer
label-space—
specifies the label space identifier that the router is advertising on the interface
Values—
0 to 65535

 

detail—
displays detailed information
summary—
displays summary information
ip-address—
specifies the IP address
state—
specifies the current operational state of the adjacency
Values—
established, trying, down

 

packet-type
specifies the packet type
Values—
hello, keepalive, init, label, notification, address

 

family—
displays either IPv4 or IPv6 LDP session information
session-type—
specifies the session type
Values—
link, targeted, both

 

Output 

The following output is an example of LDP session information, and Table 45 describes the fields.

Output Example
ALU-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#
Table 45:  LDP Session Field Descriptions  

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

Syntax 
session-parameters [family]
session-parameters [peer-ip-address]
Context 
show>router>ldp
Description 

This command displays LDP peer information.

Parameters 
family—
the address family filter
Values—
ipv4 or ipv6

 

peer-ip-address—
specifies the peer IP address
Output 

The following output is an example of LDP session-parameters information.

Output Example
A: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

Syntax 
status
Context 
show>router>ldp
Description 

This command displays LDP status information.

Output 

The following output is an example of LDP status information, and Table 46 describes the fields.

Output Example
A: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.
Table 46:  LDP Status Field Descriptions  

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

Syntax 
targ-peer [ip-address] [detail]
targ-peer [detail] [family]
Context 
show>router>ldp
Description 

This command displays configuration information about LDP targeted peers.

Parameters 
ip-address—
specifies the IP address of the LDP peer
detail—
displays detailed information
family—
the address family filter
Values—
ipv4 or ipv6

 

Output 

The following output is an example of LDP peer information, and Table 47 describes the fields.

Output Example
A: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#
Table 47:  LDP Targeted Peer Field Descriptions 

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 will 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

Syntax 
tcp-session-parameters [family]
tcp-session-parameters [keychain keychain]
tcp-session-parameters transport-peer-ip-address
Context 
show>router>ldp
Description 

This command displays information about the TCP transport session of an LDP peer.

Parameters 
family—
displays either IPv4 or IPv6 LDP session information
keychain—
specifies the authentication keychain name up to 32 characters in length
Values—
ipv4 or ipv6

 

transport-peer-ip-address—
specifies the IP address of the transport peer
Output 

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
===============================================================================

5.12.2.2.2. Show Router LDP Bindings Commands

bindings

Syntax 
bindings
Context 
show>router>ldp
Description 

This command shows LDP bindings information. The bindings command can be used with the following keywords:

  1. active: displays LDP active bindings
  2. detail: displays details of LDP bindings
  3. ipv4: displays LDP IPv4 bindings
  4. ipv6: displays LDP IPv6 bindings
  5. label-type: displays LDP FEC bindings by matching labels
  6. p2mp: displays LDP P2MP FEC bindings
  7. prefixes: displays LDP prefix FEC bindings
  8. services: displays LDP service FEC bindings
  9. session: displays LDP FEC bindings by matching peer LSR ID
  10. summary: displays summary of LDP bindings
Output 

The following output is an example of LDP bindings parameter information, and Table 48 describes the fields.

Output Example
*A:Sar18 Dut-B>show>router>ldp# bindings 
===============================================================================
LDP Bindings (IPv4 LSR ID 2.2.2.2)
             (IPv6 LSR ID ::)
===============================================================================
Legend: U - Label In Use, N - Label Not In Use, W - Label Withdrawn
        S - Status Signaled Up,  D - Status Signaled Down
        E - Epipe Service, V - VPLS Service, M - Mirror Service
        A - Apipe Service, F - Fpipe Service, I - IES Service, R - VPRN service
        P - Ipipe Service, WP - Label Withdraw Pending, C - Cpipe Service
        BU - Alternate For Fast Re-Route, TLV - (Type, Length: Value), 
                                          H - Hpipe Service
        LF - Lower FEC, UF - Upper FEC
===============================================================================
LDP IPv4 Prefix Bindings 
===============================================================================
Prefix                                      IngLbl                    EgrLbl
Peer                                        EgrIntf/LspId
EgrNextHop
-------------------------------------------------------------------------------
10.1.1.1/32                                    --                      131071
10.1.1.1:0                                  1/1/1:100
10.1.1.1
10.2.2.2/32                                 131071U                     --
10.1.1.1:0                                     --
  --
-------------------------------------------------------------------------------
No. of IPv4 Prefix Bindings: 2
===============================================================================
===============================================================================
LDP IPv6 Prefix Bindings
===============================================================================
Prefix                                      IngLbl                    EgrLbl
Peer                                        EgrIntf/LspId             
EgrNextHop                                                            
-------------------------------------------------------------------------------
3ffe::a14:101/128                           262142U                     --
3ffe::a14:102[0]                              --                      
-------------------------------------------------------------------------------
No. of IPv6 Prefix Bindings: 2
===============================================================================
===============================================================================
LDP Generic IPv4 P2MP Bindings
===============================================================================
P2MP-Id
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP Generic IPv6 P2MP Bindings
===============================================================================
P2MP-Id
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP In-Band-SSM IPv4 P2MP Bindings
===============================================================================
Source
Group
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP In-Band-SSM IPv6 P2MP Bindings
===============================================================================
Source
Group
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP In-Band-VPN-SSM IPv4 P2MP Bindings
===============================================================================
Source
Group                                       RD
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP In-Band-VPN-SSM IPv6 P2MP Bindings
===============================================================================
Source
Group                                       RD
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP Recursive with In-Band-SSM IPv4 P2MP Bindings
===============================================================================
RootAddr
InnerRootAddr
Source
Group                                       Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP Recursive with In-Band-SSM IPv6 P2MP Bindings
===============================================================================
RootAddr
InnerRootAddr
Source
Group                                       Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP VPN Recursive with Generic IPv4 P2MP Bindings
===============================================================================
P2MP-Id                                     RD
RootAddr                                    Interface
InnerRootAddr                                               IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP VPN Recursive with Generic IPv6 P2MP Bindings
===============================================================================
P2MP-Id                                     RD
RootAddr                                    Interface
InnerRootAddr                                               IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP GRT Recursive with Generic IPv4 P2MP Bindings
===============================================================================
P2MP-Id
RootAddr                                    Interface       IngLbl    EgrLbl
InnerRootAddr
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP GRT Recursive with Generic IPv6 P2MP Bindings
===============================================================================
P2MP-Id
RootAddr                                    Interface       IngLbl    EgrLbl
InnerRootAddr
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP Service FEC 128 Bindings
===============================================================================
Type                                          VCId       SDPId     IngLbl  LMTU
Peer                                          SvcId                EgrLbl  RMTU
-------------------------------------------------------------------------------
?-Eth                                         10         R. Src      --    None
10.1.1.1:0                                    Ukwn                 131070D 1500
-------------------------------------------------------------------------------
No. of VC Labels: 1
===============================================================================
===============================================================================
LDP Service FEC 129 Bindings
===============================================================================
SAII                                            AGII        IngLbl    LMTU
TAII                                            Type        EgrLbl    RMTU
Peer                                            SvcId       SDPId
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
*A:Sar18 Dut-B>show>router>ldp#
Table 48:  LDP Bindings Field Descriptions  

Label

Description

Legend

U: Label In Use

N: Label Not In Use

W: Label Withdrawn

S: Status Signaled Up

D: Status Signaled Down

E: Epipe Service

V: VPLS Service

M: Mirror Service

A: Apipe Service

F: Fpipe Service

I: IES Service

R: VPRN service

P: Ipipe Service

WP: Label Withdraw Pending

C: Cpipe Service

BU: Alternate for Fast Re-Route

TLV: (Type, Length: Value)

H: Hpipe

LF: Lower FEC

UF: Upper FEC

Type

The service type exchanging labels in the SDP. The possible types displayed are Epipe, Spoke, and Unknown.

VCId

The value used by each end of an SDP tunnel to identify the VC

SvcID

Identifies the service in the service domain

SDPId

Identifies the SDP in the service domain

Peer

The IP address of the peer

IngLbl

The ingress LDP label

U — indicates that the label is in use

R — indicates that the label has been released

EgrLbl

The egress LDP label

LMTU

The local MTU value

RMTU

The remote MTU value

No. of Prefix Bindings

The total number of LDP bindings on the router

EgrIntf/LspId

The egress interface LSP ID

EgrNextHop

The egress next-hop address, or Unnumbered for unnumbered interfaces

AGI Type

The address group identifier (AGI)

SAII Peer

The source attachment individual identifier (SAII)

TAII EgrLbl

The target attachment individual identifier (TAII)

Prefix

The FEC address

P2MP-Id

The Internal identifier of Point to Multi-point LSP

RootAddr

The Root Address (only IPV4)

Interface

The Logical Interface ID

EgrNH 

The egress next-hop address

Source

The Source Address

Group

The Multicast Group address

InnerRootAddr

The Inner Root Address

No. of VC Labels

The total number of VC labels

No. of Service Bindings

The total number of service bindings

Vc-switching

Not applicable – always indicates No

Egr. Flags

Specifies the egress flags, if any

Egr. Ctl Word

Indicates whether egress control words are used

Egr. Status Bits

Indicates whether egress status bits are supported

Egr If Name

The egress interface name

Ing. Flags

Specifies the ingress flags, if any

Ing. Ctl Word

Indicates whether ingress control words are used

Ing. Status Bits

Indicates whether ingress status bits are supported

Metric

The metric of the LSP

Mtu

The size of the MTU for the global FEC or tunnel to which the LDP binding is applied

Op

The operation performed on the ingress or egress label in the LDP stack (push or pop)

active

Syntax 
active detail [family] [egress-if port-id]
active detail [family] [egress-lsp tunnel-id]
active detail [egress-nh ip-address] [family]
active egress-if port-id [summary | detail] [family]
active egress-lsp tunnel-id [summary | detail] [family]
active egress-nh [family] [summary | detail] ip-address
active ipv4 [summary | detail] [egress-if port-id]
active ipv4 [summary | detail] [egress-lsp tunnel-id]
active ipv4 [summary | detail] [egress-nh ip-address]
active ipv6 [summary | detail] [egress-if port-id]
active ipv6 [summary | detail] [egress-nh ip-address]
active ipv6 [summary | detail] [egress-lsp tunnel-id]
active p2mp p2mp-id identifier root ip-address [summary | detail] [egress-if port-id]
active p2mp p2mp-id identifier root ip-address [summary | detail] [egress-lsp tunnel-id]
active p2mp p2mp-id identifier root ip-address [summary | detail] [egress-nh ip-address]
active p2mp [family] [summary | detail] [egress-if port-id] [opaque-type opaque-type]
active p2mp [family] [summary | detail] [egress-lsp tunnel-id] [opaque-type opaque-type]
active p2mp [family] [summary | detail] [egress-nh ip-address] [opaque-type opaque-type]
active p2mp source ip-address group mcast-address root ip-address [summary | detail] [egress-if port-id] inner-root ip-address
active p2mp source ip-address group mcast-address root ip-address [summary | detail] [egress-lsp tunnel-id] inner-root ip-address
active p2mp source ip-address group mcast-address root ip-address [summary | detail] [egress-nh ip-address] inner-root ip-address
active p2mp source ip-address group mcast-address root ip-address [rd rd] [summary | detail] [egress-if port-id]
active p2mp source ip-address group mcast-address root ip-address [rd rd] [summary | detail] [egress-lsp tunnel-id]
active p2mp source ip-address group mcast-address root ip-address [rd rd] [summary | detail] [egress-nh ip-address]
active p2mp source ip-address group mcast-address family [rd rd] [summary | detail] [innermost-root ip-address]
active prefixes [family] [summary | detail] [egress-if port-id]
active prefixes [family] [summary | detail] [egress-lsp tunnel-id]
active prefixes [egress-nh ip-address] [family] [summary | detail]
active prefixes prefix ip-prefix/ip-prefix-length [summary | detail] [egress-if port-id]
active prefixes prefix ip-prefix/ip-prefix-length [summary | detail] [egress-lsp tunnel-id]
active prefixes prefix ip-prefix/ip-prefix-length [egress-nh ip-address] [summary | detail]
active summary [family] [egress-if port-id]
active summary [family] [egress-lsp tunnel-id]
active summary [egress-nh ip-address] [family]
Context 
show>router>ldp>bindings
Description 

This command displays information about LDP active bindings.

Parameters 
detail—
displays detailed information
summary—
displays information in a summarized format
family—
displays either IPv4 or IPv6 active LDP information
Values—
ipv4 or ipv6

 

egress-if port-id
displays LDP active bindings by matching egress-if
Values—
slot[/mda[/port]] or slot/mda/port[.channel]
aps-id            : aps-group-id[.channel]
   group-id      : 1 to 24]
mw-link-id      :  mw-link-link-num
   link-num      : 1 to 24

 

egress-lsp tunnel-id
displays LDP active bindings by matching on the egress RSVP-TE LSP tunnel-id for LDP FECs that are tunneled over an RSVP-TE LSP. The tunnel-id for the RSVP-TE LSP can be found in the output of the show router mpls lsp detail command and in the show router tunnel-table command. It is not the Path LSP ID shown in the output of the show router mpls lsp path detail command.
Values—
0 to 4294967295

 

egress-nh ip-address
displays LDP active bindings by matching egress-nh
Values—

ipv4-address

a.b.c.d

ipv6-address

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x - [0 to FFFF]H

d - [0 to 255]D

 

opaque-type opaque-type
specifies the type of a multipoint opaque value element
Values—
generic, ssm, vpn-ssm, recursive-ssm, vpn-recursive, grt-recursive

 

inner-root ip-address
displays recursive FECs whose inner root address matches the specified address
innermost-root ip-address
displays recursive FECs whose inner root address matches the specified address and non-recursive FECs that have a root address that matches the specified address
p2mp source ip-address
displays LDP active P2MP source bindings
Values—

ipv4-address

a.b.c.d

ipv6-address

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x - [0 to FFFF]H

d - [0 to 255]D

 

p2mp-id identifier
displays LDP active P2MP identifier bindings
Values—
0 to 4294967295

 

group mcast-address
displays the P2MP group multicast address bindings
Values—
ipv4-mcast-addr or ipv6-mcast-addr

 

root ip-address
displays root IP address information
rd rd
displays information for the route distinguisher
Values—
rd : ip-addr:comm-val or 2byte-asnumber:ext-comm-val or 4byte-asnumber:comm-val

 

prefix ip-prefix/ip-prefix-length
displays information for the specified IP prefix and mask length
Values—

ipv4-address

a.b.c.d

ipv4-prefix-length

0 to 32

ipv6-address

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x - [0 to FFFF]H

d - [0 to 255]D

ipv6-prefix-length

0 to 128

 

Output 

The following output is an example of LDP active bindings information, and Table 48 describes the fields.

Output Example: bindings active
*A:Sar18 Dut-B>show>router>ldp# bindings active
===============================================================================
LDP Bindings (IPv4 LSR ID 10.20.1.3:0)
             (IPv6 LSR ID 3ffe::a14:103[0])
===============================================================================
Legend: U - Label In Use,  N - Label Not In Use, W - Label Withdrawn
        WP - Label Withdraw Pending, BU - Alternate For Fast Re-Route
        LF - Lower FEC, UF - Upper FEC
        (S) - Static           (M) - Multi-homed Secondary Support
        (B) - BGP Next Hop     (BU) - Alternate Next-hop for Fast Re-Route
        (I) - SR-ISIS Next Hop (O) - SR-OSPF Next Hop
===============================================================================
LDP IPv4 Prefix Bindings (Active)
===============================================================================
Prefix                                      Op              IngLbl    EgrLbl
EgrNextHop                                  EgrIf/LspId               
-------------------------------------------------------------------------------
10.20.1.1/32                                Push              --      262143
10.10.2.1                                   1/1/1                      
                                                                       
10.20.1.1/32                                Swap            262141    262143
10.10.2.1                                   1/1/1                      
-------------------------------------------------------------------------------
No. of IPv4 Prefix Active Bindings: 2
===============================================================================
===============================================================================
LDP IPv6 Prefix Bindings (Active)
===============================================================================
Prefix                                         Op              IngLbl    EgrLbl
EgrNextHop                                     EgrIf/LspId               
-------------------------------------------------------------------------------
3ffe::a14:101/128                              Push              --      262142
fe80::21                                       1/1/1                      
                                                                       
3ffe::a14:101/128                              Swap            262136    262142
fe80::21                                       1/1/1                      
-------------------------------------------------------------------------------
No. of IPv6 Prefix Active Bindings: 2
===============================================================================
===============================================================================
LDP In-Band-SSM IPv6 P2MP Bindings (Active)
===============================================================================
Source
Group                                       Interface
RootAddr                                    Op              IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP Recursive with In-Band-SSM IPv4 P2MP Bindings (Active)
===============================================================================
RootAddr
InnerRootAddr
Source                                      Interface
Group                                       Op              IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP Recursive with In-Band-SSM IPv6 P2MP Bindings (Active)
===============================================================================
RootAddr
InnerRootAddr
Source                                      Interface
Group                                       Op              IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP In-Band-VPN-SSM IPv4 P2MP Bindings (Active)
===============================================================================
Source
Group                                       RD              Op
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP In-Band-VPN-SSM IPv6 P2MP Bindings (Active)
===============================================================================
Source
Group                                       RD              Op
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
VPN Recursive with Generic IPv4 P2MP Bindings (Active)
===============================================================================
P2MP-Id                                     Interface
RootAddr                                    Op              IngLbl    EgrLbl
InnerRootAddr                               RD
EgrNH                                       EgrIf/LspId
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP VPN Recursive with Generic IPv6 P2MP Bindings (Active)
===============================================================================
P2MP-Id                                     Interface
RootAddr                                    Op              IngLbl    EgrLbl
InnerRootAddr                               RD
EgrNH                                       EgrIf/LspId
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP GRT Recursive with Generic IPv4 P2MP Bindings (Active)
===============================================================================
P2MP-Id                                     Interface
RootAddr                                    Op              IngLbl    EgrLbl
InnerRootAddr
EgrNH                                       EgrIf/LspId
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP GRT Recursive with Generic IPv6 P2MP Bindings (Active)
===============================================================================
P2MP-Id                                     Interface
RootAddr                                    Op              IngLbl    EgrLbl
InnerRootAddr
EgrNH                                       EgrIf/LspId
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
*A:Sar18 Dut-B>show>router>ldp#

detail

Syntax 
detail [session ip-addr [label-space]] [family]
Context 
show>router>ldp>bindings
Description 

This command displays details of LDP bindings.

Parameters 
family—
displays either IPv4 or IPv6 LDP information
session ip-addr[label-space]
specifies the IP address and label space identifier
Values—
ip-addr[label-spa*    : ipv4-address:label-space
                                  ipv6-address[label-space]
label-space              : 0 to 65535]

 

Output 

The following output is an example of detailed LDP bindings information, and Table 48 describes the fields.

Output Example
*A:Sar18 Dut-B>show>router>ldp# bindings active detail
===============================================================================
LDP Bindings (IPv4 LSR ID 10.20.1.3:0)
             (IPv6 LSR ID 3ffe::a14:103[0])
===============================================================================
Legend: U - Label In Use,  N - Label Not In Use, W - Label Withdrawn
        WP - Label Withdraw Pending, BU - Alternate For Fast Re-Route
        (S) - Static       (M) - Multi-homed Secondary Support
        (B) - BGP Next Hop (BU) - Alternate Next-hop for Fast Re-Route
==============================================================================
LDP IPv4 Prefix Bindings (Active)
==============================================================================
-------------------------------------------------------------------------------
Prefix         : 10.20.1.1/32
Op             : Push               
Ing Lbl        :   --               Egr Lbl    : 262143
Egr Int/LspId  : 1/1/1              
EgrNextHop     : 10.10.2.1
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : ip-10.10.2.3       
Metric         : 1000               Mtu        : 1500
-------------------------------------------------------------------------------
Prefix         : 10.20.1.1/32
Op             : Swap               
Ing Lbl        : 262141             Egr Lbl    : 262143
Egr Int/LspId  : 1/1/1              
EgrNextHop     : 10.10.2.1
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : ip-10.10.2.3       
Metric         : 1000               Mtu        : 1500
===============================================================================
No. of IPv4 Prefix Active Bindings: 2
==============================================================================
 
==============================================================================
LDP IPv6 Prefix Bindings (Active)
==============================================================================
-------------------------------------------------------------------------------
Prefix         : 3ffe::a14:101/128
Op             : Push               
Ing Lbl        :   --               Egr Lbl    : 262142
Egr Int/LspId  : 1/1/1              
EgrNextHop     : fe80::21
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : ip-10.10.2.3       
Metric         : 1000               Mtu        : 1500
-------------------------------------------------------------------------------
Prefix         : 3ffe::a14:101/128
Op             : Swap               
Ing Lbl        : 262136             Egr Lbl    : 262142
Egr Int/LspId  : 1/1/1              
EgrNextHop     : fe80::21
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : ip-10.10.2.3       
Metric         : 1000               Mtu        : 1500
-------------------------------------------------------------------------------
===============================================================================
No. of IPv6 Prefix Active Bindings: 2
==============================================================================
 
==============================================================================
LDP Generic IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP Generic IPv6 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP In-Band-SSM IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP In-Band-SSM IPv6 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP In-Band-VPN-SSM IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP In-Band-VPN-SSM IPv6 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP Recursive with In-Band-SSM IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP Recursive with In-Band-SSM IPv6 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP VPN Recursive with Generic IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP VPN Recursive with Generic IPv6 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP GRT Recursive with Generic IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP GRT Recursive with Generic IPv6 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
===============================================================================
LDP Service FEC 128 Bindings
===============================================================================
Type               : ?-Eth               VcId                : 10
SvcId              : Ukwn                SdpId               : R. Src
Peer Address       : 1.1.1.1:0
Vc-switching       : No
LMTU               : None                RMTU                : 1500
Egr. Lbl           : 131070D             Egr. Ctl Word       : No
Egr. Flags         : None                Egr. Status Bits    : Supported (0x1e)
Egr. Flow Label Tx : No                  Egr. Flow Label Rx  : No
Egr. PW Status Sig : Enabled
Egr. Vccv CV Bits  : lsp-ping
Egr. Vccv CC Bits  : router-alert-label
Ing. Lbl           :  --                 Ing. Ctl Word       : None
Ing. Flags         : None                Ing. Status Bits    : N/A
Ing. Flow Label Tx : None                Ing. Flow Label Rx  : None
Ing. Wdraw Reason  : None
Ing. PW Status Sig : None
Ing. Vccv CV Bits  : None
Ing. Vccv CC Bits  : None
-------------------------------------------------------------------------------
===============================================================================
No. of VC Labels: 1
===============================================================================
===============================================================================
LDP Service FEC 129 Bindings
===============================================================================
No Matching Entries Found
===============================================================================
*A:Sar18 Dut-B>show>router>ldp#

ipv4

Syntax 
ipv4 [session ip-addr[label-space]] [summary | detail]
Context 
show>router>ldp>bindings
Description 

This command displays LDP active IPv4 bindings.

Parameters 
ip-addr[label-space]
specifies the IP address and label space identifier
Values—
ip-addr[label-spa*    : ipv4-address:label-space
                                  ipv6-address[label-space]
label-space              : 0 to 65535]

 

detail—
displays detailed information
summary—
displays information in a summarized format
Output 

The following output is an example of LDP active IPv4 bindings information, and Table 48 describes the fields.

Output Example
*A:Sar18 Dut-B>show>router>ldp# bindings ipv4
===============================================================================
LDP Bindings (IPv4 LSR ID 10.10.10.10)
             (IPv6 LSR ID ::)
===============================================================================
Legend: U - Label In Use, N - Label Not In Use, W - Label Withdrawn
        S - Status Signaled Up,  D - Status Signaled Down
        E - Epipe Service, V - VPLS Service, M - Mirror Service
        A - Apipe Service, F - Fpipe Service, I - IES Service, R - VPRN service
        P - Ipipe Service, WP - Label Withdraw Pending, C - Cpipe Service
        BU - Alternate For Fast Re-Route, TLV - (Type, Length: Value), H -
 Hpipe Service
        LF - Lower FEC, UF - Upper FEC
===============================================================================
LDP IPv4 Prefix Bindings
===============================================================================
Prefix                                      IngLbl                    EgrLbl
Peer                                        EgrIntf/LspId
EgrNextHop
-------------------------------------------------------------------------------
10.10.10.10/32                                    --                      131071
10.10.10.10:0                                   1/1/1:100
10.1.1.1
10.12.12.12/32                                  131071U                     --
10.10.10.10:0                                     --
  --
-------------------------------------------------------------------------------
No. of IPv4 Prefix Bindings: 2
===============================================================================
===============================================================================
LDP Generic IPv4 P2MP Bindings
===============================================================================
P2MP-Id
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP In-Band-SSM IPv4 P2MP Bindings
===============================================================================
Source
Group
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP In-Band-VPN-SSM IPv4 P2MP Bindings
===============================================================================
Source
Group                                       RD
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP Recursive with In-Band-SSM IPv4 P2MP Bindings
===============================================================================
RootAddr
InnerRootAddr
Source
Group                                       Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP VPN Recursive with Generic IPv4 P2MP Bindings
===============================================================================
P2MP-Id                                     RD
RootAddr                                    Interface
InnerRootAddr                                               IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP GRT Recursive with Generic IPv4 P2MP Bindings
===============================================================================
P2MP-Id
RootAddr                                    Interface       IngLbl    EgrLbl
InnerRootAddr
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
*A:Sar18 Dut-B>show>router>ldp#
*A:Sar18 Dut-B>show>router>ldp# bindings  ipv4 session 10.10.10.10:22 summary
 No. of IPv4 Prefix Bindings: 0
 No. of Generic IPv4 P2MP Bindings: 0
 No. of In-Band-SSM IPv4 P2MP Bindings: 0
 No. of In-Band-VPN-SSM IPv4 P2MP Bindings: 0
 No. of Recursive with In-Band-SSM IPv4 P2MP Bindings: 0
 No. of VPN Recursive with Generic IPv4 P2MP Bindings: 0
 No. of GRT Recursive with Generic IPv4 P2MP Bindings: 0
*A:Sar18 Dut-B>show>router>ldp#
*A:Sar18 Dut-B>show>router>ldp# bindings ipv4 detail
===============================================================================
LDP Bindings (IPv4 LSR ID 10.10.10.10)
             (IPv6 LSR ID ::)
===============================================================================
Legend: U - Label In Use, N - Label Not In Use, W - Label Withdrawn
        S - Status Signaled Up,  D - Status Signaled Down
        E - Epipe Service, V - VPLS Service, M - Mirror Service
        A - Apipe Service, F - Fpipe Service, I - IES Service, R - VPRN service
        P - Ipipe Service, WP - Label Withdraw Pending, C - Cpipe Service
        BU - Alternate For Fast Re-Route, TLV - (Type, Length: Value), H - Hpipe Se
rvice
        LF - Lower FEC, UF - Upper FEC
==============================================================================
LDP IPv4 Prefix Bindings
==============================================================================
-------------------------------------------------------------------------------
Prefix         : 10.10.10.10/32
-------------------------------------------------------------------------------
Peer           : 10.10.10.10:0
Ing Lbl        :   --               Egr Lbl    : 131071
Egr Int/LspId  : 10/10/10:100
EgrNextHop     : 10.1.1.1
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : toA
Metric         : 1                  Mtu        : 1554
-------------------------------------------------------------------------------
Prefix         : 10.12.12.12/32
-------------------------------------------------------------------------------
Peer           : 10.10.10.1:0
Ing Lbl        : 131071U            Egr Lbl    :   --
Egr Int/LspId  :   --
EgrNextHop     :   --
Egr. Flags     : None               Ing. Flags : None
===============================================================================
No. of IPv4 Prefix Bindings: 2
==============================================================================
==============================================================================
LDP Generic IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP In-Band-SSM IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP In-Band-VPN-SSM IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP Recursive with In-Band-SSM IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP VPN Recursive with Generic IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP GRT Recursive with Generic IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
*A:Sar18 Dut-B>show>router>ldp#

ipv6

Syntax 
ipv6 [session ip-addr[label-space]] [summary | detail]
Context 
show>router>ldp>bindings
Description 

This command displays LDP active IPv6 bindings.

Parameters 
ip-addr[label-space]
specifies the IP address and label space identifier
Values—
ip-addr[label-spa*    : ipv4-address:label-space
                                  ipv6-address[label-space]
label-space              : 0 to 65535]

 

detail—
displays detailed information
summary—
displays information in a summarized format
Output 

The following output is an example of LDP active IPv6 bindings information, and Table 48 describes the fields.

Output Example
*A:Sar18 Dut-B# show router ldp bindings ipv6 
===============================================================================
LDP Bindings (IPv4 LSR ID 10.12.12.12)
             (IPv6 LSR ID ::)
===============================================================================
Legend: U - Label In Use, N - Label Not In Use, W - Label Withdrawn
        S - Status Signaled Up,  D - Status Signaled Down
        E - Epipe Service, V - VPLS Service, M - Mirror Service
        A - Apipe Service, F - Fpipe Service, I - IES Service, R - VPRN service
        P - Ipipe Service, WP - Label Withdraw Pending, C - Cpipe Service
        BU - Alternate For Fast Re-Route, TLV - (Type, Length: Value), H -
 Hpipe Service
        LF - Lower FEC, UF - Upper FEC
===============================================================================
LDP IPv6 Prefix Bindings
===============================================================================
Prefix                                      IngLbl                    EgrLbl
Peer                                        EgrIntf/LspId
EgrNextHop
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP Generic IPv6 P2MP Bindings
===============================================================================
P2MP-Id
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP In-Band-SSM IPv6 P2MP Bindings
===============================================================================
Source
Group
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP In-Band-VPN-SSM IPv6 P2MP Bindings
===============================================================================
Source
Group                                       RD
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP Recursive with In-Band-SSM IPv6 P2MP Bindings
===============================================================================
RootAddr
InnerRootAddr
Source
Group                                       Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP VPN Recursive with Generic IPv6 P2MP Bindings
===============================================================================
P2MP-Id                                     RD
RootAddr                                    Interface
InnerRootAddr                                               IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP GRT Recursive with Generic IPv6 P2MP Bindings
===============================================================================
P2MP-Id
RootAddr                                    Interface       IngLbl    EgrLbl
InnerRootAddr
EgrNH                                       EgrIf/LspId
Peer
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
*A:Sar18 Dut-B#

label-type

Syntax 
label-type start-label start-label [end-label end-label] label-type [family]
Context 
show>router>ldp>bindings
Description 

This command displays LDP FEC bindings by matching labels.

Parameters 
start-label—
specifies a label value to begin the display
Values—
16 to 1048575

 

end-label—
specifies a label value to end the display
Values—
17 to 1048575

 

label-type—
specifies a label type to display
Values—
ingress-label or egress-label

 

family—
displays either IPv4 or IPv6 LDP information
Values—
ipv4 or ipv6

 

Output 

The following output is an example of LDP FEC bindings information by matching labels, and Table 48 describes the fields.

Output Example
*A:Sar18 Dut-B>show>router>ldp# bindings label-type start-label 16 end-
label 99 ingress-label
===============================================================================
LDP Bindings (IPv4 LSR ID 10.12.12.12)
             (IPv6 LSR ID ::)
===============================================================================
Legend: U - Label In Use,  N - Label Not In Use, W - Label Withdrawn
        WP - Label Withdraw Pending, BU - Alternate For Fast Re-Route
        LF - Lower FEC, UF - Upper FEC
===============================================================================
LDP IPv4 Prefix Bindings
===============================================================================
Prefix                                      IngLbl                    EgrLbl
Peer                                        EgrIntf/LspId
EgrNextHop
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP IPv6 Prefix Bindings
===============================================================================
Prefix                                      IngLbl                    EgrLbl
Peer                                        EgrIntf/LspId
EgrNextHop
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP Service FEC 128 Bindings
===============================================================================
Type                                          VCId       SDPId     IngLbl  LMTU
Peer                                          SvcId                EgrLbl  RMTU
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
===============================================================================
LDP Service FEC 129 Bindings
===============================================================================
SAII                                            AGII        IngLbl    LMTU
TAII                                            Type        EgrLbl    RMTU
Peer                                            SvcId       SDPId
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
*A:Sar18 Dut-B>show>router>ldp#

p2mp

Syntax 
p2mp p2mp-id identifier root ip-address [session ip-addr [label-space]] [summary | detail]
p2mp [session ip-addr [label-space]] [family] [summary | detail] [opaque-type opaque-type]
p2mp source ip-address group mcast-address root ip-address [session ip-addr [label-space]] [family] [summary | detail] inner-root ip-address
p2mp source ip-address group mcast-address root ip-address [rd rd] [session ip-addr [label-space]] [summary | detail]
p2mp source ip-address group mcast-address [session ip-addr [label-space]] [family] [summary | detail] [innermost-root ip-address]
Context 
show>router>ldp>bindings
Description 

This command displays LDP P2MP FEC bindings.

Parameters 
detail—
displays detailed information
summary—
displays information in a summarized format
family—
displays either IPv4 or IPv6 active LDP information
group mcast-address
displays the P2MP group multicast address bindings
inner-root ip-address
displays recursive FECs whose inner root address matches the specified address
innermost-root ip-address
displays recursive FECs whose inner root address matches the specified address and non-recursive FECs that have a root address that matches the specified address
opaque-type opaque-type
specifies the type of a multipoint opaque value element
Values—
generic, ssm, vpn-ssm, recursive-ssm, vpn-recursive, grt-recursive

 

p2mp-id identifier
displays LDP active P2MP identifier bindings
Values—
0 to 4294967295

 

rd rd
displays information for the route distinguisher
Values—
ip-addr:comm-val | 2byte-asnumber:ext-comm-val | 4byte-asnumber:comm-val

 

root ip-address
displays root IP address information
session ip-addr [label-space]
displays information for the LDP session IP address and label space
Values—
ipv4-address:label-space
ipv6-address[label-space]
label-space: 0 to 65535

 

source ip-address
displays LDP active P2MP source bindings
Values—

ipv4-address

a.b.c.d

ipv6-address

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x - [0 to FFFF]H

d - [0 to 255]D

 

Output 

The following output is an example of LDP P2MP FEC bindings information, and Table 48 describes the fields.

Output Example
*A:7705:Dut-F# show router ldp bindings p2mp detail 
===============================================================================
LDP Bindings (IPv4 LSR ID 10.20.1.6)
             (IPv6 LSR ID ::)
===============================================================================
Legend: U - Label In Use,  N - Label Not In Use, W - Label Withdrawn
        WP - Label Withdraw Pending, BU - Alternate For Fast Re-Route
        LF - Lower FEC, UF - Upper FEC
==============================================================================
LDP Generic IPv4 P2MP Bindings
==============================================================================
-------------------------------------------------------------------------------
P2MP Type      : 1                  P2MP-Id    : 8193
Root-Addr      : 10.20.1.1
-------------------------------------------------------------------------------
Peer           : 10.20.1.4:0
Ing Lbl        : 131062U            
Egr Lbl        :   --               
Egr Int/LspId  :   --
EgrNextHop     :   --
Egr. Flags     : None               Ing. Flags : None
-------------------------------------------------------------------------------
P2MP Type      : 1                  P2MP-Id    : 8193
Root-Addr      : 10.20.1.1
-------------------------------------------------------------------------------
Peer           : 10.20.1.5:0
Ing Lbl        :   --               
Egr Lbl        : 131062             
Egr Int/LspId  : 1/1/3:0
EgrNextHop     : 10.180.10.5
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : ip-10.180.10.6
Metric         : 1                  Mtu        : 1496
-------------------------------------------------------------------------------
P2MP Type      : 1                  P2MP-Id    : 8193
Root-Addr      : 10.20.1.2
-------------------------------------------------------------------------------
Peer           : 10.20.1.4:0
Ing Lbl        : 131064U            
Egr Lbl        :   --                 
Egr Int/LspId  :   --
EgrNextHop     :   --
Egr. Flags     : None               Ing. Flags : None
-------------------------------------------------------------------------------
P2MP Type      : 1                  P2MP-Id    : 8193
Root-Addr      : 10.20.1.2
-------------------------------------------------------------------------------
Peer           : 10.20.1.5:0
Ing Lbl        :   --               
Egr Lbl        : 131064             
Egr Int/LspId  : 1/1/3:0
EgrNextHop     : 10.180.10.5
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : ip-10.180.10.6
Metric         : 1                  Mtu        : 1496
-------------------------------------------------------------------------------
P2MP Type      : 1                  P2MP-Id    : 8193
Root-Addr      : 10.20.1.3
-------------------------------------------------------------------------------
Peer           : 10.20.1.4:0
Ing Lbl        : 131063U            
Egr Lbl        :   --               
Egr Int/LspId  :   --
EgrNextHop     :   --
Egr. Flags     : None               Ing. Flags : None
-------------------------------------------------------------------------------
P2MP Type      : 1                  P2MP-Id    : 8193
Root-Addr      : 10.20.1.3
-------------------------------------------------------------------------------
Peer           : 10.20.1.5:0
Ing Lbl        :   --               
Egr Lbl        : 131063             
Egr Int/LspId  : 1/1/3:0
EgrNextHop     : 10.180.10.5
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : ip-10.180.10.6
Metric         : 1                  Mtu        : 1496
-------------------------------------------------------------------------------
P2MP Type      : 1                  P2MP-Id    : 8193
Root-Addr      : 10.20.1.5            
-------------------------------------------------------------------------------
Peer           : 10.20.1.4:0
Ing Lbl        :   --               
Egr Lbl        : 131065             
Egr Int/LspId  : 1/1/1:0
EgrNextHop     : 10.180.9.4
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : ip-10.180.9.6
Metric         : 1                  Mtu        : 1496
-------------------------------------------------------------------------------
P2MP Type      : 1                  P2MP-Id    : 8193
Root-Addr      : 10.20.1.5
-------------------------------------------------------------------------------
Peer           : 10.20.1.5:0
Ing Lbl        : 131065U            
Egr Lbl        :   --               
Egr Int/LspId  :   --
EgrNextHop     :   --
Egr. Flags     : None               Ing. Flags : None
-------------------------------------------------------------------------------
P2MP Type      : 1                  P2MP-Id    : 8193
Root-Addr      : 10.20.1.6
-------------------------------------------------------------------------------
Peer           : 10.20.1.4:0
Ing Lbl        :   --               
Egr Lbl        : 131061             
Egr Int/LspId  : 1/1/1:0
EgrNextHop     : 10.180.9.4
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : ip-10.180.9.6
Metric         : 1                  Mtu        : 1496
-------------------------------------------------------------------------------
P2MP Type      : 1                  P2MP-Id    : 8193
Root-Addr      : 10.20.1.6
-------------------------------------------------------------------------------
Peer           : 10.20.1.5:0
Ing Lbl        :   --               
Egr Lbl        : 131061             
Egr Int/LspId  : 1/1/3:0
EgrNextHop     : 10.180.10.5          
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : ip-10.180.10.6
Metric         : 1                  Mtu        : 1496
===============================================================================
No. of Generic IPv4 P2MP Bindings: 10
==============================================================================
==============================================================================
LDP Generic IPv6 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP In-Band-SSM IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP In-Band-SSM IPv6 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP In-Band-VPN-SSM IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP In-Band-VPN-SSM IPv6 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP Recursive with In-Band-SSM IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP Recursive with In-Band-SSM IPv6 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP VPN Recursive with Generic IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP VPN Recursive with Generic IPv6 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP GRT Recursive with Generic IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP GRT Recursive with Generic IPv6 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
*A:7705:Dut-F# 

prefixes

Syntax 
prefixes prefix ip-prefix/ip-prefix-length [summary | detail] [session ip-addr[label-space]]
prefixes [family] [summary | detail] [session ip-addr[label-space]]
Context 
show>router>ldp>bindings
Description 

This command displays LDP prefix FEC bindings.

Parameters 
prefix ip-prefix/ip-prefix-length
specifies information for the specified IP prefix and mask length
Values—

ipv4-prefix

a.b.c.d

ipv4-prefix-length

0 to 32

ipv6-address

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

x - [0 to FFFF]H

d - [0 to 255]D

ipv6-prefix-length

0 to 128

 

detail—
displays detailed information
summary—
displays information in a summarized format
family—
displays either IPv4 or IPv6 active LDP information
Values—
ipv4 or ipv6

 

session ip-addr
displays configuration information about LDP sessions
label-space—
specifies the label space identifier that the router is advertising on the interface
Values—
0 to 65535

 

Output 

The following output is an example of LDP prefix FEC bindings information, and Table 48 describes the fields.

Output Example
*A:Sar18 Dut-B>show>router>ldp# bindings prefixes
===============================================================================
LDP Bindings (IPv4 LSR ID 10.12.12.2)
             (IPv6 LSR ID ::)
===============================================================================
Legend: U - Label In Use,  N - Label Not In Use, W - Label Withdrawn
        WP - Label Withdraw Pending, BU - Alternate For Fast Re-Route
        LF - Lower FEC, UF - Upper FEC
===============================================================================
LDP IPv4 Prefix Bindings
===============================================================================
Prefix                                      IngLbl                    EgrLbl
Peer                                        EgrIntf/LspId
EgrNextHop
-------------------------------------------------------------------------------
10.10.10.1/32                                   --                      131071
1.1.1.1:0                                   1/1/1:100
10.1.1.1
10.12.12.12/32                              131071U                     --
10.1.1.1:0                                      --
  --
-------------------------------------------------------------------------------
No. of IPv4 Prefix Bindings: 2
===============================================================================
===============================================================================
LDP IPv6 Prefix Bindings
===============================================================================
Prefix                                      IngLbl                    EgrLbl
Peer                                        EgrIntf/LspId
EgrNextHop
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
*A:Sar18 Dut-B>show>router>ldp#
*A:Sar18 Dut-B>show>router>ldp# bindings prefixes detail
===============================================================================
LDP Bindings (IPv4 LSR ID 10.12.12.2)
             (IPv6 LSR ID ::)
===============================================================================
Legend: U - Label In Use,  N - Label Not In Use, W - Label Withdrawn
        WP - Label Withdraw Pending, BU - Alternate For Fast Re-Route
        LF - Lower FEC, UF - Upper FEC
==============================================================================
LDP IPv4 Prefix Bindings
==============================================================================
-------------------------------------------------------------------------------
Prefix         : 10.10.10.1/32
-------------------------------------------------------------------------------
Peer           : 10.10.10.1:0
Ing Lbl        :   --               Egr Lbl    : 131071
Egr Int/LspId  : 10/10/10:100
EgrNextHop     : 10.1.1.1
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : toA
Metric         : 1                  Mtu        : 1554
-------------------------------------------------------------------------------
Prefix         : 10.12.12.2/32
-------------------------------------------------------------------------------
Peer           : 10.10.10.1:0
Ing Lbl        : 131071U            Egr Lbl    :   --
Egr Int/LspId  :   --
EgrNextHop     :   --
Egr. Flags     : None               Ing. Flags : None
===============================================================================
No. of IPv4 Prefix Bindings: 2
==============================================================================
==============================================================================
LDP IPv6 Prefix Bindings
==============================================================================
No Matching Entries Found
==============================================================================
*A:Sar18 Dut-B>show>router>ldp#

services

Syntax 
services vc-type vc-type saii global-id:prefix:ac-id taii [256 chars max] agi agi [detail] [service-id service-id] [session ip-addr[label-space]]
services vc-type vc-type agi agi [detail] [service-id service-id] [session ip-addr[label-space]]
services [vc-type vc-type] [svc-fec-type] [detail] [service-id service-id] [session ip-addr[label-space]]
services vc-type vc-type vc-id vc-id [detail] [service-id service-id] [session ip-addr[label-space]]
Context 
show>router>ldp>bindings
Description 

This command displays LDP service FEC bindings.

Parameters 
vc-type vc-type
displays information about the VC type associated with this service FEC
Values—
ethernet, vlan, mirror, frdlci, atmsdu, atmcell, atmvcc, atmvpc, ipipe, satop-e1, satop-t1, cesopsn, cesopsn-cas

 

vc-id vc-id
displays information about the VC ID associated with this service FEC
Values—
1 to 4294967295

 

saii global-id:prefix:ac-id
specifies the SAII (source attachment individual identifier)
Values—
number:number | a.b.c.d:number

 

taii—
specifies the TAII (target attachment individual identifier), up to 256 characters, associated with this service FEC
svc-fec-type—
specifies the FEC type
Values—
fec128, fec129

 

agi agi
specifies the attachment group identifier TLV associated with this service FEC
Values—
ip-addr:comm-val | 2byte-asnumber:ext-comm-val | 4byte-asnumber:comm-val
ip-addr                             : a.b.c.d
comm-val                        : 0 to 65535
2byte-asnumber              : 1 to 65535
ext-comm-val                  : 0 to 4294967295
4byte-asnumber             :  1 to 4294967295
null - means all value is 0

 

detail—
displays detailed information
service-id—
specifies the service ID number to display
Values—
1 to 2148007980 | svc-name (64 char max)

 

svc-fec-type—
specifies the FEC type
Values—
fec128, fec129

 

ip-addr[label-space]—
specifies the IP address and the label space identifier that the router is advertising on the interface
Values—
ipv4-address:label-space
ipv6-address[label-space]
label-space         : 0 to 65535

 

Output 

The following output is an example of LDP service FEC bindings information, and Table 48 describes the fields.

Output Example
*A:Sar18 Dut-B>show>router>ldp# bindings services vc-type ethernet vc-id 999
===============================================================================
LDP Bindings (IPv4 LSR ID 10.2.2.2)
             (IPv6 LSR ID ::)
===============================================================================
Legend: U - Label In Use, N - Label Not In Use, W - Label Withdrawn
        S - Status Signaled Up,  D - Status Signaled Down
        E - Epipe Service, V - VPLS Service, M - Mirror Service
        A - Apipe Service, F - Fpipe Service, I - IES Service, R - VPRN service
        P - Ipipe Service, WP - Label Withdraw Pending, C - Cpipe Service
        BU - Alternate For Fast Re-Route, TLV - (Type, Length: Value), H -
 Hpipe Service
        LF - Lower FEC, UF - Upper FEC
===============================================================================
LDP Service FEC 128 Bindings
===============================================================================
Type                                          VCId       SDPId     IngLbl  LMTU
Peer                                          SvcId                EgrLbl  RMTU
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
*A:Sar18 Dut-B>show>router>ldp# bindings services vc-type ethernet vc- 
id 999 service-id 7777 
===============================================================================
LDP Bindings (IPv4 LSR ID 10.2.2.2)
             (IPv6 LSR ID ::)
===============================================================================
Legend: U - Label In Use, N - Label Not In Use, W - Label Withdrawn
        S - Status Signaled Up,  D - Status Signaled Down
        E - Epipe Service, V - VPLS Service, M - Mirror Service
        A - Apipe Service, F - Fpipe Service, I - IES Service, R - VPRN service
        P - Ipipe Service, WP - Label Withdraw Pending, C - Cpipe Service
        BU - Alternate For Fast Re-Route, TLV - (Type, Length: Value), H - 
         Hpipe Service
        LF - Lower FEC, UF - Upper FEC
===============================================================================
LDP Service FEC 128 Bindings
===============================================================================
Type                                          VCId       SDPId     IngLbl  LMTU
Peer                                          SvcId                EgrLbl  RMTU
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
*A:Sar18 Dut-B>show>router>ldp# bindings services vc-type ethernet vc-
id 999 service-id 7777 session 10.1.1.1:333
===============================================================================
LDP Bindings (IPv4 LSR ID 10.2.2.2)
             (IPv6 LSR ID ::)
===============================================================================
Legend: U - Label In Use, N - Label Not In Use, W - Label Withdrawn
        S - Status Signaled Up,  D - Status Signaled Down
        E - Epipe Service, V - VPLS Service, M - Mirror Service
        A - Apipe Service, F - Fpipe Service, I - IES Service, R - VPRN service
        P - Ipipe Service, WP - Label Withdraw Pending, C - Cpipe Service
        BU - Alternate For Fast Re-Route, TLV - (Type, Length: Value), H - 
         Hpipe Service
        LF - Lower FEC, UF - Upper FEC
===============================================================================
LDP Service FEC 128 Bindings
===============================================================================
Type                                          VCId       SDPId     IngLbl  LMTU
Peer                                          SvcId                EgrLbl  RMTU
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
*A:Sar18 Dut-B>show>router>ldp#

session

Syntax 
session [family] [summary | detail] ip-addr[label-space]
Context 
show>router>ldp>bindings
Description 

This command displays LDP FEC bindings by matching peer LSR ID.

Parameters 
detail—
displays detailed information
summary—
displays information in a summarized format
family—
displays either IPv4 or IPv6 LDP session information
Values—
ipv4 or ipv6

 

ip-addr[label-space]—
specifies the IP address and the label space identifier that the router is advertising on the interface
Values—
ipv4-address:label-space
ipv6-address[label-space]
label-space         : 0 to 65535

 

Output 

The following output is an example of LDP P2MP FEC bindings information by matching peer LSR ID, and Table 48 describes the fields.

Output Example
*A:Dut-A# show router ldp bindings session 3ffe::a14:103 summary 
 No. of IPv4 Prefix Bindings: 0
 No. of IPv6 Prefix Bindings: 6
 No. of Generic IPv4 P2MP Bindings: 0
 No. of Generic IPv6 P2MP Bindings: 0
 No. of In-Band-SSM IPv4 P2MP Bindings: 0
 No. of In-Band-SSM IPv6 P2MP Bindings: 0
 No. of In-Band-VPN-SSM IPv4 P2MP Bindings: 0
 No. of In-Band-VPN-SSM IPv6 P2MP Bindings: 0
 No. of VC Labels: 0
 No. of FEC 129s: 0
*A:Dut-A# show router ldp bindings session 3ffe::a14:103 detail  
===============================================================================
LDP Bindings (IPv4 LSR ID 10.20.1.1:0)
             (IPv6 LSR ID 3ffe::a14:101[0])
===============================================================================
Legend: U - Label In Use, N - Label Not In Use, W - Label Withdrawn
        S - Status Signaled Up,  D - Status Signaled Down
        E - Epipe Service, V - VPLS Service, M - Mirror Service
        A - Apipe Service, F - Fpipe Service, I - IES Service, R - VPRN service
        P - Ipipe Service, WP - Label Withdraw Pending, C - Cpipe Service
        BU - Alternate For Fast Re-Route, TLV - (Type, Length: Value)
==============================================================================
LDP IPv4 Prefix Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP IPv6 Prefix Bindings
==============================================================================
-------------------------------------------------------------------------------
Prefix         : 3ffe::a14:101/128
-------------------------------------------------------------------------------
Peer           : 3ffe::a14:103[0]
Ing Lbl        : 262142U            Egr Lbl    :   --
Egr Int/LspId  :   --               
EgrNextHop     :   --
Egr. Flags     : None               Ing. Flags : None
-------------------------------------------------------------------------------
Prefix         : 3ffe::a14:102/128
-------------------------------------------------------------------------------
Peer           : 3ffe::a14:103[0]
Ing Lbl        : 262136U            Egr Lbl    : 262138
Egr Int/LspId  :   --               
EgrNextHop     :   --
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : n/a                
-------------------------------------------------------------------------------
Prefix         : 3ffe::a14:103/128
-------------------------------------------------------------------------------
Peer           : 3ffe::a14:103[0]
Ing Lbl        :   --               Egr Lbl    : 262142
Egr Int/LspId  : 1/1/2              
EgrNextHop     : fe80::23
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : ip-10.10.2.1       
Metric         : 1000               Mtu        : 1500
-------------------------------------------------------------------------------
Prefix         : 3ffe::a14:104/128
-------------------------------------------------------------------------------
Peer           : 3ffe::a14:103[0]
Ing Lbl        : 262132U            Egr Lbl    : 262134
Egr Int/LspId  :   --               
EgrNextHop     :   --
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : n/a                
-------------------------------------------------------------------------------
Prefix         : 3ffe::a14:105/128
-------------------------------------------------------------------------------
Peer           : 3ffe::a14:103[0]
Ing Lbl        : 262134N            Egr Lbl    : 262132
Egr Int/LspId  : 1/1/2              
EgrNextHop     : fe80::23
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : ip-10.10.2.1       
Metric         : 2000               Mtu        : 1500
-------------------------------------------------------------------------------
Prefix         : 3ffe::a14:106/128
-------------------------------------------------------------------------------
Peer           : 3ffe::a14:103[0]
Ing Lbl        : 262133U            Egr Lbl    : 262133
Egr Int/LspId  :   --               
EgrNextHop     :   --
Egr. Flags     : None               Ing. Flags : None
Egr If Name    : n/a                
===============================================================================
No. of IPv6 Prefix Bindings: 6
==============================================================================
==============================================================================
LDP Generic IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP Generic IPv6 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP In-Band-SSM IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP In-Band-SSM IPv6 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP In-Band-VPN-SSM IPv4 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
==============================================================================
LDP In-Band-VPN-SSM IPv6 P2MP Bindings
==============================================================================
No Matching Entries Found
==============================================================================
===============================================================================
LDP Service FEC 128 Bindings
===============================================================================
No Matching Entries Found
===============================================================================
===============================================================================
LDP Service FEC 129 Bindings
===============================================================================
No Matching Entries Found
===============================================================================
*A:Dut-A# 
*A:Dut-A# show router ldp bindings session 10.20.1.3 ipv4 
===============================================================================
LDP Bindings (IPv4 LSR ID 10.20.1.1:0)
             (IPv6 LSR ID 3ffe::a14:101[0])
===============================================================================
Legend: U - Label In Use, N - Label Not In Use, W - Label Withdrawn
        S - Status Signaled Up,  D - Status Signaled Down
        E - Epipe Service, V - VPLS Service, M - Mirror Service
        A - Apipe Service, F - Fpipe Service, I - IES Service, R - VPRN service
        P - Ipipe Service, WP - Label Withdraw Pending, C - Cpipe Service
        BU - Alternate For Fast Re-Route, TLV - (Type, Length: Value)
===============================================================================
LDP IPv4 Prefix Bindings
===============================================================================
Prefix                                      IngLbl                    EgrLbl
Peer                                        EgrIntf/LspId             
EgrNextHop                                                            
-------------------------------------------------------------------------------
10.20.1.1/32                                262143U                     --
10.20.1.3:0                                   --                      
  --                                                                  
                                                                       
10.20.1.2/32                                262141U                   262140
10.20.1.3:0                                   --                      
  --                                                                  
                                                                       
10.20.1.3/32                                  --                      262143
10.20.1.3:0                                 1/1/2                     
10.10.2.3                                                             
                                                                       
10.20.1.4/32                                262139U                   262139
10.20.1.3:0                                   --                      
  --                                                                  
                                                                       
10.20.1.5/32                                262138N                   262137
10.20.1.3:0                                 1/1/2                     
10.10.2.3                                                             
                                                                       
10.20.1.6/32                                262135U                   262135
10.20.1.3:0                                   --                      
  --                                                                  
                                                                       
-------------------------------------------------------------------------------
No. of IPv4 Prefix Bindings: 6
===============================================================================
===============================================================================
LDP Generic IPv4 P2MP Bindings
===============================================================================
P2MP-Id                                                                
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId               
Peer                                                                  
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
 
===============================================================================
LDP In-Band-SSM IPv4 P2MP Bindings
===============================================================================
Source                                                                 
Group                                                                  
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId               
Peer                                                                  
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
 
===============================================================================
LDP In-Band-VPN-SSM IPv4 P2MP Bindings
===============================================================================
Source                                                                 
Group                                       RD                         
RootAddr                                    Interface       IngLbl    EgrLbl
EgrNH                                       EgrIf/LspId               
Peer                                                                  
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
*A:Dut-A# 

summary

Syntax 
summary [session ip-addr[label-space]] [ipv4 | ipv6]
Context 
show>router>ldp>bindings
Description 

This command displays a summary of LDP bindings.

Parameters 
session ip-addr[label-space]—
specifies the IP address and label space identifier
Values—
ip-addr[label-spa* :     ipv4-address:label-space                                    ipv6-address[label-space] label-space:               0 to 65535

 

ipv4—
displays IPv4 summary bindings information
ipv6—
displays IPv6 summary bindings information
Output 

The following output is an example of summary LDP bindings information, and Table 48 describes the fields.

Output Example
*A:Sar18 Dut-B>show>router>ldp# bindings summary
 No. of IPv4 Prefix Bindings: 2
 No. of IPv6 Prefix Bindings: 0
 No. of Generic IPv4 P2MP Bindings: 0
 No. of Generic IPv6 P2MP Bindings: 0
 No. of In-Band-SSM IPv4 P2MP Bindings: 0
 No. of In-Band-SSM IPv6 P2MP Bindings: 0
 No. of In-Band-VPN-SSM IPv4 P2MP Bindings: 0
 No. of In-Band-VPN-SSM IPv6 P2MP Bindings: 0
 No. of Recursive with In-Band-SSM IPv4 P2MP Bindings: 0
 No. of Recursive with In-Band-SSM IPv6 P2MP Bindings: 0
 No. of VPN Recursive with Generic IPv4 P2MP Bindings: 0
 No. of VPN Recursive with Generic IPv6 P2MP Binding: 0
 No. of GRT Recursive with Generic IPv4 P2MP Bindings: 0
 No. of GRT Recursive with Generic IPv6 P2MP Binding: 0
 No. of VC Labels: 1
 No. of FEC 129s: 0
*A:Sar18 Dut-B>show>router>ldp# bindings summary

5.12.2.3. Clear Commands

fec-egress-statistics

Syntax 
fec-egress-statistics [ip-prefix/mask]
Context 
clear>router>ldp
Description 

This command clears LDP FEC statistics.

Note:

When LDP FEC statistics are cleared, the current aggregate statistics count is recorded as a baseline and is used to provide a relative count each time the statistics are viewed with the show command. Because this baseline number is not reconciled between the active and inactive CSMs, after a CSM activity switch the statistics on the newly active CSM will show the aggregate count as though no clear command has been executed.

Parameters 
ip-prefix[/mask] —
the IP prefix and prefix length associated with the prefix FEC
Values—

ipv4-prefix:

a.b.c.d

ipv4-prefix-length:

32

ipv6-prefix:

x:x:x:x:x:x:x:x (eight 16-bit pieces)

x:x:x:x:x:x:d.d.d.d

  x - [0 to FFFF]H

  d - [0 to 255]D

ipv6-prefix-length:

128

 

instance

Syntax 
instance
Context 
clear>router>ldp
Description 

This command resets the LDP instance.

interface

Syntax 
interface ip-int-name [statistics]
Context 
clear>router>ldp
Description 

This command restarts or clears statistics for LDP interfaces.

Parameters 
ip-int-name—
specifies an existing interface. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.
statistics—
clears only the statistics for an interface

peer

Syntax 
peer ip-address [statistics]
Context 
clear>router>ldp
Description 

This command restarts or clears statistics for LDP targeted peers.

Parameters 
ip-address—
specifies a targeted peer
statistics—
clears only the statistics for a targeted peer

session

Syntax 
session ip-addr [:label-space] [statistics]
Context 
clear>router>ldp
Description 

This command restarts or clears statistics for LDP sessions.

Parameters 
ip-addr—
specifies the IP address of the LDP peer
label-space—
specifies the label space identifier that the router is advertising on the interface
Values—
0 to 65535

 

statistics—
clears only the statistics for a session

statistics

Syntax 
statistics
Context 
clear>router>ldp
Description 

This command clears LDP instance statistics.

5.12.2.4. Debug Commands

The following output shows debug LDP configurations discussed in this section.

ALU-12# debug router ldp peer 10.10.10.104
ALU-12>debug>router>ldp# show debug ldp
debug
    router "Base"
        ldp peer 10.10.10.104
            event
                bindings
                messages
            exit
            packet
                hello
                init
                keepalive
                label
            exit
        exit
    exit
exit
ALU-12>debug>router>ldp#

ldp

Syntax 
[no] ldp
Context 
debug>router
Description 

This command configures LDP debugging.

interface

Syntax 
[no] interface interface-name
Context 
debug>router>ldp
Description 

This command configures debugging for a specific LDP interface.

Parameters 
interface-name—
specifies an existing interface

peer

Syntax 
[no] peer ip-address
Context 
debug>router>ldp
Description 

This command configures debugging for a specific LDP peer.

Parameters 
ip-address—
specifies the LDP peer to debug

event

Syntax 
[no] event
Context 
debug>router>ldp>interface
debug>router>ldp>peer
Description 

This command configures debugging for specific LDP events.

bindings

Syntax 
[no] bindings
Context 
debug>router>ldp>peer>event
Description 

This command displays debugging information about addresses and label bindings learned from LDP peers for LDP bindings.

The no form of the command disables the debugging output.

messages

Syntax 
[no] messages
Context 
debug>router>ldp>if>event
debug>router>ldp>peer>event
Description 

This command displays specific information (for example, message type, source, and destination) regarding LDP messages sent to and received from LDP peers.

The no form of the command disables debugging output for LDP messages.

packet

Syntax 
[no] packet
Context 
debug>router>ldp>interface
debug>router>ldp>peer
Description 

This command enables debugging for specific LDP packets.

The no form of the command disables the debugging output.

hello

Syntax 
hello [detail]
no hello
Context 
debug>router>ldp>if>packet
debug>router>ldp>peer>packet
Description 

This command enables debugging for sent and received LDP Hello packets.

The no form of the command disables the debugging output.

Parameters 
detail—
displays detailed information

init

Syntax 
init [detail]
no init
Context 
debug>router>ldp>peer>packet
Description 

This command enables debugging for LDP Init packets. The detail option displays detailed information on the type length value (TLV) included in mac-flush packets.

The no form of the command disables the debugging output.

Parameters 
detail—
displays detailed information

keepalive

Syntax 
[no] keepalive
Context 
debug>router>ldp>peer>packet
Description 

This command enables debugging for LDP keepalive packets.

The no form of the command disables the debugging output.

label

Syntax 
label [detail]
no label
Context 
debug>router>ldp neighbor>packet
Description 

This command enables debugging for LDP label packets.

The no form of the command disables the debugging output.

Parameters 
detail—
displays detailed information