04-10-2012 09:42 AM
I have int gig 4/47 running mpls and have assigned ip address to it.
I am interested in finding out what is the local label assigned to this ip prefix on this router.
I understand that router generate local labels to all the routes in the FIB and thus populates the lib which includes the locally attached interfaces also.
But cant seem to find out in the LIB table using sh mpls ldp bindings.
I checked lib table on the neighboring router which is ldp peer to this local router but cant seem to find the label there also.
Any suggestion if i am on right track or if am missing something.
Thanks
Vikas.
04-10-2012 09:57 AM
Vikas,
Normally LDP will assign implicit null for directly connected prefixes. In you case it must be imp-null and should be seen in ldp binding table.
Can you share the below,
show run int g4/47
show mpls ldp binding
-Nagendra
04-10-2012 10:06 AM
Hi naikumar,
Here is the requested output:
Router#sh run int gig4/47
Building configuration...
Current configuration : 148 bytes
!
interface GigabitEthernet4/47
description TO G0/1
ip address 10.x.x.93 255.255.255.252
speed 1000
duplex full
mpls ip
end
Router#sh mpls ldp bindings 10.x.x.93 255.255.255.252
Router#
As you can see i get no output for ldp bindings for this particular prefix.
Thanks
Vikas
04-12-2012 05:51 AM
Is cef enable and mpls is configure in global mode?
Ajay
04-12-2012 06:34 AM
Hi Ajay,
CEF is enabled but i dont see mpls being configured in global config.
This is a cisco 7606 router.
Thanks
Vikas.
04-13-2012 02:26 AM
Hi Vikas,
Can you check if you have any entry in ldp binding table using "show mpls ldp binding" and see if any prefix have local label assigned?. Also please check if you have the itnerfaces enabled with mpls using "show mpls interface" and check for any neighbors using "show mpls ldp neig"
-Nagendra
04-16-2012 07:49 AM
Hi ,
I checked the output of sh mpls ldp bindings and confirmed that there are local labels generated for lot of prefixes.
Only local labels that i am missing is for some of the directly connected interfaces. Like for ex i can see local label generated for loop 0 which is on the same router but not for physical interfaces.
Also i see that there are mpls interfaces when i issue the command sh mpls interfaces
Router>sh mpls inter
Router>sh mpls interfaces
Interface IP Tunnel BGP Static Operational
GigabitEthernet1/5 Yes (ldp) No No No Yes
GigabitEthernet1/10 Yes (ldp) No No No Yes
TenGigabitEthernet2/1 Yes (ldp) No No No Yes
TenGigabitEthernet2/3 Yes (ldp) No No No Yes
GigabitEthernet3/7 Yes (ldp) No No No Yes
GigabitEthernet3/8 Yes (ldp) No No No Yes
GigabitEthernet4/46 Yes (ldp) No No No Yes
GigabitEthernet4/47 Yes (ldp) No No No Yes
Port-channel13 Yes (ldp) No No No Yes
Vlan2502 Yes (ldp) No No No Yes
Vlan2001 Yes (ldp) No No No Yes
sh mpls ldp nei is also looking good.
Thanks
Vikas.
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