09-29-2019 07:45 AM - edited 09-30-2019 12:42 AM
Hi guys,
really appreciate if any one help me on this
i am currently building a lab for the MPLS vpn, using three Cisco XR as part of a service provider network.
i have used ospf for inside the service provider and have enabled the mpls on the ports as well as globally (mpls oam).
I am unable to see the MPLS labels while using traceroute from SP1 to SP3 port, although normal ping/traceroute is working.
I also noticed something unusually that on SP2 when i look MPLS forwarding i cant see the network 10.10.0.0 and 10.9.0.0 and the relevant labels... is it something i am missing.
SP1=SP2=SP3=XRV613 imag
i have uploaded the images at the below link for the topology and mpls forwarding table and the traceroute.
Traceroute from SP1
Type escape sequence to abort.
Tracing the route to 10.9.0.1
1 10.10.0.2 19 msec 0 msec 0 msec
2 10.9.0.1 0 msec * 0 msec
RP/0/0/CPU0:ios#
Solved! Go to Solution.
09-30-2019 09:07 AM
SP1 uses the implicit null label to reach all destinations directly connected to SP2. You traceroute to 10.9.0.1, which is a subnet directly connected to SP2, hence no label being shown. Try 3.3.3.3 instead.
Regards,
09-30-2019 09:07 AM
SP1 uses the implicit null label to reach all destinations directly connected to SP2. You traceroute to 10.9.0.1, which is a subnet directly connected to SP2, hence no label being shown. Try 3.3.3.3 instead.
Regards,
10-01-2019 12:51 PM - edited 10-01-2019 02:47 PM
Thanks Harold, it now make sense.
i was also trying to implement L3VPN, and for that i was trying to configure the RD and the RT values, but i think the XR options are totally change then the normal IOS.
i came to know that we can only define the VRF and RD under the bgp, but for the route-target we have to further go insde BGP>VRF.Address family#RT....
i have two queries ....
1- as per my understanding Route-target-RT is the extended community but why we are using under the address-family?
2- i cant find the way to set the RT value as it is not accepting any values only giving the option for the download... how can i set the RT value here.
really appreciate the help regarding this.
out put...............
Cisco IOS XR Software, Version 6.1.3[Default]
RP/0/0/CPU0:ios#conf t
Tue Oct 1 19:48:43.526 UTC
RP/0/0/CPU0:ios(config)#router bgp 100
RP/0/0/CPU0:ios(config-bgp)#vrf Test1
RP/0/0/CPU0:ios(config-bgp-vrf)#RD 100:1
RP/0/0/CPU0:ios(config-bgp-vrf)#address-family
% Incomplete command.
RP/0/0/CPU0:ios(config-bgp-vrf)#address-family ipv4 uni
RP/0/0/CPU0:ios(config-bgp-vrf-af)#route-target ?
download Install route-targets in RIB
RP/0/0/CPU0:ios(config-bgp-vrf-af)#route-target 100:1
^
% Invalid input detected at '^' marker.
RP/0/0/CPU0:ios(config-bgp-vrf-af)#route-target ?
download Install route-targets in RIB
RP/0/0/CPU0:ios(config-bgp-vrf-af)#route-target
10-01-2019 03:48 PM
> 1- as per my understanding Route-target-RT is the extended community but why we are using under the address-family?
The reason you need to configure the address-family is first to enable the address family (either ipv4, ipv6 or both) and second to allow for different route-target for each address family, if you wish to do so. You would normally use the same route-target for both ipv4 or ipv6 though.
> 2- i cant find the way to set the RT value as it is not accepting any values only giving the option for the download... how can > i set the RT value here.
The "route-target download" is another feature. For the route-target required for L3VPN, you need to configure it in the following way:
vrf Test1
address-family ipv4 unicast
import route-target
100:1
!
export route-target
100:1
!
!
!
Regards,
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