3.8. LDP Command Reference

3.8.1. Command Hierarchies

3.8.1.1. LDP Commands

config
— router
[no] ldp
prefix-exclude policy-name [policy-name...(up to 5 max)]
[no] shutdown
export policy-name [policy-name...(up to 5 max)]
— no export
fec-originate ip-prefix/mask [advertised-label in-label] [swap-label out-label] interface interface-name
fec-originate ip-prefix/mask [advertised-label in-label] next-hop ip-address [swap-label out-label]
fec-originate ip-prefix/mask [advertised-label in-label] next-hop ip-address [swap-label out-label] interface interface-name
fec-originate ip-prefix/mask [advertised-label in-label] pop
— no fec-originate ip-prefix/mask interface interface-name
— no fec-originate ip-prefix/mask next-hop ip-address
— no fec-originate ip-prefix/mask next-hop ip-address interface interface-name
— no fec-originate ip-prefix/mask pop
import policy-name [policy-name...(up to 5 max)]
[no] interface ip-int-name
— no bfd-enable
ipv4
p2mp-ipv4 {enable | disable}
prefix-ipv4 {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}
[no] peer ip-address
export-addresses policy-name [policy-name ... (up to 5 max)]
export-prefixes policy-name [policy-name ... (up to 5 max)]
fec-limit limit [log-only] [threshold percentage]
— no fec-limit
p2mp {enable | disable}
prefix-ipv4 {enable | disable}
import-prefixes policy-name [policy-name ... (up to 5 max)]
[no] shutdown
ipv4
hello timeout factor
— no hello
hello-reduction {enable factor | disable}
keepalive timeout factor
— no keepalive
peer ip-address
— no peer ip-address
— no bfd-enable
hello timeout factor
— no hello
keepalive timeout factor
— no keepalive
local-lsr-id interface-name
[no] shutdown
— no tunneling
— no lsp lsp-name
peer-transport ip-address
auth-keychain name
authentication-key [authentication-key | hash-key] [hash | hash2]
[no] ttl-security min-ttl-value

3.8.1.2. Show Commands

show
— router
— ldp
bindings active [fec-type prefixes] [prefix ip-prefix/mask] [egress-nh ip-address | egress-if port-id | egress-lsp tunnel-id] [summary]
bindings active active-ecmp
bindings active [fec-type p2mp] [p2mp-id identifier root ip-address] [egress-nh ip-address | egress-if port-id | egress-lsp tunnel-id] [summary]
bindings active [fec-type p2mp] [source ip-address] group mcast-address root ip-address]] [egress-nh ip-address] | egress-if port-id | egress-lsp tunnel-id] [summary]
bindings active prefixes [family] [{summary | detail}] [egress-if port-id]
bindings active prefixes [family] [{summary | detail}] [egress-lsp tunnel-id]
bindings active prefixes [egress-nh ip-address] [family] [{summary | detail}]
bindings active prefixes prefix ip-prefix/ip-prefix-length [{summary | detail}] [egress-if port-id]
bindings active prefixes prefix ip-prefix/ip-prefix-length [{summary | detail}] [egress-lsp tunnel-id]
bindings active prefixes prefix ip-prefix/ip-prefix-length [egress-nh ip-address] [{summary | detail}]
bindings fec-type {prefixes|services} [session ip-addr 4c5]] [summary| detail]
bindings fec-type p2mp [session ip-addr[:label-space]] [summary | detail]
bindings fec-type p2mp p2mp-id identifier root ip-address [session ip-addr[:label-space]] [summary|detail]
bindings fec-type p2mp root ip-address [session ip-addr[:label-space]] [summary|detail] source ip-address group mcast-address
bindings[fec-type fec-type [detail]] [session ip-addr[:label-space]]
bindings [label-type] [start-label [end-label]
bindings {prefix ip-prefix/mask [detail]} [session ip-addr[:label-space]]
bindings prefixes prefix ip-prefix/ip-prefix-length [{summary | detail}] [session ip-addr[:label-space]]
bindings prefixes [family] [{summary | detail}] [session ip-addr[:label-space]]
bindings active [prefix ip-prefix/mask]
bindings service-id service-id [detail]
bindings vc-type vc-type [{vc-id vc-id | agi agi} [session ip-addr[:lab el-space]]]
discovery [{peer [ip-address]} | {interface [ip-int-name]}] [state state] [detail]
interface [ip-int-name | ip-address] [detail]
session [ip-addr[:label-space]] [detail | statistics [packet-type]]
session-parameters [family]
session-parameters [peer-ip-address]
status
targ-peer [ip-address] [detail]
targ-peer [detail] family
targ-peer resource-failures [family]
tcp-session-parameters [keychain keychain]
tcp-session-parameters [transport-peer-ip-address]

3.8.1.3. Clear Commands

clear
— router
— ldp
interface [ip-int-name] [family]
peer [ip-address] [statistics]
session [ip-addr[:label-space]] [statistics]

3.8.1.4. Debug Commands

[no] debug
— router
[no] ldp
[no] interface interface-name family
[no] event
[no] messages
[no] packet [detail]
hello [detail]
— no hello
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

3.8.2. Command Descriptions

3.8.2.1. LDP Configuration Commands

3.8.2.1.1. Generic Commands

shutdown

Syntax 
[no] shutdown
Context 
config>router>ldp
config>router>ldp>targ-session>peer
config>router>ldp>interface-parameters>interface>ipv4
config>router>ldp>interface-parameters>ipv4
config>router>ldp>aggregate-prefix-match
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

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 may 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.

The no form of this command places an entity in an administratively enabled state.

Default 

no shutdown

Special Cases 
LDP Protocol Handling—
On all 7210 SAS platforms, LDP is created in the no shutdown state.

On the 7210 SAS-Mxp, the protocol is handled as follows.

  1. The configure router ldp command instantiates the protocol in the no shutdown state and resources are allocated to enable the node to process the protocol.
  2. To deallocate resources, users must issue the configure router ldp shutdown and configure router no ldp commands to allow the node to boot up correctly after the reboot. It is not sufficient to issue only the configure router ldp shutdown command.

3.8.2.1.2. LDP Global Commands

ldp

Syntax 
[no] ldp
Context 
config>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables the context to configure LDP parameters. LDP is not enabled by default and must be explicitly enabled (no shutdown).

To suspend the LDP protocol, use the shutdown command. Configuration parameters are not affected.

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

aggregate-prefix-match

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

Supported on all 7210 SAS platforms as described in this document.

Description 

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

When this command is enabled, LDP performs the following procedures for all prefixes. When an LSR receives a FEC-label binding from an LDP neighbor for a specific FEC1 element, it installs the binding in the LDP FIB if:

  1. it is able to perform a successful longest IP match of the FEC prefix with an entry in the routing table
  2. the advertising LDP neighbor is the next hop to reach the FEC prefix

When the FEC-label binding has been installed in the LDP FIB, LDP programs a next-hop label forwarding entry (NHLFE) 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 routing table, 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, LDP may have to update the NHLFE for this FEC.

When a prefix is removed from the routing table, 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, it updates the NHLFE accordingly. If not, it sends a label withdraw message to its LDP neighbors to remove the binding.

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 for these FEC elements.

The no form of this command disables the use of the aggregate prefix match function and deletes the configuration. LDP then performs only exact prefix matching 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
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

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 this prefix occurs in the routing table.

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

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, and so on), the entire string must be enclosed within double quotes.

export

Syntax 
export policy-name [policy-name … up to 5 max]
no export
Context 
config>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command specifies the export route policies that determine which routes are exported to LDP. Policies are configured in the config>router>policy-options context.

If no export policy is specified, non-LDP routes are not exported from the routing table manager to LDP, and LDP-learned routes are exported only to LDP neighbors. The current implementation of the export policy (outbound filtering) can be used only to add FECs for label propagation. The export policy does not control propagation of FECs that an LSR receives from its 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 overrides the previous command. A maximum of five policy names can be specified. Specified names must already be defined.

The no form of this 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 composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

The specified names must already be defined.

fast-reroute

Syntax 
fast-reroute
no fast-reroute
Context 
config>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables LDP Fast-Reroute (FRR). When enabled, LDP uses both the primary next hop and LFA next hop, when available, for resolving the next hop of an LDP FEC against the corresponding prefix in the routing table. This results in LDP programming a primary NHLFE and a backup NHLFE into the forwarding engine for each next hop of a FEC prefix for the purpose of forwarding packets over the LDP 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. In this case, LDP sends a neighbor/next-hop down message to the IOM for each LDP peer it has adjacency with over this interface.
  2. An LDP session to a peer goes down because the Hello or keepalive timer has expired over a specific interface. In this case, LDP sends a neighbor/next-hop down message to the IOM for this LDP peer only.
  3. The TCP connection used by a link LDP session to a peer goes down because, for example, next-hop tracking of the LDP transport address in RTM brings down the LDP session. In this case, LDP sends a neighbor/next-hop down message to the IOM for this LDP peer only.
  4. A BFD session, enabled on a T-LDP session to a peer, times out and causes the link LDP session to the same peer, which uses the same TCP connection as the T-LDP session, to also go down. In this case, LDP sends a neighbor/next-hop down message to the IOM for this LDP peer only.
  5. A BFD session enabled on the LDP interface to a directly connected peer times out and brings down the link LDP session to this peer. In this case, LDP sends a neighbor/next-hop down message to the IOM for this LDP peer only. BFD support on LDP interfaces is a recent feature that provides faster tracking of link LDP peers.

The tunnel-down-dump-time option or the label-withdrawal-delay option, 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 IGP is still using the primary next hop. Also, when the interface for the previous primary next hop is restored, 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. To avoid this situation, IGP-LDP synchronization should be enabled on the LDP interface.

When the SPF computation determines there is more than one primary next hop for a prefix, it does not program an LFA next hop in RTM. The LDP FEC will resolve to the multiple primary next hops that provide the required protection.

The no form of this command disables LDP FRR.

Default 

no fast-reroute

fec-originate

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

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures a way to originate a FEC (with a swap action) for which the LSR is not egress, or to originate a FEC (with a pop action) for which the LSR is egress.

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

<ip-address/mask>

ipv4-prefix - a.b.c.d

ipv4-prefix-le - 0 to 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-le - 0 to 128

 

next-hop—
Keyword to specify the IP address of the next hop of the prefix.
advertised-label—
Keyword to specify the label advertised to the upstream peer. If not configured, the label advertised should be from the label pool. If the configured static label is not available, the IP prefix is not advertised.
out-label—
Specifies the LSR to swap the label. If configured, the LSR should swap the label with the configured swap-label. If not configured, the default action is pop if the next-hop parameter is not defined.

The next-hop, advertised-label, and swap-label parameters are optional. If next-hop is configured but no swap-label specified, a swap occurs with label 3, such as, pop and forward to the next-hop. If the next-hop and swap-label are configured, a regular swap is performed. If no parameters are specified, a pop and route is performed.

Values—
16 to 1048575

 

in-label —
Specifies the number of labels to send to the peer associated with this FEC.
Values—
32 to 1023

 

pop—
Keyword to pop the label and transmit without the label.
interface interface-name
Specifies the name of the interface the label for the originated FEC is swapped to. For an unnumbered interface, this parameter is mandatory since there is no address for the next-hop. For a numbered interface, it is optional.

graceful-restart

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

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables graceful restart helper.

The no form of this command disables graceful restart.

Default 

no graceful-restart

implicit-null-label

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

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables the use of the implicit null label. Use this command to signal the implicit null option for all LDP FECs for which this node is the egress LER.

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

Default 

no implicit-null-label

maximum-recovery-time

Syntax 
maximum-recovery-time interval
no maximum-recovery-time
Context 
config>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures the local maximum recovery time.

The no form of this command reverts to the default value.

Default 

maximum-recovery-time 120

Parameters 
interval—
Specifies the length of time, in seconds.
Values—
15 to 1800

 

neighbor-liveness-time

Syntax 
neighbor-liveness-time interval
no neighbor-liveness-time
Context 
config>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures the neighbor liveness time.

The no form of this command reverts to the default value.

Default 

neighbor-liveness-time 120

Parameters 
interval—
Specifies the length of time in seconds.
Values—
5 to 300

 

import

Syntax 
import policy-name [policy-name … up to 5 max]
no import
Context 
config>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures import route policies to determine which label bindings (FECs) are accepted from LDP neighbors. Policies are configured in the config>router>policy-options context.

If no import policy is specified, LDP accepts all label bindings 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 overrides the previous command. A maximum of five policy names can be specified.

The no form of this 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 composed of printable, 7-bit ASCII characters. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.

label-withdrawal-delay

Syntax 
label-withdrawal-delay seconds
Context 
config>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures the time interval, in seconds, that LDP will delay the withdrawal of the FEC-label bindings it distributed to its neighbors when FEC is deactivated. When the timer expires, LDP sends a label withdrawal for the FEC to all its neighbors. This is applicable only to LDP transport tunnels (IPv4 prefix FECs) and is not applicable to pseudowires (service FECs).

Default 

no label-withdrawal-delay

Parameters 
seconds—
Specifies the time that LDP delays the withdrawal of the FEC-label binding it distributed to its neighbors when FEC is deactivated.
Values—
3 to 120

 

tunnel-down-damp-time

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

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures 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. However, it delays 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), are not immediately notified. Traffic is still blackholed because the forwarding engine NHLFE has been deprogrammed.

If the FEC gets resolved before the tunnel-down-damp-time timer expires, LDP programs the forwarding engine with the new NHLFE and performs a tunnel modify event in 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.

When there is an upper layer (user of LDP) that depends on the LDP control plane for failover detection, the label-withdrawal-delay and tunnel-down-damp-time options must be set to 0; for example, where a primary pseudowire does not have its own fast failover detection mechanism, and the node depends on the LDP tunnel down event to activate the standby PW.

The no form of this command specifies that tunnel-down events are not damped.

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

 

keepalive

Syntax 
keepalive timeout factor
no keepalive
Context 
config>router>ldp>interface-parameters>interface>ipv4
config>router>ldp>interface-parameters>ipv4
config>router>ldp>targ-session>ipv4
config>router>ldp>targ-session>peer
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

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

If no LDP messages are exchanged for the configured amount of time, 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 the LDP session is being set up, the keepalive timeout is negotiated to the lower of the two peers. When an operational value is agreed upon, the keepalive factor derives the value of the keepalive interval. The session needs to be flapped for the new settings to work.

The no form of this command at the interface level sets the timeout and factor to the values defined under the interface-parameters level.

The no form of this command at the peer level sets the timeout and factor to the values defined under the targeted-session level.

Default 

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

Table 24:  Keepalive Timeout Factor Default Values  

Context

Timeout

Factor

config>router>ldp>if-params

30

3

config>router>ldp>targ-session

40

4

config>router>ldp>if-params>if

Inherits values from interface-parameters context

config>router>ldp>targ-session>peer

Inherits values from targeted-session context

Parameters 
timeout—
Specifies the time interval, in seconds, that LDP waits before tearing down the session.
Values—
3 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

 

multicast-traffic

Syntax 
[no] multicast-traffic
Context 
config>router>ldp>interface-parameters>interface
Supported Platforms 

7210 SAS-T, 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description 

This command enables P2MP multicast traffic forwarding on the interface.

The P2MP tree branching out on the interface does not withdraw the label map from the peer session when the interface is shut down or multicast-traffic is disabled. The session may exist on multiple parallel interfaces. Only the forwarding entry is changed when the interface is shut down or multicast-traffic is disabled.

LDP may choose to egress the mLDP tree over this interface, but if multicast-traffic is disabled, the data plane does not forward traffic on this branch.

The no form of this command disables P2MP LDP multicast traffic on the interface.

Default 

multicast-traffic enable

local-lsr-id

Syntax 
local-lsr-id {system | interface}
no local-lsr-id
Context 
config>router>ldp>interface-parameters>interface>ipv4
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables the use of the address of the local LDP interface as the LSR-ID to establish a link 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 explicitly configured using the above command. The system interface must always be configured on the router or the LDP protocol will not come up on the node. However, there is no requirement to include it in any routing protocol.

At initial configuration, the LDP session to the peer will remain down while the interface is down.

If the user changes the LSR-ID on the fly between system and interface values while the LDP session is up, LDP will immediately tear down the session and attempt to re-establish it using the new LSR-ID.

If the interface used as the LSR-ID goes down, the LDP session goes down.

When the interface option is selected, the transport connection (TCP) for the link LDP session will also use the address of the local LDP interface as the transport address. If system is the value configured using the config>router>ldp>interface-parameters>interface>transport-address command, it is overridden.

The no form of this command returns to the default behavior where the system interface address is used as the LSR-ID.

Default 

system

local-lsr-id

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

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables the use of the address of a specific interface as the LSR-ID for the hello adjacency of a T-LDP session. 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. The system interface must always be configured on the router or the LDP protocol will not come up on the node. There is no requirement to include it in any routing protocol though.

At initial configuration, the T-LDP session will remain down while the specified interface is down. LDP will not try to bring it up using the system interface.

If the user changes the LSR-ID on the fly while the T-LDP session is up, LDP immediately tears down the session and attempts to establish one using the new LSR-ID, regardless of operational state of the newly specified interface.

If the interface used as the LSR-ID goes down, the T-LDP session goes down.

The user-configured LSR-ID is used exclusively for extended peer discovery to establish the T-LDP hello adjacency. It is also used as the transport address for the TCP session of the LDP 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 this command returns to the default behavior where the system interface address is used as the LSR-ID.

Default 

no local-lsr-id

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

interface-parameters

Syntax 
interface-parameters
Context 
config>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures LDP interfaces and parameters applied to LDP interfaces.

bfd-enable

Syntax 
bfd-enable
no bfd-enable
Context 
config>router>ldp>targ-session
config>router>ldp>targ-session>peer
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables the use of bi-directional forwarding (BFD) to control the state of the associated protocol interface. By enabling BFD on a given protocol interface, the state of the protocol interface is tied to the state of the BFD session between the local node and the remote node. The parameters used for the BFD are set via the BFD command under the IP interface.

The no form of this command removes BFD from the associated IGP/BGP protocol adjacency.

Default 

no bfd-enable

p2mp-ipv4

Syntax 
p2mp-ipv4 {enable | disable}
Context 
config>router>ldp>interface-params>interface>ipv4>fec-type-capability
Supported Platforms 

7210 SAS-T, 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description 

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

Parameters 
enable—
Enables IPv4 P2MP FEC capability.
disable—
Disables IPv4 P2MP FEC capability.

prefix-ipv4

Syntax 
prefix-ipv4 {enable | disable}
Context 
config>router>ldp>interface-params>interface>ipv4>fec-type-capability
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

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

Parameters 
enable—
Enables IPv4 P2MP FEC capability.
disable—
Disables IPv4 P2MP FEC capability.

hello

Syntax 
hello timeout factor
no hello
Context 
config>router>ldp>interface-parameters>interface>ipv4
config>router>ldp>interface-parameters>ipv4
config>router>ldp>targ-session>ipv4
config>router>ldp>targ-session>peer
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

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

The hold time is local to the system and sent in the hello messages to the neighbor. The hold time cannot be less than three times the hello interval.

When the LDP session is being set up, the hold down 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 session must be flapped for the new settings to operate.

The no form of this command at the targeted-session level sets the hello timeout and the hello factor to the default values.

The no form of this command, at the peer level, will set the hello timeout and the hello factor to the value defined under the targeted-session level.

Default 

Table 25 shows parameter default values for the hello command.

Table 25:  Parameter Default Values for Hello Command 

Context

Timeout

Factor

config>router>ldp>if-params

15

3

config>router>ldp>targ-session

45

3

config>router>ldp>if-params>if

Inherits values from interface-parameters context

config>router>ldp>targ-session>peer

Inherits values from targeted-session context

Parameters 
timeout—
Specifies the time interval, in seconds, that LDP waits before a neighbor down.
Values—
3 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

 

hello-reduction

Syntax 
hello-reduction {enable factor | disable}
no hello-reduction
Context 
config>router>ldp>targ-session>ipv4
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables the suppression of periodic targeted Hello messages between LDP peers once the targeted LDP session is brought up.

When this feature is enabled, the target Hello adjacency is brought up by advertising the hold-time value that the user configured in the “hello timeout” parameter for the targeted session. The LSR node will start advertising an exponentially increasing hold-time value in the Hello message as soon as the targeted LDP session to the peer is up. Each new incremented hold-time value is sent in a number of Hello messages equal to the value of the argument factor, which represents the dampening factor, before the next exponential value is advertised. This provides time for the two peers to settle on the new value. When the hold-time reaches the maximum value of 0xffff (binary 65535), the two peers will send Hello messages at a frequency of every [(65535-1)/local helloFactor] seconds for the lifetime of the targeted LDP session; for example, if the local Hello factor is 3, Hello messages will be sent every 21844 seconds.

The LSR node continues to compute the frequency of sending the Hello messages based on the minimum of its local hold-time value and the one advertised by its peer as in RFC 5036. Therefore, for the targeted LDP session to suppress the periodic Hello messages, both peers must bring their advertised hold-time to the maximum value. If one of the LDP peers does not, the frequency of the Hello messages sent by both peers will continue to be governed by the smaller of the two hold-time values.

When the user enables the hello reduction option on the LSR node while the targeted LDP session to the peer is operationally up, the change will take effect immediately. In other words, the LSR node will start advertising an exponentially increasing hold-time value in the Hello message, starting with the current configured hold-time value.

When the user disables the hello reduction option while the targeted LDP session to the peer is operationally up, the change in the hold-time from 0xffff (binary 65535) to the user-configured value for this peer takes effect immediately. The local LSR immediately advertises the value of the user-configured hold-time and does not wait until the next scheduled time to send a Hello to make sure the peer adjusts its local hold timeout value immediately.

In general, any configuration change to the parameters of the T-LDP Hello adjacency (modifying the hello adjacency Hello timeout or factor, enabling/disabling hello reduction, or modifying the hello reduction factor) will cause the LSR node to immediately trigger an updated Hello message with the updated hold-time value without waiting for the next scheduled time to send a Hello.

The no form of this command disables the hello reduction feature.

Default 

no hello-reduction

Parameters 
disable—
Disables hello reduction.
factor—
Specifies the hello reduction dampening factor.
Values—
3 to 20

 

interface

Syntax 
[no] interface ip-int-name
Context 
config>router>ldp>if-params
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables LDP on the specified IP interface.

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

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

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

bfd-enable

Syntax 
bfd-enable
no bfd-enable
Context 
config>router>ldp>interface-parameters>interface>ipv4
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables tracking of the Hello adjacency to an LDP peer using BFD.

When this command is enabled on an LDP interface, LDP registers with BFD and starts tracking the LSR ID of all peers with which it formed Hello adjacencies over that LDP interface. The LDP hello mechanism is used to determine the remote address to be used for the BFD session. The parameters used for the BFD session, that is, transmit-interval, receive-interval, and multiplier, are those configured under the IP interface in existing implementation: config>router>interface>bfd.

When multiple links exist to the same LDP peer, a Hello adjacency is established over each link and a separate BFD session is enabled on each LDP interface. If a BFD session times out on a specific link, LDP will immediately associate the LDP session with one of the remaining Hello adjacencies and trigger the LDP FRR procedures. As soon as the last Hello adjacency goes down due to BFD timing out, the LDP session goes down and the LDP FRR procedures will be triggered.

The no form of this command disables BFD on the LDP interface.

Default 

no bfd-enable

ipv4

Syntax 
ipv4
Context 
config>router>ldp>interface-parameters>interface
config>router>ldp>interface-parameters
config>router>ldp>targeted-session
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

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

transport-address

Syntax 
transport-address {interface | system}
no transport-address
Context 
config>router>ldp>interface-parameters>interface>ipv4
config>router>ldp>interface-parameters>ipv4
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures the transport address to be used when setting up LDP TCP sessions. The transport address can be configured as interface or system. 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, which 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 situation can not only happen with parallel links, but also with 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 for transport-address system, 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 match the adjacency to the session.

For any ILDP interface, as the local-lsr-id parameter is changed to interface, the transport-address configuration loses effectiveness. Since it will be ignored and the ILDP sessions will always use the relevant interface IP address as transport-address even though system is chosen.

The no form of this command at the global level sets the transport address to the default value.

The no form of this command at the interface level sets the transport address to the value defined under the global level.

Default 

system

Parameters 
interface—
Keyword to specify 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—
Keyword to specify that the system IP address is used to set up the LDP session between neighbors.

prefer-tunnel-in-tunnel

