The advertise mpls-lsr-id command configures OSPF to advertise MPLS LSR IDs to multiple areas as intra-area routes.
The undo advertise mpls-lsr-id command cancels the configuration.
By default, OSPF does not advertise MPLS LSR IDs to multiple areas as intra-area routes.
Product |
Support |
---|---|
S5720-EI, S5720-HI, S5730-HI, S5731-S, S5731S-S, S5731-H, S5731S-H, S5732-H, S6720-EI, S6720-HI, S6720S-EI, S6730S-H, and S6730-H |
Supported |
S2720-EI, S5720I-SI, S5720-LI, S5735-L, S5735S-L, S5735S-L-M, S5720S-LI, S5720S-SI, S5720-SI, S5735-S, S5735S-S, S5735-S-I, S5730S-EI, S5730-SI, S6720-LI, S6720S-LI, S6720-SI, S6720S-SI, S6730-S, and S6730S-S |
Not supported |
Parameter | Description | Value |
---|---|---|
cost cost |
Specifies the cost of the advertised route. |
The value is an integer that ranges from 0 to 65535. By default, it is 0. |
Usage Scenario
The prerequisite of a valid tunnel is that an intra-area route to the egress is reachable. When an ABR serves as the egress of tunnels in two areas, OSPF considers that only one tunnel is valid, because there is only one intra-area route to the egress, namely the IP address of the ABR's loopback interface (used as an MPLS LSR ID for tunnel establishment). To the other areas, this route is an inter-area route. To allow the tunnels in both areas to take effect, run the advertise mpls-lsr-id command to configure OSPF to advertise the intra-area route to the MPLS LSR ID to all areas connected to this device.
Prerequisites
Before running this command, the mpls te command has been run to enable MPLS TE globally.
Configuration Impact