mpls ldp-lsr-id

Use this command to configure a unique LDP Label Switch Router (LSR) ID for the router.

Syntax

mpls ldp-lsr-id lsr-id
no mpls ldp-lsr-id lsr-id

Parameters

lsr-id Specifies the unique LSR ID for the router in the format A.B.C.D.

Defaults

In an IPv4 system, the LSR ID defaults to the highest IPv4 address associated with a router interface. Loopback interfaces have precedence over VLAN interfaces. In an IPv6 system, the LSR ID is explicitly configured when enabling MPLS using mpls ipv6.

Mode

Global router configuration mode.

Usage

This command configures a network wide unique LSR ID for the router. In an IPv4 network, the specified or default LSR ID can also be used as the LDP transport address for LDP peer discovery. In an IPv6 network, the LSR ID must be explicitly configured using this command and the configured LSR ID can not be used as the LDP transport address. In an IPv6 network, the LDP transport address is configured when enabling IPv6 MPLS encapsulation using mpls ipv6.

The “no” form of this command deletes the explicit LSR ID for the router.

Examples

This example shows how to configure 110.10.10.5 as the LSR ID and LDP transport address for the global router:

System(su)->configure
System(su-config)->mpls ldp-lsr-id 110.10.10.5
System(su-config)->

This example shows how to configure 110.10.10.10 as the LSR ID for the global router:

System(su)->configure
System(su-config)->mpls ldp-lsr-id 110.10.10.10
System(su-config)->