set protocols mpls ldp router-id
The set protocols mpls ldp router-id command configures a Router ID for the switch.
The delete protocols mpls ldp router-id command deletes the configuration.
Command Syntax
set protocols mpls ldp router-id <router-id>
delete protocols mpls ldp router-id
Parameter
Parameter | Description |
router-id <router-id> | Specifies a Router ID. It is an IPv4 address in the A.B.C.D dotted decimal format (e.g., 192.0.2.1). |
Usage Guidelines
MPLS LDP router ID is a crucial identifier for routers within an MPLS network. It is used to establish and maintain LDP sessions between routers. LDP sessions are responsible for the exchange of label binding information necessary for MPLS forwarding.
The Router ID must be unique within the MPLS network to avoid routing loops and ensure proper label distribution.
Using a loopback interface for the LDP Router ID is a best practice because loopback addresses are not tied to any physical interface and remain up as long as the router is operational, providing a stable identifier for LDP sessions.
Example
Configure a Router ID for the switch.
admin@PICOS# set protocols mpls ldp router-id 2.2.2.2
admin@PICOS# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.