Specifications

Table Of Contents
mpls ldp router-id
MP-262
Cisco IOS Multiprotocol Label Switching Command Reference
January 2010
mpls ldp router-id
To specify a preferred interface for the Label Distribution Protocol (LDP) router ID, use the mpls ldp
router-id command in global configuration mode. To disable the interface from being used as the LDP
router ID, use the no form of this command.
mpls ldp router-id [vr
f vrf-name] interface [force]
no mpls ldp router-id [vr
f vrf-name] [interface [force]]
Cisco CMTS Routers
mpls ldp router-id gigabitethernet slot/subslot/port [force]
no mpls ldp router-id gigabitethernet sl
ot/subslot/port [force]
Syntax Description
Command Default If the mpls ldp
router-id command is not executed, the router determines the LDP router ID as follows:
1. The router examines the IP addresses of all operational interfaces.
2. If these IP addresses include loopback interface addresses, the router selects the largest loopback
address as the LDP router ID.
3. Otherwise, the router selects the largest IP address pertaining to an operational interface as the
LDP router ID.
Command Modes Global configuration
Command History
vrf vr
f-name (Optional) Selects the interface as the LDP router ID for the named Virtual
Private Network (VPN) routing and forwarding (VRF) table. The selected
interface must be associated with the named VRF.
interface The specified interface to be used as the LDP router ID, provided that the
in
terface is operational.
gigabitethernet
sl
ot/subslot/port
Specifies the location of the Gigabit Ethernet interface.
force (Optional) Alters the behavior of the mpls ldp
router-id command, as
described in the “Usage Guidelines” section.
Release Modification
12.0(10)ST This command was introduced.
12.0(14)ST The f
orce keyword was added.
12.1(2)T This command was integrated into Cisco IOS Release 12.1(2)T.
12.1(8a)E This command was integrated into Cisco IOS Release 12.1(8a)E.
12.0(22)S This command was integrated into Cisco IOS Release 12.0(22)S.
12.4(5) The vrf vr
f-name keyword/argument pair was added.
12.2(33)SRA This command was integrated into Cisco IOS Release 12.2(33)SRA.