08-28-2023 07:24 AM - last edited on 08-28-2023 04:23 PM by Translator
Hello,
I have a wrong label problem on my last hop in a MPLS network.
Routers are Cisco ASR9K with IOS-XR.
I try to simplify as much as possible.
I have this static:
router static
address-family ipv4 unicast
217.27.XXX.132/32 100.126.0.70
And I get this wrong result (unlabelled).
Next-hop is a MPLS node:
RP/0/RSP0/CPU0:ASR9001-B#show mpls forwarding | include 100.126.0.70
Local Outgoing Prefix Outgoing Next Hop Bytes
Label Label or ID Interface Switched
------ ----------- ------------------ ------------ --------------- ------------
24475 Unlabelled 217.27.XXX.132/32 BE100.1000 100.126.0.70 0
If I remove the static and use OSPF I have the right LFIB:
RP/0/RSP0/CPU0:ASR9001-B#show mpls forwarding | include 100.126.0.70
Local Outgoing Prefix Outgoing Next Hop Bytes
Label Label or ID Interface Switched
------ ----------- ------------------ ------------ --------------- ------------
24475 Pop 217.27.XXX.132/32 BE100.1000 100.126.0.70 4603959
I don't understand the difference. Having an
unlabelled
instead of
Pop
means that the MPLS tunnels are broken.
Why there is this label-to-IP passage?
I'm gonna keep OSPF but I would like to understand the problem.
Thank you
Gianrico Fichera
Solved! Go to Solution.
08-28-2023 11:46 AM - last edited on 08-28-2023 04:17 PM by Translator
Thanks for the additional information @GIANRICO FICHERA .
Try configuring the
static route
as follow. It should change the outgoing label from "Unlabelled" to "Pop".
router static
address-family ipv4 unicast
217.27.XXX.132/32 BE100.1000 100.126.0.70
Regards,
08-28-2023 08:25 AM - last edited on 08-28-2023 04:14 PM by Translator
Hello @GIANRICO FICHERA ,
have you got
LDP
configured to be in sync with IGP ?
This is a first sight guess of a possible reason to explain the behaviour when the
static route
is configured.
Hope to help
Giuseppe
08-28-2023 11:04 AM - edited 08-28-2023 11:18 AM
Thank you Giuseppe, yes it is up:
RP/0/RSP0/CPU0:ASR9001-B#show mpls ldp igp sync interface bundle-ether 100.1000
Mon Aug 28 19:09:30.371 MEDT
Bundle-Ether100.1000:
VRF: 'default' (0x60000000)
Sync delay: Disabled
Sync status: Ready
Peers:
217.27.xxx.132:0
I'll check it out...
I add the OSPF is enabled in both cases.
08-28-2023 09:01 AM - last edited on 08-28-2023 04:25 PM by Translator
Hi @GIANRICO FICHERA ,
You would normally need OSPF to bring up the
LDP
session. Without the
LDP
session, it is normal to see the outgoing label as
Unlabelled
in the show mpls forwarding output.
Regards,
08-28-2023 11:02 AM - last edited on 08-28-2023 04:17 PM by Translator
Thankyou Harold, the
ldp
session is up in both cases, the ospf is always up too.
08-28-2023 11:46 AM - last edited on 08-28-2023 04:17 PM by Translator
Thanks for the additional information @GIANRICO FICHERA .
Try configuring the
static route
as follow. It should change the outgoing label from "Unlabelled" to "Pop".
router static
address-family ipv4 unicast
217.27.XXX.132/32 BE100.1000 100.126.0.70
Regards,
08-28-2023 01:04 PM - edited 08-28-2023 01:06 PM
Thankyou very much Harold,
there is an explanation about this behaviour?
It is something specific to ASR9k? Perhaps is the fact that in the CEF table in this way there is no recursive call?
08-28-2023 03:22 PM - last edited on 08-28-2023 04:26 PM by Translator
Hi @GIANRICO FICHERA ,
> It is something specific to ASR9k?
This behavior is not specific to the ASR9k platform and applies to XR across the board.
> Perhaps is the fact that in the CEF table in this way there is no recursive call?
That is precisely the reason the interface is required as part of the
static route
, to avoid recursion.
Regards,
08-28-2023 11:20 AM - last edited on 08-28-2023 04:22 PM by Translator
Hello,
As @Harold Ritter mentioned it should be normal for this scenario. It reality it means the same thing jut a different way of expressing it. The
Pop
label is sent from one router to another announcing it is the router connected to the route you're trying to get to. Its the end of the line. This notifies
downstream routers
that it can
pop
the label (or in other words send an
unlabeled packet
to the
upstream router
with that network). This is so the end router doesn't have to do 2 lookups (label and route lookup). Since you configured the
static route
the router sees that the network is the next
hop router
....but since it didn't learn it from the
upstream router
and its locally configured it needs a way to identify itself as not sending a label (
pop
off the label it has). It wont receive a
pop
(remove this label for me) message so it has to identify it itself.
Hope that helps
-David
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide