MPLS label allocation failure
I was playing with a test MPLS network today and I saw that my LSP isn’t UP. When I checked with the show mpls command , I have seen the following “MPLS label allocation failure” message.
Then I checked the 192.168.23.1 router to troubleshoot the issue. The issue was again I forgot to enable mpls at interface level.
root@jgw31>show mpls lsp extensive ingress Ingress LSP: 1 sessions 10.1.1.8 From: 10.1.1.5, State: Dn, ActiveRoute: 0, LSPname: j31-to-j40 ActivePath: (none) LSPtype: Static Configured LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 Primary path2-j40 State: Dn Priorities: 7 0 SmartOptimizeTimer: 180 2 May 12 11:12:06.202 192.168.23.1: MPLS label allocation failure[8 times] 1 May 12 11:08:50.514 Originate Call Created: Sun May 12 11:08:50 2013 Total 1 displayed, Up 0, Down 1
Once I added the “family mpls” to the interfaces, all started working fine. Then I enforced some path for my LSP and then I got the following “No route toward dest” error.
root@jgw31> show mpls lsp ingress extensive Ingress LSP: 1 sessions 10.1.1.8 From: 10.1.1.5, State: Dn, ActiveRoute: 0, LSPname: j31-to-j40 ActivePath: (none) LSPtype: Static Configured LoadBalance: Random Encoding type: Packet, Switching type: Packet, GPID: IPv4 Primary State: Dn Priorities: 7 0 SmartOptimizeTimer: 180 8 May 12 11:31:07.351 192.168.24.1: No Route toward dest[8 times] 7 May 12 11:19:42.230 Deselected as active 6 May 12 11:19:42.227 ResvTear received 5 May 12 11:19:42.227 192.168.24.2: Down 4 May 12 11:16:53.054 Selected as active path 3 May 12 11:16:53.053 Record Route: 192.168.24.1 10.194.194.1 25.1.2.2 2 May 12 11:16:53.053 Up 1 May 12 11:16:53.017 Originate Call Created: Sun May 12 11:16:52 2013 Total 1 displayed, Up 0, Down 1
This time error was the missing mpls family on the exit interface of 192.168.24.1 device. Again it worked when I fixed this error. It seems I need some time on this topic:)