Syntax 
[no] prefer-tunnel-in-tunnel
Context 
config>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command specifies to use tunnel-in-tunnel over a simple LDP tunnel. Specifically, the user packets for LDP FECs learned over this targeted LDP session can be sent inside an RSVP LSP, which terminates on the same egress router as the destination of the targeted LDP session. The user can specify an explicit list of RSVP LSP tunnels under the targeted LDP session or LDP will perform a lookup in the TTM for the best RSVP LSP. In the former case, only the specified LSPs will be considered to tunnel LDP user packets. In the latter case, all LSPs available to the TTM and that terminate on the same egress router as this targeted LDP session will be considered. In both cases, the metric specified under the LSP configuration is used to control this selection.

The lookup in the TTM will prefer an LDP tunnel over an LDP-over-RSVP tunnel if both are available. The tunneling operates on the data plane only. Control packets of this targeted LDP session are sent over the IGP path.

3.8.2.1.3. Session Parameters Commands

session-parameters

Syntax 
session-parameters
Context 
config>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

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

peer

Syntax 
[no] peer ip-address
Context 
config>router>ldp>session-parameters
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures parameters for an LDP peer.

Parameters 
ip-address—
Specifies the IP address of the LDP peer in dotted decimal notation.

adv-adj-add-only

Syntax 
[no] adv-adj-addr-only
Context 
config>router>ldp>session-params>peer
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command provides a means for an LDP router to advertise only the local IPv4 or IPv6 interfaces it uses to establish hello adjacencies with an LDP peer. By default, when a router establishes an LDP session with a peer, it advertises in an LDP Address message the addresses of all local interfaces to allow the peer to resolve LDP FECs distributed by this router. Similarly, a router sends a Withdraw Address message to all its peers to withdraw a local address if the corresponding interface went down or was deleted.

This new option reduces CPU processing when a large number of LDP neighbors come up or go down. The new CLI option is strongly recommended in mobile backhaul networks where the number of LDP peers can be large.

The no form of this command reverts LDP to the default behavior of advertising all local interfaces.

Default 

no adv-adj-addr-only

dod-label-distribution

Syntax 
[no] dod-label-distribution
Context 
config>router>ldp>session-params>peer
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables the use of the LDP Downstream-on-Demand (DoD) label distribution procedures.

When this option is enabled, LDP sets the A-bit in the Label Initialization message when the LDP session to the peer is established. When both peers set the A-bit, they will both use the DoD label distribution method over the LDP session (RFC 5036).

This feature can only be enabled on a link-level LDP session and therefore applies to prefix labels only, not service labels.

As soon as the link LDP session comes up, the router sends a label request to its DoD peer for the FEC prefix corresponding to the peer LSR ID. The DoD peer LSR ID is found in the basic Hello discovery messages the peer used to establish the Hello adjacency with the router.

Similarly, if the router and the directly attached DoD peer enters into extended discovery and established a targeted LDP session, the router immediately sends a label request for the FEC prefix corresponding to the peer LSR ID found in the extended discovery messages.

However, the router will not advertise any <FEC, label> bindings, including the FEC of its own LSR-id, unless the DoD peer requested it using a Label Request Message.

When the DoD peer sends a label request for any FEC prefix, the router replies with a <FEC, label> binding for that prefix if the FEC was already activated on the router. If not, the router replies with a notification message containing the status code of “no route.” The router will not attempt in the latter case to send a label request to the next-hop for the FEC prefix when the LDP session to this next-hop uses the DoD label distribution mode, hence the reference to single-hop LDP DoD procedures.

As soon as the link LDP session comes up, the router sends a label request to its DoD peer for the FEC prefix corresponding to the peer LSR ID. The DoD peer LSR ID is found in the basic Hello discovery messages the peer used to establish the Hello adjacency with the router.

Similarly, if the router and the directly attached DoD peer enter into extended discovery and established a targeted LDP session, the router immediately sends a label request for the FEC prefix corresponding to the peer LSR ID found in the extended discovery messages. The peer address must be the peer LSR ID address.

The no form of this command disables the DoD label distribution with an LDP neighbor.

Default 

no dod-label-distribution

export-addresses

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

Supported on all 7210 SAS platforms as described in this document.

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 this command removes the policy from the configuration.

Default 

no export-addresses

Parameters 
policy-name—
Specifies the export prefix route policy name. Allowed values are any string up to 32 characters 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 names must already be defined.

export-prefixes

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

Supported on all 7210 SAS platforms as described in this document.

Description 

This command specifies the export route policy used to determine which prefixes received from other LDP and T-LDP peers are redistributed to this LDP peer via the LDP/T-LDP session to this peer. A prefix that is filtered out (deny) will not be exported. A prefix that is filtered in (accept) will be exported.

If no export policy is specified, all FEC prefixes learned will be exported to this LDP peer. This policy is applied in addition to the global LDP policy and targeted session policy.

Policies are configured in the config>router>policy-options context. A maximum of five policy names can be specified. The peer address must be the peer LSR ID address.

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

Default 

no export-prefixes

Parameters 
policy-name—
Specifies the export prefix route policy name. Allowed values are any string up to 32 characters 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 names must already be defined.

fec-limit

Syntax 
fec-limit limit [log-only] [threshold percentage]
no fec-limit
Context 
config>router>ldp>session-params>peer
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures a limit on the number of FECs that an LSR will accept from a specific peer and add into the LDP label database. The limit applies to the aggregate count of all FEC types including service FEC. When the limit is reached, any FEC received will be released back to the peer. This behavior is different from the per-peer import policy, which will still accept the FEC into the label database but will not resolve it.

When the FEC limit for a peer is reached, the LSR performs the following actions:

  1. generates a trap and a syslog message
  2. generates an LDP notification message with the LSR overload status TLV for each LDP FEC type, including service FEC, to this peer only if this peer advertised support for the LSR overload sub-TLV via the LSR Overload Protection Capability TLV at session initialization
  3. releases, with LDP Status Code of "No_Label_Resources", any new FEC, including service FEC, from this peer that exceeds the limit

If a legitimate FEC is released back to a peer while the FEC limit was exceeded, the user must have a means to replay that FEC back to the router LSR after the condition clears. This is done automatically if the peer is an SR OS-based router and supports the LDP overload status TLV (SR OS 11.0.R5 and higher). Third-party peer implementations must support the LDP overload status TLV or provide a manual command to replay the FEC.

The threshold percentage option allows to set a threshold value when a trap and a syslog message are generated as a warning to the user in addition to when the limit is reached. The default value for the threshold when not configured is 90%.

The log-only option causes a trap and syslog message to be generated when reaching the threshold and limit. However, LDP labels are not released back to the peer.

If the user decreases the limit value such that it is lower than the current number of FECs accepted from the peer, the LDP LSR raises the trap for exceeding the limit. In addition, it will set overload for peers that signaled support for the LDP overload protection capability TLV. However, no existing resolved FECs from the peer that does not support the overload protection capability TLV should be deprogrammed or released.

A different trap is released when crossing the threshold in the upward direction, when reaching the FEC limit, and when crossing the threshold in the downward direction. However the same trap will not be generated more often than two minutes apart if the number of FECs oscillates around the threshold or the FEC limit.

The no form of this command disables FEC limiting.

Default 

no fec-limit

Parameters 
limit—
Specifies the aggregate count of FECs of all types that can be accepted from this LDP peer.
Values—
1 to 4294967295

 

log-only—
Keyword to enable generation of a syslog message when the threshold and limit has been reached. However, LDP labels are not released back to the peer.
percentage—
Specifies the threshold value, as a percentage, that triggers a warning and syslog message and trap to be sent.
Values—
1 to 100

 

fec-type-capability

Syntax 
fec-type-capability
Context 
config>router>ldp>session-params>peer
config>router>ldp>interface-params>interface>ipv4
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables the context to configure FEC type capabilities for the session or interface.

p2mp

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

7210 SAS-T, 7210 SAS-Mxp, 7210 SAS-R6, and 7210 SAS-R12

Description 

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

Default 

p2mp disable

Parameters 
enable—
Keyword to enable P2MP FEC capability for the session.
disable—
Keyword to disable P2MP FEC capability for the session.

prefix-ipv4

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

Supported on all 7210 SAS platforms as described in this document.

Description 

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

Default 

prefix-ipv4 enable

Parameters 
enable—
Keyword to enable IPv4 prefix FEC capability on the session or interface.
disable—
Keyword to disable IPv4 prefix FEC capability on the session or interface.

fec129-cisco-interop

Syntax 
[no] fec129-cisco-interop
Context 
config>router>ldp>session-params>peer
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures whether LDP will provide translation between non-compliant FEC 129 Cisco formats. Peer LDP sessions must be manually configured towards the non-compliant Cisco PEs.

When enabled, Cisco non-compliant format is used to send and interpret received label release messages. The FEC129 SAII and TAII fields will be reversed.

The no form of this command disables use and support of Cisco non-compliant forms. The peer address must be the peer LSR ID address.

Default 

no fec129-cisco-interop

import-prefixes

Syntax 
import-prefixes policy-name [policy-name ... (up to 5 max)]
no import-prefixes
Context 
config>router>ldp>session-params>peer
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures the import FEC prefix policy to determine which prefixes received from this LDP peer are imported and installed by LDP on this node. If resolved, these FEC prefixes are redistributed to other LDP and T-LDP peers. A FEC prefix that is filtered out (deny) will not be imported. A FEC prefix that is filtered in (accept) will be imported.

If no import policy is specified, the node will import all prefixes received from this LDP/T-LDP peer. This policy is applied in addition to the global LDP policy and targeted session policy. Policies are configured in the config>router>policy-options context. A maximum of five policy names can be specified. The specified names must already be defined. The peer address must be the peer LSR ID address.

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

Default 

no import-prefixes

Parameters 
policy-name—
Specifies the import prefix route policy name. Allowed values are any string up to 32 characters 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.

pe-id-mac-flush-interop

Syntax 
[no] pe-id-mac-flush-interop
Context 
config>router>ldp>session-params>peer
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables the addition of the PE-ID TLV in the LDP MAC withdrawal (mac-flush) message, under certain conditions, and modifies the mac-flush behavior for interoperability with other vendors that do not support the flush-all-from-me vendor-specific TLV. This flag can be enabled on a per LDP peer basis and allows the flush-all-from-me interoperability with other vendors. When the pe-id-mac-flush-interop flag is enabled for a given peer, the current mac-flush behavior is modified in terms of mac-flush generation, mac-flush propagation and behavior upon receiving a mac-flush.

The mac-flush generation will be changed depending on the type of event and according to the following rules.

  1. Any all-from-me mac-flush event will trigger a mac-flush all-but-mine message (RFC 4762 compliant format) with the addition of a PE-ID TLV. The PE-ID TLV contains the IP address of the sending PE.
  2. Any all-but-mine mac-flush event will trigger a mac-flush all-but-mine message without the addition of the PE-ID TLV, as long as the source spoke-SDP is not part of an end-point.
  3. Any all-but-mine mac-flush event will trigger a mac-flush all-but-mine message with the addition of the PE-ID TLV, if the source spoke-SDP is part of an end-point and the spoke-SDP goes from the down/standby state to the active state. In this case, the PE-ID TLV will contain the IP address of the PE to which the previous active spoke-SDP was connected.

Any other case will follow the existing mac-flush procedures.

When the pe-id-mac-flush-interop flag is enabled for a specific LDP peer, the mac-flush ingress processing is modified according to the following rules.

  1. Any received all-from-me mac-flush will follow the existing mac-flush all-from-me rules, regardless of the existence of the PE-ID.
  2. Any received all-but-mine mac-flush will take into account the received PE-ID, that is, all the MAC addresses associated to the PE-ID will be flushed. If the PE-ID is not included, the MAC addresses associated to the sending PE will be flushed.
  3. Any other case will follow the existing mac-flush procedures.

When a mac-flush message has to be propagated (for an ingress SDP-binding to an egress SDP-binding) and the pe-id-mac-flush-interop flag is enabled for the ingress and egress TLDP peers, the following behavior is observed.

  1. If the ingress and egress bindings are spoke-SDP, the PE will propagate the mac-flush message with its own PE-ID.
  2. If the ingress binding is an spoke-SDP and the egress binding a mesh-SDP, the PE will propagate the mac-flush message without modifying the PE-ID included in the PE-ID TLV.
  3. If the ingress binding is a mesh-SDP and the egress binding a spoke-SDP, the PE will propagate the mac-flush message with its own PE-ID.
  4. When ingress and egress bindings are mesh-SDP, the mac-flush message is never propagated. This is the behavior regardless of the pe-id-mac-flush-interop flag configuration.

The PE-ID TLV is never added when generating a mac-flush message on a B-VPLS if the send-bvpls-flush command is enabled in the I-VPLS. In the same way, no PE-ID is added when propagating mac-flush from a B-VPLS to a I-VPLS when the propagate-mac-flush-from-bvpls command is enabled. Mac-flush messages for peers within the same I-VPLS or within the same B-VPLS domain follow the preceding procedures.

Default 

no pe-id-mac-flush-interop

3.8.2.1.4. Targeted Session Commands

targeted-session

Syntax 
targeted-session
Context 
config>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

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.

disable-targeted-session

Syntax 
[no] disable-targeted-session
Context 
config>router>ldp>targ-session
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

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 this command enables the set up of any targeted sessions.

Default 

no disable-targeted-session

peer

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

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures parameters for an LDP peer.

Parameters 
ip-address—
Specifies the IP address of the LDP peer in dotted decimal notation.

tunneling

Syntax 
[no] tunneling
Context 
config>router>ldp>targ-session>peer
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables LDP over tunnels.

The no form of this command disables tunneling.

Default 

no tunneling

lsp

Syntax 
[no] lsp lsp-name
Context 
config>router>ldp>targ-session>tunneling
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

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

It is not necessary to specify any RSVP LSP in this context unless there is a need to restrict the tunneling to selected LSPs. All RSVP 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 configure>router>mpls>lsp context.

Default 

no tunneling

3.8.2.1.5. TCP Session Parameters Commands

tcp-session-parameters

Syntax 
tcp-session-parameters
Context 
config>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

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

peer-transport

Syntax 
peer-transport ip-address
no peer-transport
Context 
config>router>ldp>tcp-session-parameters
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures the peer transport address, which is the destination address of the TCP connection, and not the address corresponding to the LDP LSR ID of the peer.

Default 

no peer-transport

Parameters 
ip-address—
Specifies the IPv4 or IPv6 address of the TCP connection to the LDP peer.
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

 

auth-keychain

Syntax 
auth-keychain name
Context 
config>router>ldp>tcp-session-params>peer-transport
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures the TCP authentication keychain to use for the session.

Parameters 
name—
Specifies the name of the keychain, up to 32 characters, to use for the specified TCP session or sessions. This keychain allows the rollover of authentication keys during the lifetime of a session. The peer address must be the TCP session transport address.

authentication-key

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

Supported on all 7210 SAS platforms as described in this document.

Description 

This command specifies the authentication key to be used between LDP peers before establishing sessions. Authentication uses the MD-5 message-based digest. The peer address must be the TCP session transport address.

The no form of this command disables authentication.

Default 

none

Parameters 
authentication-key—
Specifies the authentication key. The key can be any combination of ASCII characters up to 16 characters (unencrypted). If spaces are used in the string, enclose the entire string in quotation marks (“ ”).
hash-key—
Specifies the hash key. The key can be any combination of up 33 alphanumeric characters. If spaces are used in the string, enclose the entire string in quotation marks (“ ”).

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

hash—
Keyword to enter the key in an encrypted form. If the hash keyword is not used, the key is assumed to be in a non-encrypted, clear text form. For security, all keys are stored in encrypted form in the configuration file with the hash parameter specified.
hash2—
Keyword to enter the key in a more complex encrypted form. If the hash2 parameter is not used, the less encrypted hash form is assigned.

path-mtu-discovery

Syntax 
[no] path-mtu-discovery
Context 
config>router>ldp>tcp-session-params>peer-transport
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables path MTU discovery for the associated TCP connections. When enabled, the MTU for the associated TCP session is initially set to the egress interface MTU. The DF bit is also set so that if a router along the path of the TCP connection cannot handle a packet of a particular size without fragmenting, it sends back an ICMP message to set the path MTU for the specific session to a lower value that can be forwarded without fragmenting.

Default 

no path-mtu-discovery

ttl-security

Syntax 
ttl-security min-ttl-value
no ttl-security
Context 
config>router>ldp>tcp-session-params>peer-transport
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures TTL security parameters for incoming packets. When the feature is enabled, BGP/LDP will accept incoming IP packets from a peer only if the TTL value in the packet is greater than or equal to the minimum TTL value configured for that peer. The peer address must be the TCP session transport address.

The no form of this command disables TTL security.

Default 

no ttl-security

Parameters 
min-ttl-value—
Specifies the minimum TTL value for an incoming packet.
Values—
1 to 255

 

3.8.2.2. Show LDP Commands

bindings

Syntax 
bindings active [fec-type prefixes] [prefix ip-prefix/mask] [egress-nh ip-address | egress-if port-id | egress-lsp tunnel-id] [summary]
bindings active active-ecmp
bindings active [fec-type p2mp] [p2mp-id identifier root ip-address] [egress-nh ip-address | egress-if port-id | egress-lsp tunnel-id] [summary]
bindings active [fec-type p2mp] [source ip-address] group mcast-address root ip-address]] [egress-nh ip-address] | egress-if port-id | egress-lsp tunnel-id] [summary]
bindings active prefixes [family] [{summary | detail}] [egress-if port-id]
bindings active prefixes [family] [{summary | detail}] [egress-lsp tunnel-id]
bindings active prefixes [egress-nh ip-address] [family] [{summary | detail}]
bindings prefix ip-prefix/ip-prefix-length [{summary | detail}] [egress-if port-id]
bindings prefix ip-prefix/ip-prefix-length [{summary | detail}] [egress-lsp tunnel-id]
bindings prefix ip-prefix/ip-prefix-length [egress-nh ip-address] [{summary | detail}]
bindings fec-type {prefixes|services} [session ip-addr 4c5]] [summary| detail]
bindings fec-type p2mp [session ip-addr[:label-space]] [summary|detail]
bindings fec-type p2mp p2mp-id identifier root ip-address [session ip-addr[:label-space]] [summary|detail]
bindings p2mp-id identifier root ip-address [detail]
bindings fec-type p2mp root ip-address [session ip-addr[:label-space]] [summary|detail] source ip-address group mcast-address
bindings [fec-type fec-type [detail]] [session ip-addr[:label-space]]
bindings label-type start-label [end-label]
bindings {prefix ip-prefix/mask [detail]} [session ip-addr[:label-space]]
bindings prefixes prefix ip-prefix/ip-prefix-length [{summary | detail}] [session ip-addr[:label-space]]
bindings prefixes [family] [{summary | detail}] [session ip-addr[:label-space]]
bindings active [prefix ip-prefix/mask]
bindings service-id service-id [detail]
bindings vc-type vc-type [{vc-id vc-id | agi agi} [session ip-addr[:lab el-space]]
Context 
show>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command displays the contents of the label information base.

Parameters 
family—
Specifies the family type.
Values—
ipv4, ipv6

 

fec-type fec-type—
Specify the kind of FEC that the label mapping, withdraw, release and request messages are referring to.
summary—
Displays information in a summarized format.
detail—
Displays detailed information.
active-ecmp—
Displays the LDP active bindings with ECMP routes that have been successfully installed in the hardware FIB.
session ip-addr —
Displays configuration information about LDP sessions.
ip-prefix—
Specify information for the specified IP prefix and mask length. Host bits must be 0.
ip-prefix-length—
Specifies the length of the IP prefix.
label-space—
Specifies the label space identifier that the router is advertising on the interface.
Values—
0 to 65535

 

mask—
Specifies the 32-bit address mask used to indicate the bits of an IP address that are being used for the subnet address.
Values—
0 to 32

 

port-id—
Specifies the port ID.
tunnel-id—
Specifies the tunnel ID.
ip-address—
Specifies the egress IP address.
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

 

vc-type—
Specifies the VC type to display.
Values—
ethernet, vlan, mirror

 

vc-id—
Specifies the VC ID to display.
Values—
1 to 4294967295

 

group multicast-address—
Displays the P2MP group multicast address bindings.
Values—
a.b.c.d

 

p2mp-identifier—
Displays LDP active P2MP identifier bindings.
service-id—
Specifies the service ID number to display.
Values—
1 to 2147483647

 

Output 

The following outputs are examples of LDP bindings information, and Table 26 describes the output fields.

Sample Output
A:7210SAS# show router ldp bindings 
 
===============================================================================
LDP LSR ID: 2.2.2.2
===============================================================================
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
        BU - Alternate Next-hop for Fast Re-Route, TLV - (Type, Length: Value)
===============================================================================
LDP Prefix Bindings
===============================================================================
Prefix              IngLbl       EgrLbl     EgrIntf/         EgrNextHop
   Peer                                     LspId            
-------------------------------------------------------------------------------
10.1.1.1/32            --         262143     1/1/3:12         10.11.12.1
   1.1.1.1                                                      
10.1.1.1/32          131069U      131069       --               --
   6.6.6.6                                                      
10.2.2.2/32          131071U        --         --               --
   1.1.1.1                                                      
10.2.2.2/32          131071U        --         --               --
   6.6.6.6                                                      
.......... 
10.6.6.6/32            --         131071     1/1/9:26         10.11.26.6
   6.6.6.6                                                      
-------------------------------------------------------------------------------
No. of Prefix Bindings: 10
===============================================================================
                                      
===============================================================================
LDP Generic P2MP Bindings
===============================================================================
P2MP-Id            RootAddr                                      
Interface          Peer            IngLbl    EgrLbl EgrIntf/    EgrNextHop
                                                    LspId       
-------------------------------------------------------------------------------
8193               10.1.1.1                                       
73732              1.1.1.1         131065U     --     --          --
                                                                 
8193               10.2.2.2                                       
73728              1.1.1.1           --      262139 1/1/3:12    10.11.12.1
                                                                 
88194              10.6.6.6                                       
73738              6.6.6.6         131054U     --     --          --
                                                                 
8195               10.6.6.6                                       
73739              6.6.6.6         131053U     --     --          --
                                                                 
-------------------------------------------------------------------------------
No. of Generic P2MP Bindings: 13
===============================================================================
 
===============================================================================
LDP In-Band-SSM P2MP Bindings
===============================================================================
Source                                                           
Group                                                            
Interface          RootAddr                                      
                   Peer            IngLbl    EgrLbl EgrIntf/    EgrNextHop
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
 
===============================================================================
LDP Service FEC 128 Bindings
===============================================================================
Type   VCId       SvcId      SDPId    Peer            IngLbl  EgrLbl  LMTU RMTU
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
 
===============================================================================
LDP Service FEC 129 Bindings
===============================================================================
AGI                                   SAII                                  
                                      TAII                                  
Type              SvcId      SDPId    Peer            IngLbl  EgrLbl  LMTU RMTU
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
No Matching Entries Found             
===============================================================================
A:7210SAS#  
 
A:7210SAS# show router ldp bindings detail
 
===============================================================================
LDP P2MP Bindings
===============================================================================
-------------------------------------------------------------------------------
P2MP Type          : 1                     P2MP-Id           : 100
-------------------------------------------------------------------------------
Ing Lbl            : 131065                Peer              : 10.20.1.1
 
 
Egr Lbl            : 131069   Peer              : 10.20.1.2
Egr Int/LspId      : 1/1/2   EgrNextHop        : 10.10.2.2
Egr. Flags         : None                  Ing. Flags        : None
 
Egr Lbl            : 131067   Peer              : 10.20.1.3
Egr Int/LspId      : 1/1/3   EgrNextHop        : 10.10.3.2
Egr. Flags         : None                  Ing. Flags        : None
 
Egr Lbl            : 131064   Peer              : 10.20.1.4
Egr Int/LspId      : 1/1/3   EgrNextHop        : 10.10.4.2
Egr. Flags         : None                  Ing. Flags        : None
 
-------------------------------------------------------------------------------
P2MP Type          : 1                     P2MP-Id           : 200
-------------------------------------------------------------------------------
Ing Lbl            : 131066                Peer              : 10.20.1.1
 
 
Egr Lbl            : 131063   Peer              : 10.20.1.2
Egr Int/LspId      : 1/1/2   EgrNextHop        : 10.10.2.2
Egr. Flags         : None                  Ing. Flags        : None
 
Egr Lbl            : 131068   Peer              : 10.20.1.3
Egr Int/LspId      : 1/1/3   EgrNextHop        : 10.10.3.2
Egr. Flags         : None                  Ing. Flags        : None
 
===============================================================================
A:7210SAS#  
 
 
 
A:7210SAS# show router ldp bindings p2mp-id 8193 root 10.2.2.2 detail 
 
===============================================================================
LDP LSR ID: 10.2.2.2
===============================================================================
Legend: U - Label In Use,  N - Label Not In Use, W - Label Withdrawn
        WP - Label Withdraw Pending, BU - Alternate Next-hop for Fast Re-Route
===============================================================================
LDP Generic P2MP Bindings
===============================================================================
-------------------------------------------------------------------------------
P2MP Type          : 1                   P2MP-Id             : 8193
                                         Root-Addr           : 10.2.2.2
-------------------------------------------------------------------------------
Ing Lbl            :   --                Peer                : 1.1.1.1
Egr Lbl            : 262139              
Egr Int/LspId      : 1/1/3:12
EgrNextHop         : 10.11.12.1          
Egr. Flags         : None                Ing. Flags          : None
Metric             : 1                   Mtu                 : 1560
-------------------------------------------------------------------------------
P2MP Type          : 1                   P2MP-Id             : 8193
                                         Root-Addr           : 10.2.2.2
-------------------------------------------------------------------------------
Ing Lbl            :   --                Peer                : 6.6.6.6
Egr Lbl            : 131059              
Egr Int/LspId      : 1/1/9:26
EgrNextHop         : 10.11.26.6          
Egr. Flags         : None                Ing. Flags          : None
Metric             : 1                   Mtu                 : 1560
===============================================================================
No. of Generic P2MP Bindings: 2
===============================================================================
A:7210SAS# 
 
 
A:7210SAS# show router ldp bindings active fec-type p2mp 
 
===============================================================================
LDP Generic P2MP Bindings (Active)
===============================================================================
P2MP-Id         RootAddr                                         
Interface       Op              IngLbl    EgrLbl EgrIntf/       EgrNextHop
                                                 LspId          
-------------------------------------------------------------------------------
8193            10.1.1.1                                          
73731           Pop             131064      --     --             --
                                                                 
8193            10.1.1.1                                          
8195            10.6.6.6                                          
73738           Pop             131058      --     --             --
                                                                 
-------------------------------------------------------------------------------
No. of Generic P2MP Active Bindings: 15
===============================================================================
 
===============================================================================
LDP In-Band-SSM P2MP Bindings (Active)
===============================================================================
Source                                                           
Group                                                            
Interface       RootAddr                                         
                Op              IngLbl    EgrLbl EgrIntf/       EgrNextHop
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
A:7210SAS# 
 
 
 
 
 
A:7210SAS# show router ldp bindings fec-type p2mp detail 
 
===============================================================================
LDP LSR ID: 2.2.2.2
===============================================================================
Legend: U - Label In Use,  N - Label Not In Use, W - Label Withdrawn
        WP - Label Withdraw Pending, BU - Alternate Next-hop for Fast Re-Route
===============================================================================
LDP Generic P2MP Bindings
===============================================================================
-------------------------------------------------------------------------------
P2MP Type          : 1                   P2MP-Id             : 8193
                                         Root-Addr           : 10.1.1.1
-------------------------------------------------------------------------------
Ing Lbl            : 131053U             Peer                : 6.6.6.6
Egr Lbl            :   --                
Egr Int/LspId      :   --
EgrNextHop         :   --                
Egr. Flags         : None                Ing. Flags          : None
===============================================================================
No. of Generic P2MP Bindings: 13
===============================================================================
 
===============================================================================
LDP In-Band-SSM P2MP Bindings
===============================================================================
No Matching Entries Found
===============================================================================
A:7210SAS# 
 
 
A:7210SAS# show router ldp bindings p2mp-id 8193 root 10.2.2.2 detail 
 
===============================================================================
LDP LSR ID: 10.2.2.2
===============================================================================
Legend: U - Label In Use,  N - Label Not In Use, W - Label Withdrawn
        WP - Label Withdraw Pending, BU - Alternate Next-hop for Fast Re-Route
===============================================================================
LDP Generic P2MP Bindings
===============================================================================
-------------------------------------------------------------------------------
P2MP Type          : 1                   P2MP-Id             : 8193
                                         Root-Addr           : 10.2.2.2
-------------------------------------------------------------------------------
Ing Lbl            :   --                Peer                : 1.1.1.1
Egr Lbl            : 262139              
Egr Int/LspId      : 1/1/3:12
EgrNextHop         : 10.11.12.1          
Egr. Flags         : None                Ing. Flags          : None
Metric             : 1                   Mtu                 : 1560
-------------------------------------------------------------------------------
P2MP Type          : 1                   P2MP-Id             : 8193
                                         Root-Addr           : 10.2.2.2
-------------------------------------------------------------------------------
Ing Lbl            :   --                Peer                : 6.6.6.6
Egr Lbl            : 131059              
Egr Int/LspId      : 1/1/9:26
EgrNextHop         : 10.11.26.6          
Egr. Flags         : None                Ing. Flags          : None
Metric             : 1                   Mtu                 : 1560
===============================================================================
No. of Generic P2MP Bindings: 2
===============================================================================
A:7210SAS# 
 

The following outputs pertain to unicast FEC resolved over an unnumbered interface.

A:7210SAS# # show router ldp bindings active 
===============================================================================
Legend:  (S) - Static       (M) - Multi-homed Secondary Support
         (B) - BGP Next Hop (BU) - Alternate Next-hop for Fast Re-Route
===============================================================================
LDP Prefix Bindings (Active)
===============================================================================
Prefix                  Op   IngLbl    EgrLbl    EgrIntf/LspId  EgrNextHop
-------------------------------------------------------------------------------
10.20.1.1/32            Push   --      262143    1/1/1          Unnumbered
10.20.1.1/32            Swap 262138    262143    1/1/1          Unnumbered
10.20.1.2/32            Push   --      262143    lag-1          Unnumbered
10.20.1.2/32            Swap 262139    262143    lag-1          Unnumbered
10.20.1.3/32            Pop  262143      --        --             --
10.20.1.4/32            Push   --      262143    2/1/2          Unnumbered
10.20.1.4/32            Swap 262142    262143    2/1/2          Unnumbered
10.20.1.5/32            Push   --      262143    2/1/1          Unnumbered
10.20.1.5/32            Swap 262141    262143    2/1/1          Unnumbered
10.20.1.6/32            Push   --      262140    2/1/2          Unnumbered
10.20.1.6/32            Swap 262140    262140    2/1/2          Unnumbered
-------------------------------------------------------------------------------
No. of Prefix Active Bindings: 11
===============================================================================
A:7210SAS# 
A:7210SAS# show router ldp bindings 
===============================================================================
LDP LSR ID: 10.20.1.3
===============================================================================
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 Prefix Bindings
===============================================================================
Prefix              IngLbl       EgrLbl     EgrIntf/         EgrNextHop
   Peer                                     LspId            
-------------------------------------------------------------------------------
10.20.1.1/32          --         262143     1/1/1            Unnumbered
   10.20.1.1                                                    
10.20.1.1/32        262138U      262142       --               --
   10.20.1.2                                                    
10.20.1.1/32        262138U      262138       --               --
   10.20.1.4                                                    
10.20.1.1/32        262138U      262138       --               --
   10.20.1.5                                                    
10.20.1.2/32        262139U      262142       --               --
   10.20.1.1                                                    
10.20.1.2/32          --         262143     lag-1            Unnumbered
   10.20.1.2                                                    
10.20.1.2/32        262139U      262139       --               --
   10.20.1.4                                                    
10.20.1.2/32        262139U      262139       --               --
   10.20.1.5                                                    
10.20.1.3/32        262143U        --         --               --
   10.20.1.1                                                    
10.20.1.3/32        262143U        --         --               --
   10.20.1.2                                                    
10.20.1.3/32        262143U        --         --               --
   10.20.1.4                                                    
10.20.1.3/32        262143U        --         --               --
   10.20.1.5                                                    
10.20.1.4/32        262142U      262141       --               --
   10.20.1.1                                                    
10.20.1.4/32        262142U      262141       --               --
   10.20.1.2                                                    
10.20.1.4/32          --         262143     2/1/2            Unnumbered
   10.20.1.4                                                    
10.20.1.4/32        262142U      262141       --               --
   10.20.1.5                                                    
10.20.1.5/32        262141U      262138       --               --
   10.20.1.1                                                    
10.20.1.5/32        262141U      262139       --               --
   10.20.1.2                                                    
10.20.1.5/32        262141U      262141       --               --
   10.20.1.4                                                    
10.20.1.5/32          --         262143     2/1/1            Unnumbered
   10.20.1.5                                                    
10.20.1.6/32        262140U      262140       --               --
   10.20.1.1                                                    
10.20.1.6/32        262140U      262138       --               --
   10.20.1.2                                                    
10.20.1.6/32        262140N      262140     2/1/2            Unnumbered
   10.20.1.4                                                    
10.20.1.6/32        262140U      262140       --               --
   10.20.1.5                                                    
-------------------------------------------------------------------------------
No. of Prefix Bindings: 24
===============================================================================
A:7210SAS#  
 
 
A:7210SAS# show router ldp bindings detail
 
===============================================================================
LDP LSR ID: 10.20.1.3
===============================================================================
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 Prefix Bindings
===============================================================================
-------------------------------------------------------------------------------
Prefix             : 10.20.1.1/32        
-------------------------------------------------------------------------------
Ing Lbl            :   --                Peer                : 10.20.1.1
Egr Lbl            : 262143              
Egr Int/LspId      : 1/1/1
EgrNextHop         : Unnumbered          
Egr. Flags         : None                Ing. Flags          : None
Egr If Name        : ip-10.10.2.3
Metric             : 1000                Mtu                 : 1500
-------------------------------------------------------------------------------
Prefix             : 10.20.1.1/32        
-------------------------------------------------------------------------------
Ing Lbl            : 262138U             Peer                : 10.20.1.2
Egr Lbl            : 262142              
Egr Int/LspId      :   --
EgrNextHop         :   --                
Egr. Flags         : None                Ing. Flags          : None
Egr If Name        : n/a
-------------------------------------------------------------------------------
Prefix             : 10.20.1.1/32        
-------------------------------------------------------------------------------
Ing Lbl            : 262138U             Peer                : 10.20.1.4
Egr Lbl            : 262138              
Egr Int/LspId      :   --
EgrNextHop         :   --                
Egr. Flags         : None                Ing. Flags          : None
Egr If Name        : n/a
-------------------------------------------------------------------------------
Prefix             : 10.20.1.1/32        
-------------------------------------------------------------------------------
Ing Lbl            : 262138U             Peer                : 10.20.1.5
Egr Lbl            : 262138              
Egr Int/LspId      :   --
EgrNextHop         :   --                
Egr. Flags         : None                Ing. Flags          : None
Egr If Name        : n/a
-------------------------------------------------------------------------------
Prefix             : 10.20.1.2/32        
-------------------------------------------------------------------------------
Ing Lbl            : 262139U             Peer                : 10.20.1.1
Egr Lbl            : 262142              
Egr Int/LspId      :   --
EgrNextHop         :   --                
Egr. Flags         : None                Ing. Flags          : None
Egr If Name        : n/a
-------------------------------------------------------------------------------
 
 
A:7210SAS# show router ldp session local-addresses 
===============================================================================
LDP Session Local-Addresses
===============================================================================
-------------------------------------------------------------------------------
Session with Peer 10.20.1.2:0, Local 10.20.1.3:0
-------------------------------------------------------------------------------
Sent Addresses: 10.1.1.1        10.10.12.3      10.10.22.3      10.20.1.3
                10.180.2.3      10.180.3.3      10.180.5.3      10.180.11.3
                10.181.2.3      10.181.3.3      10.181.5.3      10.181.11.3
                10.182.2.3      10.182.3.3      10.182.5.3      10.182.11.3
 
Recv Addresses: 10.2.2.2        10.10.12.2      10.20.1.2       10.180.1.2
                10.180.3.2      10.180.4.2      10.181.1.2      10.181.3.2
                10.181.4.2      10.182.1.2      10.182.3.2      10.182.4.2
-------------------------------------------------------------------------------
Session with Peer 10.20.1.4:0, Local 10.20.1.3:0
-------------------------------------------------------------------------------
Sent Addresses: 10.1.1.1        10.10.12.3      10.10.22.3      10.20.1.3
                10.180.2.3      10.180.3.3      10.180.5.3      10.180.11.3
                10.181.2.3      10.181.3.3      10.181.5.3      10.181.11.3
                10.182.2.3      10.182.3.3      10.182.5.3      10.182.11.3
 
Recv Addresses: 10.10.22.4      10.20.1.4       10.180.4.4      10.180.6.4
                10.180.9.4      10.180.11.4     10.181.4.4      10.181.6.4
                10.181.9.4      10.181.11.4     10.182.4.4      10.182.6.4
                10.182.9.4      10.182.11.4     
-------------------------------------------------------------------------------
Session with Peer 10.20.1.5:0, Local 10.20.1.3:0
-------------------------------------------------------------------------------
Sent Addresses: 10.1.1.1        10.10.12.3      10.10.22.3      10.20.1.3
                10.180.2.3      10.180.3.3      10.180.5.3      10.180.11.3
                10.181.2.3      10.181.3.3      10.181.5.3      10.181.11.3
                10.182.2.3      10.182.3.3      10.182.5.3      10.182.11.3
 
Recv Addresses: 10.20.1.5       10.180.5.5      10.180.6.5      10.180.10.5
                10.181.5.5      10.181.6.5      10.181.10.5     10.182.5.5
                10.182.6.5      10.182.10.5     
===============================================================================
A:7210SAS# 

The following outputs pertain to multicast P2MP FEC resolved over an unnumbered interface.

Note:

P2MP LSPs are only supported on 7210 SAS-Mxp, 7210 SAS-R6, 7210 SAS-R12, and 7210 SAS-T.

A:7210SAS# show router ldp bindings active fec-type p2mp 
 
===============================================================================
LDP Generic P2MP Bindings (Active)
===============================================================================
P2MP-Id         RootAddr                                         
Interface       Op              IngLbl    EgrLbl    EgrIntf/    EgrNextHop
                                                    LspId       
-------------------------------------------------------------------------------
1               10.20.1.3                                        
73728           Push              --      262142    1/1/2:0     Unnumbered
                                                                 
1               10.20.1.3                                        
73728           Push              --      262137    2/1/2:0     Unnumbered
                                                                 
2               10.20.1.3                                        
73729           Push              --      262141    1/1/2:0     Unnumbered
                                                                 
2               10.20.1.3                                        
73729           Push              --      262136    2/1/2:0     Unnumbered
                                                                 
3               10.20.1.3                                        
73730           Push              --      262140    1/1/2:0     Unnumbered
                                                                 
3               10.20.1.3                                        
73730           Push              --      262135    2/1/2:0     Unnumbered
                                                                 
4               10.20.1.3                                        
73731           Push              --      262139    1/1/2:0     Unnumbered
                                                                 
4               10.20.1.3                                        
73731           Push              --      262134    2/1/2:0     Unnumbered
===============================================================================
A:7210SAS# 
 
 
A:7210SAS# show router ldp bindings fec-type p2m 
===============================================================================
LDP LSR ID: 10.20.1.3
===============================================================================
Legend: U - Label In Use,  N - Label Not In Use, W - Label Withdrawn
        WP - Label Withdraw Pending, BU - Alternate For Fast Re-Route
===============================================================================
LDP Generic P2MP Bindings
===============================================================================
P2MP-Id            RootAddr                                      
Interface          Peer            IngLbl    EgrLbl EgrIntf/    EgrNextHop
                                                    LspId       
-------------------------------------------------------------------------------
1                  10.20.1.3                                     
73728              10.20.1.2         --      262142 1/1/2:0     Unnumbered
                                                                 
1                  10.20.1.3                                     
73728              10.20.1.4         --      262137 2/1/2:0     Unnumbered
                                                                 
2                  10.20.1.3                                     
73729              10.20.1.2         --      262141 1/1/2:0     Unnumbered
                                                                 
2                  10.20.1.3                                     
73729              10.20.1.4         --      262136 2/1/2:0     Unnumbered
                                                                 
3                  10.20.1.3                                     
73730              10.20.1.2         --      262140 1/1/2:0     Unnumbered
                                                                 
3                  10.20.1.3                                     
73730              10.20.1.4         --      262135 2/1/2:0     Unnumbered
                                                                 
4                  10.20.1.3                                     
73731              10.20.1.2         --      262139 1/1/2:0     Unnumbered
                                                                 
4                  10.20.1.3                                     
73731              10.20.1.4         --      262134 2/1/2:0     Unnumbered
===============================================================================
A:7210SAS# 
 
 
A:7210SAS# show router ldp bindings fec-type p2mp detail 
===============================================================================
LDP LSR ID: 10.20.1.3
===============================================================================
Legend: U - Label In Use,  N - Label Not In Use, W - Label Withdrawn
        WP - Label Withdraw Pending, BU - Alternate For Fast Re-Route
===============================================================================
LDP Generic P2MP Bindings
===============================================================================
-------------------------------------------------------------------------------
P2MP Type          : 1                   P2MP-Id             : 1
                                         Root-Addr           : 10.20.1.3
-------------------------------------------------------------------------------
Ing Lbl            :   --                Peer                : 10.20.1.2
Egr Lbl            : 262142              
Egr Int/LspId      : 1/1/2:0
EgrNextHop         : Unnumbered          
Egr. Flags         : None                Ing. Flags          : None
Egr If Name        : ip-10.180.3.3
Metric             : 1                   Mtu                 : 1496
-------------------------------------------------------------------------------
P2MP Type          : 1                   P2MP-Id             : 1
                                         Root-Addr           : 10.20.1.3
-------------------------------------------------------------------------------
Ing Lbl            :   --                Peer                : 10.20.1.4
Egr Lbl            : 262137              
Egr Int/LspId      : 2/1/2:0
EgrNextHop         : Unnumbered          
Egr. Flags         : None                Ing. Flags          : None
Egr If Name        : ip-10.180.11.3
Metric             : 1                   Mtu                 : 1496
-------------------------------------------------------------------------------
P2MP Type          : 1                   P2MP-Id             : 2
                                         Root-Addr           : 10.20.1.3
-------------------------------------------------------------------------------
Ing Lbl            :   --                Peer                : 10.20.1.2
Egr Lbl            : 262141              
Egr Int/LspId      : 1/1/2:0
EgrNextHop         : Unnumbered          
Egr. Flags         : None                Ing. Flags          : None
Egr If Name        : ip-10.180.3.3
Metric             : 1                   Mtu                 : 1496
-------------------------------------------------------------------------------
P2MP Type          : 1                   P2MP-Id             : 2
                                         Root-Addr           : 10.20.1.3
-------------------------------------------------------------------------------
Ing Lbl            :   --                Peer                : 10.20.1.4
Egr Lbl            : 262136              
Egr Int/LspId      : 2/1/2:0
EgrNextHop         : Unnumbered          
Egr. Flags         : None                Ing. Flags          : None
Egr If Name        : ip-10.180.11.3
Metric             : 1                   Mtu                 : 1496
-------------------------------------------------------------------------------
A:7210SAS# 
 
 
A:7210SAS# show router ldp session local-addresses 
===============================================================================
LDP Session Local-Addresses
===============================================================================
-------------------------------------------------------------------------------
Session with Peer 10.20.1.2:0, Local 10.20.1.3:0
-------------------------------------------------------------------------------
Sent Addresses: 10.1.1.1        10.10.12.3      10.10.22.3      10.20.1.3
                10.180.2.3      10.180.3.3      10.180.5.3      10.180.11.3
                10.181.2.3      10.181.3.3      10.181.5.3      10.181.11.3
                10.182.2.3      10.182.3.3      10.182.5.3      10.182.11.3
 
Recv Addresses: 10.2.2.2        10.10.12.2      10.20.1.2       10.180.1.2
                10.180.3.2      10.180.4.2      10.181.1.2      10.181.3.2
                10.181.4.2      10.182.1.2      10.182.3.2      10.182.4.2
-------------------------------------------------------------------------------
Session with Peer 10.20.1.4:0, Local 10.20.1.3:0
-------------------------------------------------------------------------------
Sent Addresses: 10.1.1.1        10.10.12.3      10.10.22.3      10.20.1.3
                10.180.2.3      10.180.3.3      10.180.5.3      10.180.11.3
                10.181.2.3      10.181.3.3      10.181.5.3      10.181.11.3
                10.182.2.3      10.182.3.3      10.182.5.3      10.182.11.3
 
Recv Addresses: 10.10.22.4      10.20.1.4       10.180.4.4      10.180.6.4
                10.180.9.4      10.180.11.4     10.181.4.4      10.181.6.4
                10.181.9.4      10.181.11.4     10.182.4.4      10.182.6.4
                10.182.9.4      10.182.11.4     
-------------------------------------------------------------------------------
Session with Peer 10.20.1.5:0, Local 10.20.1.3:0
-------------------------------------------------------------------------------
Sent Addresses: 10.1.1.1        10.10.12.3      10.10.22.3      10.20.1.3
                10.180.2.3      10.180.3.3      10.180.5.3      10.180.11.3
                10.181.2.3      10.181.3.3      10.181.5.3      10.181.11.3
                10.182.2.3      10.182.3.3      10.182.5.3      10.182.11.3
 
Recv Addresses: 10.20.1.5       10.180.5.5      10.180.6.5      10.180.10.5
                10.181.5.5      10.181.6.5      10.181.10.5     10.182.5.5
                10.182.6.5      10.182.10.5     
===============================================================================
A:7210SAS# 
Table 26:  Output Fields: LDP Bindings  

Label

Description

LDP LSR ID

Displays the LDP label switch router 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

TLV: (Type, Length: Value)

Type

Displays the service type exchanging labels; possible types displayed are VPLS, Epipe, Spoke, and Unknown

VCId

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

SvcID

Displays the unique service identification number identifying the service in the service domain

Peer

Displays the IP address of the peer

P2MP-Id

Displays the P2MP ID assigned by the root to this MVPN instance

Interface

Displays the logical identifier assigned locally to identify the P2MP tunnel

RootAddr Op

Displays the IP address of the root of the P2MP tree

Op

Displays the label operation carried out (can be one of pop | swap | push)

EgrNextHop

Displays the next hop gateway IP address

EgrIntf/LspId

Displays the LSP tunnel ID (not the LSP path ID)

IngLbl

Displays the ingress LDP label

U — Label in use

R — Label released

EgrLbl

Displays the egress LDP label

LMTU

Displays the local MTU value

RMTU

Displays the remote MTU value

No. of Service Bindings

Displays the total number of LDP bindings on the router

discovery

Syntax 
discovery [{peer [ip-address]} | {interface [ip-int-name]}] [state state] [detail] [adjacency-type type]
Context 
show>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

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

Parameters 
ip-address—
Specifies the IP address of the peer.
ip-int-name—
Specifies the name of an existing interface. If the string contains special characters (#, $, spaces, etc.), the entire string must be enclosed within double quotes.
state—
Specifies to display the current operational state of the adjacency.
Values—
established, trying, down

 

detail—
Specifies to display detailed information.
adjacency-type type
Specifies to display the adjacency type.
Values—
link, targeted

 

Output 

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

Sample Output
*A:Dut-A# show router ldp discovery 
 
===============================================================================
LDP IPv4 Hello Adjacencies
===============================================================================
Interface Name                   Local Addr                              State
AdjType                          Peer Addr                               
-------------------------------------------------------------------------------
N/A                              10.20.1.1:0                             Estab
targ                             10.20.1.2:0                                        
 
N/A                              10.20.1.1:0                             Estab
targ                             10.20.1.3:0                                       
 
N/A                              10.20.1.1:0                             Estab
targ                             10.20.1.7:0                             
    
a2c                              10.20.1.1:0                             Estab
link                             10.20.1.3:0                             
 
a2b                              10.20.1.1:0                             Estab
link                             10.20.1.2:0                             
 
-------------------------------------------------------------------------------
No. of IPv4 Hello Adjacencies: 5
===============================================================================
 
===============================================================================
LDP IPv6 Hello Adjacencies
===============================================================================
Interface Name                   Local Addr                              State
AdjType                          Peer Addr                              
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
*A:Dut-A#
Table 27:  Output Fields: LDP Discovery  

Label

Description

Interface Name

Displays the name of the interface

Local Addr

Displays the IP address of the originating (local) router

Peer Addr

Displays the IP address of the peer

Adj Type

Displays the adjacency type between the LDP peer and LDP session is targeted

State

Established — The adjacency is established

Trying — The adjacency is not yet established

No. of Hello Adjacencies

Displays the total number of hello adjacencies discovered

Up Time

Displays the amount of time the adjacency has been enabled

Hold-Time Remaining

Displays the time left before a neighbor is declared to be down

Hello Mesg Recv

Displays the number of hello messages received for this adjacency

Hello Mesg Sent

Displays the number of hello messages that have been sent for this adjacency

Remote Cfg Seq No

Displays the configuration sequence number that was in the hello received when this adjacency started up. This configuration sequence number changes when there is a change of configuration.

Remote IP Address

Displays the IP address used on the remote end for the LDP session

Local Cfg Seq No

Displays the configuration sequence number that was used in the hello sent when this adjacency started up. This configuration sequence number changes when there is a change of configuration.

Local IP Address

Displays the IP address used locally for the LDP session

interface

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

Supported on all 7210 SAS platforms as described in this document.

Description 

This command displays configuration information about LDP interfaces.

Parameters 
ip-int-name—
Specifies the name of an existing interface. If the string contains special characters (#, $, spaces, and so on), the entire string must be enclosed within double quotes.
ip-address—
Specifies the IP address of the LDP neighbor.
detail—
Displays detailed information.
Output 

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

Sample Output
 
*A:ALU_SIM11>show>router>ldp# interface
===============================================================================
LDP Interfaces
===============================================================================
Interface                        Adm Opr  Hello  Hold  KA     KA      Transport
                                          Factor Time  Factor Timeout Address
-------------------------------------------------------------------------------
a                                Up  Up   3      15    3      30      System
-------------------------------------------------------------------------------
No. of Interfaces: 1
===============================================================================
*A:ALU_SIM11>show>router>ldp# interface detail
*A:ALU_SIM11>show>router>ldp# 
===============================================================================
LDP Interfaces (Detail)
===============================================================================
Interface "a"
-------------------------------------------------------------------------------
Admin State        : Up                  Oper State       : Up
Hold Time          : 15                  Hello Factor     : 3
Keepalive Timeout  : 30                  Keepalive Factor : 3
Transport Addr     : System              Last Modified    : 07/06/2010 10:36:59
Active Adjacencies : 1
Tunneling          : Disabled
Lsp Name           : None
===============================================================================
*A:ALU_SIM11>show>router>ldp#
Table 28:  Output Fields: LDP Interface 

Label

Description

Interface

Displays the interface associated with the LDP instance

Adm

Up — The LDP is administratively enabled

Down — The LDP is administratively disabled

Opr

Up — The LDP is operationally enabled

Down — The LDP is operationally disabled

Hello Factor

Displays the value by which the hello timeout should be divided to give the hello time, for example, 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

Displays the hello time, also known as hold time. It is the time interval, in seconds, that LDP waits before declaring a neighbor to be down. Hello timeout is local to the system and is sent in the hello messages to a neighbor.

KA Factor

Displays the value by which the keepalive timeout should be divided to give the keepalive time, for example, 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 Timeout

Displays 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 3 times the keepalive time (the time interval between successive LDP keepalive messages).

Auth

Enabled — Authentication using MD5 message based digest protocol is enabled

Disabled — No authentication is used

No. of Interface

Displays the total number of LDP interfaces

parameters

Syntax 
parameters
Context 
show>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command displays configuration information about LDP parameters.

Output 

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

Sample Output
*A:SRU4>config>router>ldp# show router ldp parameters
===============================================================================
LDP Parameters (LSR ID 10.20.1.4)
===============================================================================
-------------------------------------------------------------------------------
Graceful Restart Parameters
-------------------------------------------------------------------------------
Nbor Liveness Time : 5 sec                 Max Recovery Time : 30
-------------------------------------------------------------------------------
Interface Parameters
-------------------------------------------------------------------------------
Keepalive Timeout  : 30 sec                Keepalive Factor  : 3
Hold Time          : 15 sec                Hello Factor      : 3
Propagate Policy   : system                Transport Address : system
Deaggregate FECs   : False                 Route Preference  : 9
Label Distribution : downstreamUnsolicited Label Retention   : liberal
Control Mode       : ordered               Loop Detection    : none
-------------------------------------------------------------------------------
Targeted Session Parameters
-------------------------------------------------------------------------------
Keepalive Timeout  : 40 sec                Keepalive Factor  : 4
Hold Time          : 45 sec                Hello Factor      : 3
Passive Mode       : False                 Targeted Sessions : Enabled
===============================================================================
*A:SRU4>config>router>ldp#
Table 29:  Output Fields: LDP Parameters 

Label

Description

Keepalive Timeout

Displays the factor used to derive the Keepalive interval

Keepalive Factor

Displays the time interval, in seconds, that LDP waits before tearing down the session

Hold-Time

Displays the time left before a neighbor is declared to be down

Hello Factor

Displays the value by which the hello timeout should be divided to give the hello time, for example, 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.

Auth

Enabled — Authentication using MD5 message based digest protocol is enabled

Disabled — No authentication is used

Passive-Mode

true — LDP responds only when it gets a connect request from a peer and will not attempt to actively connect to its neighbors

false — LDP actively tries to connect to its peers

Targeted-Sessions

true — Targeted sessions are enabled

false — Targeted sessions are disabled

session

Syntax 
session [ip-addr[:label-space]] [detail | statistics [packet-type]] [session-type]
Context 
show>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command displays configuration information about LDP sessions.

Parameters 
ip-address—
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.
statistics packet-type
Specifies the packet type.
Values—
hello, keepalive, init, label, notification, address

 

session-type—
Specifies to display the session type.
Values—
link, targeted, both

 

Output 

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

Sample Output
*A:SRU4>config>router>ldp#   show router ldp session
==============================================================================
LDP Sessions
==============================================================================
Peer LDP Id        Adj Type   State         Msg Sent  Msg Recv  Up Time
------------------------------------------------------------------------------
10.1.1.1:0         Link       Nonexistent   2         1         0d 00:00:04
10.8.100.15:0      Both       Nonexistent   14653     21054     0d 12:48:25
10.20.1.20:0       Both       Established   105187    84837     0d 12:48:27
10.20.1.22:0       Both       Established   144586    95148     0d 12:48:23
10.22.10.2:0       Link       Nonexistent   4         2         0d 00:00:16
10.22.11.2:0       Link       Nonexistent   4         4         0d 00:00:14
10.22.13.2:0       Link       Nonexistent   5         6         0d 00:00:20
10.66.33.1:0       Link       Nonexistent   6         7         0d 00:00:25
10.66.34.1:0       Link       Nonexistent   2         2         0d 00:00:05
10.66.35.1:0       Link       Nonexistent   4         4         0d 00:00:14
10.20.1.1:0        Targeted   Nonexistent   0         1         0d 00:00:04
10.20.1.3:0        Both       Established   94        97        0d 00:00:55
10.20.1.5:0        Both       Established   230866    286216    0d 12:48:27
10.20.1.110:0      Link       Nonexistent   2         2         0d 00:00:05
10.0.0.1:0         Link       Nonexistent   2         2         0d 00:00:05
------------------------------------------------------------------------------
No. of Sessions: 15
==============================================================================
*A:SRU4>config>router>ldp#
 
 
*A:SRU4>config>router>ldp# show router ldp session 10.20.1.20:0
==============================================================================
LDP Sessions
==============================================================================
Peer LDP Id        Adj Type   State         Msg Sent  Msg Recv  Up Time
------------------------------------------------------------------------------
10.20.1.20:0       Both       Established   105204    84859     0d 12:49:05
------------------------------------------------------------------------------
No. of Sessions: 1
==============================================================================
*A:SRU4>config>router>ldp#
 
 
*7210SAS# show router ldp session detail 
 
===============================================================================
LDP Sessions (Detail)
===============================================================================
Legend:  DoD - Downstream on Demand (for address FEC's only)
         DU  - Downstream Unsolicited
===============================================================================
 
-------------------------------------------------------------------------------
Session with Peer 10.3.3.3:0
-------------------------------------------------------------------------------
Adjacency Type    : Link           State                 : Established
Up Time           : 0d 16:59:13
Max PDU Length    : 4096           KA/Hold Time Remaining: 26
Link Adjacencies  : 1              Targeted Adjacencies  : 0
Local Address     : 10.1.1.1       Peer Address          : 10.3.3.3
Local TCP Port    : 646            Peer TCP Port         : 59116
Local KA Timeout  : 30             Peer KA Timeout       : 30
Mesg Sent         : 22100          Mesg Recv             : 21926
FECs Sent         : 16             FECs Recv             : 13
GR State          : Capable        Label Distribution    : DU
Nbr Liveness Time : 0              Max Recovery Time     : 0
Number of Restart : 0              Last Restart Time     : Never
P2MP            : Capable      MP MBB             : Capable
Dynamic Capability: Yes
Advertise         : Address
 
 
 
-------------------------------------------------------------------------------
Session with Peer 10.2.2.2:0, Local 10.1.1.1:0
-------------------------------------------------------------------------------
Adjacency Type    : Both           State                 : Established
Up Time           : 0d 00:07:48    
Max PDU Length    : 4096           KA/Hold Time Remaining: 29
Link Adjacencies  : 1              Targeted Adjacencies  : 1
Local Address     : 10.1.1.1       Peer Address          : 10.2.2.2
Local TCP Port    : 646            Peer TCP Port         : 50980
Local KA Timeout  : 30             Peer KA Timeout       : 30
Mesg Sent         : 478            Mesg Recv             : 480
FECs Sent         : 182            FECs Recv             : 170
Addrs Sent        : 13             Addrs Recv            : 16
GR State          : Capable        Label Distribution    : DU
Nbr Liveness Time : 0              Max Recovery Time     : 0
MP MBB                : Not Capable
Dynamic Capability: Not Capable    
Advertise         : Address/Servi* BFD Operational Status: inService
-------------------------------------------------------------------------------
Session with Peer 10.3.3.3:0, Local 10.1.1.1:0
-------------------------------------------------------------------------------
Adjacency Type    : Both           State                 : Established
Up Time           : 0d 00:07:48    
Max PDU Length    : 4096           KA/Hold Time Remaining: 29
Link Adjacencies  : 1              Targeted Adjacencies  : 1
Local Address     : 10.1.1.1       Peer Address          : 10.3.3.3
Local TCP Port    : 646            Peer TCP Port         : 49823
Local KA Timeout  : 30             Peer KA Timeout       : 30
Mesg Sent         : 502            Mesg Recv             : 418
FECs Sent         : 124            FECs Recv             : 124
Addrs Sent        : 13             Addrs Recv            : 5
GR State          : Capable        Label Distribution    : DU
Nbr Liveness Time : 0              Max Recovery Time     : 0
MP MBB                : Not Capable
Dynamic Capability: Not Capable    
Advertise         : Address/Servi* BFD Operational Status: inService
-------------------------------------------------------------------------------
Session with Peer 10.4.4.4:0, Local 10.1.1.1:0
-------------------------------------------------------------------------------
Adjacency Type    : Targeted       State                 : Established
Up Time           : 0d 00:07:47    
Max PDU Length    : 4096           KA/Hold Time Remaining: 36
Link Adjacencies  : 0              Targeted Adjacencies  : 1
Local Address     : 10.1.1.1       Peer Address          : 10.4.4.4
Local TCP Port    : 646            Peer TCP Port         : 51307
Local KA Timeout  : 40             Peer KA Timeout       : 40
Mesg Sent         : 122            Mesg Recv             : 124
FECs Sent         : 36             FECs Recv             : 36
Addrs Sent        : 13             Addrs Recv            : 3
GR State          : Capable        Label Distribution    : DU
Nbr Liveness Time : 0              Max Recovery Time     : 0
MP MBB                : Not Capable
Dynamic Capability: Not Capable    
Advertise         : Service        BFD Operational Status: inService
===============================================================================
* indicates that the corresponding row element may have been truncated.
Table 30:  Output Fields: LDP Session 

Label

Description

Peer LDP ID

Displays the IP address of the LDP peer

Adj Type

Specifies that the adjacency type between the LDP peer and LDP session 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

Mesg Sent

Displays the number of messages sent

Mesg Rcvd

Displays the number of messages received

Up Time

Displays the amount of time the adjacency has been enabled

session-parameters

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

Supported on all 7210 SAS platforms as described in this document.

Description 

This command displays LDP peer information.

Parameters 
family—
Specifies a peer family for which to display information.
Values—
ipv4, ipv6

 

peer-ip-address—
Specifies the IP address of a targeted LDP peer for which to display information.
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 peer information.

Sample Output
===============================================================================
LDP IPv4 Session Parameters
===============================================================================
-------------------------------------------------------------------------------
Peer : 10.12.12.12
-------------------------------------------------------------------------------
DOD                : Disabled           Adv Adj Addr Only  : Disabled
FEC129 Cisco Inter*: Disabled
PE-ID MAC Flush In*: 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: Disabled
P2MP Fec Cap       : Disabled
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
===============================================================================
 

statistics

Syntax 
statistics
Context 
show>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command displays LDP statistics information.

Output 

The following output is an example of LDP statistics information.

Sample Output
===============================================================================
LDP Statistics for IPv4 LSR ID 10.20.1.1:0
               IPv6 LSR ID 2001:db8::4444[0]
===============================================================================
Session/Discovery
-------------------------------------------------------------------------------
Active IPv4 Sess   : 5                    Active IPv6 Sess     : 0
Active IPv4 LinkAdj: 21                   Active IPv6 LinkAdj  : 0
Active IPv4 TargAdj: 5                    Active IPv6 TargAdj  : 0
Active IPv4 If     : 31                   Inactive IPv4 If     : 0
Active IPv6 If     : 0                    Inactive IPv6 If     : 0
Active IPv4 Peers  : 5                    Inactive IPv4 Peers  : 0
Active IPv6 Peers  : 0                    Inactive IPv6 Peers  : 0
IPv4 Attempted Sess: 40                   IPv6 Attempted Sess  : 0
IPv4 OLoad If      : 0                    IPv4 OLoad Targ Peers: 0
IPv6 OLoad If      : 0                    IPv6 OLoad Targ Peers: 0
-------------------------------------------------------------------------------
Protocol Stats
-------------------------------------------------------------------------------
No Hello Err       : 0                    Param Adv Err        : 0
Max PDU Err        : 0                    Label Range Err      : 0
Bad LDP Id Err     : 0                    Bad PDU Len Err      : 0
Bad Mesg Len Err   : 0                    Bad TLV Len Err      : 0
Unknown TLV Err    : 0                    Bad Proto Ver Err    : 0
Malformed TLV Err  : 0                    Keepalive Expired Err: 9
Shutdown Notif Sent: 0                    Shutdown Notif Recv  : 0
-------------------------------------------------------------------------------
Prefixes
-------------------------------------------------------------------------------
IPv4 Pfx FECs Sent : 25                   IPv4 Pfx FECs Recv   : 25
IPv6 Pfx FECs Sent : 0                    IPv6 Pfx FECs Recv   : 0
IPv4PfxFecOLSessSnt: 0                    IPv4PfxFecOLSessRecv : 0
IPv6PfxFecOLSessSnt: 0                    IPv6PfxFecOLSessRecv : 0
IPv4PfxFecInOLoad  : 0                    IPv6PfxFecInOLoad    : 0
-------------------------------------------------------------------------------
P2MP
-------------------------------------------------------------------------------
IPv4 P2MP FECs Sent: 0                    IPv4 P2MP FECs Recv  : 0
IPv6 P2MP FECs Sent: 0                    IPv6 P2MP FECs Recv  : 0
IPv4P2MPFecOLSessSn: 0                    IPv4P2MPFecOLSessRecv: 0
IPv6P2MPFecOLSessSn: 0                    IPv6P2MPFecOLSessRecv: 0
IPv4P2MPFecInOLoad : 0                    IPv6P2MPFecInOLoad   : 0
-------------------------------------------------------------------------------
Services
-------------------------------------------------------------------------------
Svc FEC128s Sent   : 0                    Svc FEC128s Recv     : 0
Svc FEC129s Sent   : 0                    Svc FEC129s Recv     : 0
Svc Fec128 OLSessSn: 0                    Svc Fec128 OLSessRecv: 0
Svc Fec129 OLSessSn: 0                    Svc Fec129 OLSessRecv: 0
Svc Fec128 InOLoad : 0                    Svc Fec129 InOLoad   : 0
===============================================================================

status

Syntax 
status
Context 
show>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command displays LDP status information.

Output 

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

Sample Output
A:7210SAS# show router ldp status 
 
===============================================================================
LDP Status for LSR ID 10.1.1.1
===============================================================================
Admin State        : Up                   Oper State           : Up
Created at         : 11/30/2009 21:22:31  Up Time              : 0d 16:45:41
Oper Down Reason   : n/a                  Oper Down Events     : 1
Last Change        : 11/30/2009 21:22:31  Tunn Down Damp Time  : 20 sec
Label Withdraw Del*: 120 sec              Implicit Null Label  : Disabled
Short. TTL Prop Lo*: Enabled              Short. TTL Prop Tran*: Enabled
Import Policies    :                      Export Policies      :
    None                                      ldp-reject
Aggregate Prefix   : True                 Agg Prefix Policies: None
Dynamic Capability : True            P2MP Capable      : True
MP MBB Capable     : True            MP MBB Timer      : 3
Active Adjacencies : 3                    Active Sessions      : 2
Active Interfaces  : 23                   Inactive Interfaces  : 8
Active Peers       : 4                    Inactive Peers       : 1
Addr FECs Sent     : 34                   Addr FECs Recv       : 15
Serv FECs Sent     : 0                    Serv FECs Recv       : 0
P2MP FECs Sent  : 0                 P2MP FECs Recv     : 0
Attempted Sessions : 0
No Hello Err       : 0                    Param Adv Err        : 0
Max PDU Err        : 0                    Label Range Err      : 0
Bad LDP Id Err     : 4296                 Bad PDU Len Err      : 0
Bad Mesg Len Err   : 0                    Bad TLV Len Err      : 0
Unknown TLV Err    : 0
Malformed TLV Err  : 0                    Keepalive Expired Err: 0
Shutdown Notif Sent: 0                    Shutdown Notif Recv  : 0
No Matching Entries Found             
===============================================================================
A:7210SAS# 
Table 31:  Output Fields: LDP Status 

Label

Description

Admin State

Up — The LDP is administratively enabled

Down — The LDP is administratively disabled

Oper State

Up — The LDP is operationally enabled

Down — The LDP is operationally disabled

Created at

Displays the date and time when the LDP instance was created

Up Time

Displays the time, in hundredths of seconds, that the LDP instance has been operationally up

Last Change

Displays the date and time when the LDP instance was last modified

Oper Down Events

Displays the number of times the LDP instance has gone operationally down since the instance was created

Active Adjacencies

Displays the number of active adjacencies (established sessions) associated with the LDP instance

Active Sessions

Displays the number of active sessions (session in some form of creation) associated with the LDP instance

Active Interfaces

Displays the number of active (operationally up) interfaces associated with the LDP instance

Inactive Interfaces

Displays the number of inactive (operationally down) interfaces

associated with the LDP instance

Active Peers

Displays the number of active LDP peers

Inactive Peers

Displays the number of inactive LDP peers

Addr FECs Sent

Displays the number of labels that have been sent to the peer associated with this FEC

Addr FECs Recv

Displays the number of labels that have been received from the peer associated with this FEC

Serv FECs Sent

Displays the number of labels that have been sent to the peer associated with this FEC

Serv FECs Recv

Displays the number of labels that have been received from the peer associated with this FEC

Attempted Sessions

Displays the total number of attempted sessions for this LDP instance

No Hello Err

Displays the total number of “Session Rejected” or “No Hello Error” notification messages sent or received by this LDP instance

Param Adv Err

Displays the total number of “Session Rejected” or “Parameters Advertisement Mode Error” notification messages sent or received by this LDP instance

Max PDU Err

Displays the total number of “Session Rejected” or “Parameters Max PDU Length Error” notification messages sent or received by this LDP instance

Label Range Err

Displays the total number of “Session Rejected” or “Parameters Label Range Error” notification messages sent or received by this LDP instance

Bad LDP Id Err

Displays the number of bad LDP identifier fatal errors detected for sessions associated with this LDP instance

Bad PDU Len Err

Displays the number of bad PDU length fatal errors detected for sessions associated with this LDP instance

Bad Mesg Len Err

Displays the number of bad message length fatal errors detected for sessions associated with this LDP instance

Bad TLV Len Err

Displays the number of bad TLV length fatal errors detected for sessions associated with this LDP instance

Malformed TLV Err

Displays the number of malformed TLV value fatal errors detected for sessions associated with this LDP instance

Shutdown Notif Sent

Displays the number of shutdown notifications sent related to sessions associated with this LDP instance

Keepalive Expired Err

Displays the number of session Keepalive timer expired errors detected for sessions associated with this LDP instance

Shutdown Notif Recv

Displays 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
targ-peer resource-failures [family]
Context 
show>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command displays targeted LDP peer information.

Parameters 
detail—
Displays detailed information.
family—
Specifies a peer family for which to display information.
Values—
ipv4, ipv6

 

ip-address—
Specifies the IP address of a targeted LDP peer for which to display information.
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

 

resource-failures—
Displays resource failure information for targeted LDP peers.
Output 

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

Sample Output
===============================================================================
LDP IPv4 Targeted Peers
===============================================================================
Peer                                    Adm/    Hello Hold  KA   KA    Auto
                                        Opr     Fctr  Time  Fctr Time  Created
-------------------------------------------------------------------------------
10.1.1.1                                Up/Up   3     45    4    40    yes
 
10.2.2.2                                Up/Up   3     45    4    40    yes
 
10.3.3.3                                Up/Up   3     45    4    40    yes
 
10.5.5.5                                Up/Up   3     45    4    40    yes
 
10.6.6.6                                Up/Up   3     45    4    40    yes
 
-------------------------------------------------------------------------------
No. of IPv4 Targeted Peers: 5
===============================================================================
 
===============================================================================
LDP IPv6 Targeted Peers
===============================================================================
Peer                                    Adm/    Hello Hold  KA   KA    Auto
                                        Opr     Fctr  Time  Fctr Time  Created
-------------------------------------------------------------------------------
No Matching Entries Found
===============================================================================
Table 32:  Output Fields: LDP Targeted Peers 

Label

Description

Peer

Displays 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

Displays 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

Displays 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

Displays 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).

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

Displays the total number of LDP peers

tcp-session-parameters

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

Supported on all 7210 SAS platforms as described in this document.

Description 

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

Parameters 
family—
Specifies a peer family for which to display information.
Values—
ipv4, ipv6

 

keychain—
Specifies the name of an auth-keychain, up to 32 characters.
transport-peer-ip-address—
Specifies the IP address of a TCP transport peer for which to display information.
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

 

3.8.2.3. Clear Commands

instance

Syntax 
instance
Context 
clear>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command resets the LDP instance.

interface

Syntax 
interface [ip-int-name] [family]
Context 
clear>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command restarts or clears statistics for LDP interfaces.

Parameters 
ip-int-name—
Specifies the name of an existing interface. If the string contains special characters (#, $, spaces and other special characters), the entire string must be enclosed within double quotes.
family—
Specifies the family type.
Values—
ipv4, ipv6

 

peer

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

Supported on all 7210 SAS platforms as described in this document.

Description 

This command restarts or clears statistics for LDP targeted peers.

Parameters 
ip-address—
Specifies the IP address of a targeted peer.
statistics
Clears only the statistics for a targeted peer

session

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

Supported on all 7210 SAS platforms as described in this document.

Description 

This command restarts or clears statistics for LDP sessions.

Parameters 
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
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command clears LDP instance statistics.

3.8.2.4. Debug Commands

ldp

Syntax 
[no] ldp
Context 
debug>router
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures LDP debugging.

interface

Syntax 
[no] interface interface-name family
Context 
debug>router>ldp
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command debugs an LDP interface.

Parameters 
interface-name—
Specifies the name of an existing interface.
family—
Specifies the family type.
Values—
ipv4, ipv6

 

peer

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

Supported on all 7210 SAS platforms as described in this document.

Description 

This command debugs an LDP peer.

Parameters 
ip-address—
Specifies the IP address of the LDP peer.

event

Syntax 
[no] event
Context 
debug>router>ldp>peer
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command configures debugging for specific LDP events.

bindings

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

Supported on all 7210 SAS platforms as described in this document.

Description 

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

The no form of this command disables the debugging output.

messages

Syntax 
[no] messages
Context 
debug>router>ldp>peer>event
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

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 this command disables debugging output for LDP messages.

packet

Syntax 
packet [detail]
no packet
Context 
debug>router>ldp>peer
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables debugging for specific LDP packets.

The no form of this command disables the debugging output.

Parameters 
detail
Keyword to display detailed information.

hello

Syntax 
hello [detail]
no hello
Context 
debug>router>ldp>peer>packet
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables debugging for LDP hello packets.

The no form of this command disables the debugging output.

Parameters 
detail
Keyword to display detailed information.

init

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

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables debugging for LDP Init packets.

The no form of this command disables the debugging output.

Parameters 
detail
Displays detailed information.

keepalive

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

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables debugging for LDP Keepalive packets.

The no form of this command disables the debugging output.

label

Syntax 
label [detail]
no label
Context 
debug>router>ldp>peer>packet
Supported Platforms 

Supported on all 7210 SAS platforms as described in this document.

Description 

This command enables debugging for LDP Label packets.

The no form of this command disables the debugging output.

Parameters 
detail
Keyword to display detailed information.