cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
532
Views
0
Helpful
2
Replies

MPLS L3VPN on NX-OS

mrtrieu89
Level 1
Level 1

Hi Guy

I have one ASR9K peering with one Nexus7700 via IBGP

On each device i have VRF A with same route-target import and export  but RD is diffirent

Two device establish IBGP successfull, ASR9K can receive route in VRFA from Nexus but Nexus can't receive route in VRFA from ASR9K

 when show bgp vpnv4 all on Nexus, and Nexus show it was received VPNv4 route from ASR9K 

I don't know why

ASR9K

vrf A

address-family ipv4 un

import route-target 79:79

export route-target 79:79

!

int loopback 1

vrf A

ip address 9.9.9.9/32

!

router bgp 1

router-id 99.99.99.99

add ipv4 un

add vpnv4 un

neighbor 77.77.77.77

remote-as 1

update-source lo0

add ipv4 un

add vpnv4 un

vrf A

rd 9:9

add ipv4 un

network 9.9.9.9/32

Nexus7700

vrf context A

rd 7:7

address-family ipv4 un

route-target import both 79:79

!

int loopback 1

vrf member A

ip address 7.7.7.7/32

!

router bgp 1

router-id 77.77.77.77

add ipv4 un

add vpnv4 un

neighbor 99.99.99.99 remote-as 1

update-source lo0

add ipv4 un

add vpnv4 un

vrf A

add ipv4 un

network 7.7.7.7/32

ASR9K can receive 7.7.7.7 from vrf A when show route vrf A

Nexus can receive 9.9.9.9 when show bgp vpnv4 all but can't receive route from VRF A when show ip route vrf A

Please help me fix this issue

Thanks

2 Replies 2

Vinit Jain
Cisco Employee
Cisco Employee

Hello

Could you please share the below output from Nexus -

- show bgp vrf <vrf-name> ipv4 unicast

- show ip route vrf <vrf-name>

- show bgp vpnv4 unicast

- show feature | in enabled

 From IOS XR:

- show bgp vpnv4 unicast neighbor <Nexus-IP> advertised-routes

Regards

Vinit

Thanks
--Vinit

Dear Vinit Jain

Please check below output

Thanks!!!

ASR9K

#show bgp vpnv4 unicast neighbors 77.77.77.77 advertised-routes 

Network Next Hop From AS Path
Route Distinguisher: 7:7
7.7.7.7/32 99.99.99.99 77.77.77.77 i

Route Distinguisher: 9:9
9.9.9.9/32 99.99.99.99 Local ?

######################################################################

Nexus7K

#show bgp vrf A ipv4 unicast 

BGP routing table information for VRF A, address family IPv4 Unicast
BGP table version is 1729, local router ID is 7.7.7.7
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

Network Next Hop Metric LocPrf Weight Path
*>l7.7.7.7/32 0.0.0.0 100 32768 i
i9.9.9.9/32 99.99.99.99 0 100 0 ?

#show ip route vrf A

IP Route Table for VRF "A"
'*' denotes best ucast next-hop
'**' denotes best mcast next-hop
'[x/y]' denotes [preference/metric]
'%<string>' in via output denotes VRF <string>

7.7.7.7/32, ubest/mbest: 2/0, attached
*via 7.7.7.7, Lo1, [0/0], 1d15h, local
*via 7.7.7.7, Lo1, [0/0], 1d15h, direct

# show bgp vpnv4 unicast
BGP routing table information for VRF default, address family VPNv4 Unicast
BGP table version is 3680, local router ID is 77.77.77.77
Status: s-suppressed, x-deleted, S-stale, d-dampened, h-history, *-valid, >-best
Path type: i-internal, e-external, c-confed, l-local, a-aggregate, r-redist, I-injected
Origin codes: i - IGP, e - EGP, ? - incomplete, | - multipath, & - backup

Network Next Hop Metric LocPrf Weight Path
Route Distinguisher: 7:7 (A)

*>l7.7.7.7/32 0.0.0.0 100 32768 i
i9.9.9.9/32 99.99.99.99 0 100 0 ?

Route Distinguisher: 9:9
*>i9.9.9.9/32 99.99.99.99 0 100 0 ?

# show feature | inc enabl
bfd 1 enabled
bfd_app 1 enabled
bgp 1 enabled
l2vpn 1 enabled
l3vpn 1 enabled
lacp 1 enabled
ldp 1 enabled
netflow 1 enabled
ospf 1 enabled
ospf 2 enabled (not-running)
ospf 3 enabled (not-running)
ospf 4 enabled (not-running)
ospf 5 enabled (not-running)
ospf 6 enabled (not-running)
ospf 7 enabled (not-running)
ospf 8 enabled (not-running)
ospf 9 enabled (not-running)
ospf 10 enabled (not-running)
ospf 11 enabled (not-running)
ospf 12 enabled (not-running)
ospf 13 enabled (not-running)
ospf 14 enabled (not-running)
ospf 15 enabled (not-running)
ospf 16 enabled (not-running)
sla_sender 1 enabled
sshServer 1 enabled
tacacs 1 enabled
tunnel 1 enabled