cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
409
Views
0
Helpful
1
Replies

MPLS-TE for vpnv4 routes on XRV

sachin30720041
Level 1
Level 1

Hello,

I have following setup.

ios4-----------XRV1------------XRV2---------XRV3---------ios5

 There is a MPLS TE tunnel from XRV1 to XRV3. vpnv4 routes are exchanged between XRV1 and XRV3.

But ping between ios4 to ios5 does not work.

ios4r#ping 5.5.5.5 source 4.4.4.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 5.5.5.5, timeout is 2 seconds:
Packet sent with a source address of 4.4.4.4
U.U.U

I am not sure what config am I missing.

Below is the complete configuration.

IOS4
--------------------
int gi0/0
ip address 100.10.40.4 255.255.255.0
no sh

int lo0
ip address 4.4.4.4 255.255.255.255

router bgp 4
template peer-session session1
remote-as 13
exit
neighbor 100.10.40.1 inherit peer-session session1
address-family ipv4 unicast
network 4.4.4.4 mask 255.255.255.255
neighbor 100.10.40.1 activate

XRV1
-------------------
int tunnel-te1
destination 3.3.3.3
ip unnumbered lo0
path-option 1 dynamic
autoroute announce
exit

mpls traffic-eng
int gi0/0/0/1
exit
no int lo0
exit

rsvp
int gi0/0/0/1
exit
int lo0
exit

vrf vrf1
address-family ipv4 unicast
export route-target 1:1
import route-target 3:3
exit

int gi0/0/0/0
vrf vrf1
ipv4 address 100.10.40.1 255.255.255.0
no sh


int gi0/0/0/1
ipv4 address 100.10.20.1 255.255.255.0
no sh

int lo0
ipv4 address 1.1.1.1 255.255.255.255


router ospf 1
mpls traffic-eng router-id lo0
area 0
mpls traffic-eng
int gi0/0/0/1
int lo0
exit


route-policy pass
pass
exit

router bgp 13
address-family vpnv4 unicast
exit
address-family ipv4 unicast
exit
session-group session4
remote-as 4
exit
neighbor-group group1
remote-as 13
update-source lo0
address-family vpnv4 unicast
exit
neighbor 3.3.3.3
use neighbor-group group1
exit
vrf vrf1
rd 1:1
address-family ipv4 unicast
exit
neighbor 100.10.40.4
use session-group session4
address-family ipv4 unicast
route-policy pass in
route-policy pass out
exit


XRV2
-------------------
mpls traffic-eng
int gi0/0/0/1
exit
int gi0/0/0/0
exit
no int lo0
exit
root

rsvp
int gi0/0/0/1
exit
int gi0/0/0/0
exit
int lo0
exit
root

int gi0/0/0/0
ipv4 address 100.20.30.2 255.255.255.0
no sh

int gi0/0/0/1
ipv4 address 100.10.20.2 255.255.255.0
no sh

int lo0
ipv4 address 2.2.2.2 255.255.255.255

router ospf 1
mpls traffic-eng router-id lo0
area 0
mpls traffic-eng
int gi0/0/0/1
int gi0/0/0/0
int lo0
exit

XRV3
-------------------


int tunnel-te1
destination 1.1.1.1
ip unnumbered lo0
path-option 1 dynamic
autoroute announce
exit

mpls traffic-eng
int gi0/0/0/0
exit
no int lo0
exit

rsvp
int gi0/0/0/0
exit
int lo0
exit


vrf vrf1
address-family ipv4 unicast
no export route-target 2:2
export route-target 3:3
import route-target 1:1
exit

route-policy pass
pass
exit

router bgp 13
address-family ipv4 unicast
exit
address-family vpnv4 unicast
exit
session-group session5
remote-as 5
exit
neighbor-group group1
remote-as 13
update-source lo0
address-family vpnv4 unicast
exit
exit
neighbor 1.1.1.1
use neighbor-group group1
exit
vrf vrf1
rd 3:3
address-family ipv4 unicast
exit
neighbor 100.30.50.5
use session-group session5
address-family ipv4 unicast
route-policy pass in
route-policy pass out
exit

int gi0/0/0/0
ip address 100.20.30.3 255.255.255.0
no sh


int gi0/0/0/1
vrf vrf1
ip address 100.30.50.3 255.255.255.0
no sh

int lo0
ip address 3.3.3.3 255.255.255.255
exit

router ospf 1
mpls traffic-eng router-id lo0

area 0
mpls traffic-eng
int gi0/0/0/0
int lo0
exit

ios5
--------------------
int gi0/1
ip address 100.30.50.5 255.255.255.0
no sh

int lo0
ip address 5.5.5.5 255.255.255.255

router bgp 5
template peer-session session1
remote-as 13
exit
neighbor 100.30.50.3 inherit peer-session session1
address-family ipv4 unicast
network 5.5.5.5 mask 255.255.255.255
neighbor 100.30.50.3 activate

1 Reply 1

Harold Ritter
Level 12
Level 12

Hi @sachin30720041 ,

Configuring "mpls ldp" on XRV1 and XRV3 will fix this issue.

Regards,

Harold Ritter
Sr Technical Leader
CCIE 4168 (R&S, SP)
harold@cisco.com
México móvil: +52 1 55 8312 4915
Cisco México
Paseo de la Reforma 222
Piso 19
Cuauhtémoc, Juárez
Ciudad de México, 06600
México