[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 454
  • Last Modified:

Cisco MPLS Configuration Help Pt 2

Hello Experts,

I have a mpls configuration where I would like networks in one vrf to be viewed by networks in a separate vrf and vice versa.

At the moment networks in vrf called sybase can be viewed by networks in vrf called veraz. However, networks in veraz cannot be viewed by networks in sybase see below:


hongkong#show ip route vrf veraz

Routing Table: veraz
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, + - replicated route

Gateway of last resort is 192.168.0.2 to network 0.0.0.0

S*    0.0.0.0/0 [1/0] via 192.168.0.2
      3.0.0.0/32 is subnetted, 1 subnets
B        3.3.3.3 [20/0] via 180.178.79.2 (sybase), 00:21:07
      180.178.0.0/30 is subnetted, 1 subnets
B        180.178.79.0 [20/0] via 0.0.0.0 (sybase), 00:20:43, FastEthernet0/1
      192.168.0.0/24 is variably subnetted, 2 subnets, 2 masks
C        192.168.0.0/24 is directly connected, FastEthernet0/0
L        192.168.0.1/32 is directly connected, FastEthernet0/0

If you take a look at th configs you will see that

3.0.0.0/32 is subnetted, 1 subnets
B        3.3.3.3 [20/0] via 180.178.79.2 (sybase), 00:21:07
      180.178.0.0/30 is subnetted, 1 subnets
B        180.178.79.0 [20/0] via 0.0.0.0 (sybase), 00:20:43, FastEthernet0/1

are all networks in vrf sybase (which can be viewed in vrf veraz).

However, when I do a show ip route vrf sybase the routes in veraz aren't shown:

hongkong#show ip route vrf sybase

Routing Table: sybase
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, + - replicated route

Gateway of last resort is not set

      3.0.0.0/32 is subnetted, 1 subnets
B        3.3.3.3 [20/0] via 180.178.79.2, 00:24:03
      180.178.0.0/16 is variably subnetted, 2 subnets, 2 masks
C        180.178.79.0/30 is directly connected, FastEthernet0/1
L        180.178.79.1/32 is directly connected, FastEthernet0/1


I believe I have configured the route-targets correctly:

hongkong#show ip vrf detail veraz    
VRF veraz (VRF Id = 2); default RD 1:400; default VPNID <not set>
  Interfaces:
    Fa0/0                  
VRF Table ID = 2
  Export VPN route-target communities
    RT:1:400                 RT:1:300                
  Import VPN route-target communities
    RT:1:400                 RT:1:300                
  No import route-map
  No export route-map
  VRF label distribution protocol: not configured
  VRF label allocation mode: per-prefix


and for sybase

hongkong#show ip vrf detail sybase
VRF sybase (VRF Id = 1); default RD 1:300; default VPNID <not set>
  Interfaces:
    Fa0/1                  
VRF Table ID = 1
  Export VPN route-target communities
    RT:1:300                 RT:1:400                
  Import VPN route-target communities
    RT:1:300                 RT:1:400                
  No import route-map
  No export route-map
  VRF label distribution protocol: not configured
  VRF label allocation mode: per-prefix


However, I still can't see the routes from veraz showing in vrf sybase.

Can someone please shed some light on what I might be doing wrong?


Cheers

Carlton
22-13-20--sybase-127.0.0.1-.txt
22-13-53--dialogic-127.0.0.1-.txt
22-14-09--hongkong-127.0.0.1-.txt
22-14-24--London-127.0.0.1-.txt
screenshot.png
0
cpatte7372
Asked:
cpatte7372
  • 3
  • 2
1 Solution
 
cpatte7372Author Commented:
Can I please get some help with this?
0
 
harbor235Commented:
Import/export  the RDs into each vrf,

example:
route-target export 100:2000
route-target import 100:2000


harbor235 ;-}
0
 
cpatte7372Author Commented:
Hi Harbor,

I've imported/exported the RDs
0
 
harbor235Commented:
ip vrf sybase
 rd 1:300
 route-target export 1:300
 route-target export 1:400
 route-target import 1:300
 route-target import 1:400
!
ip vrf veraz
 rd 1:400
 route-target export 1:400
 route-target export 1:300
 route-target import 1:400
 route-target import 1:300


Try this
**********************************************
ip vrf sybase
 rd 1:300
 route-target export 1:300
 route-target import 1:400

ip vrf veraz
 rd 1:400
 route-target export 1:400
 route-target import 1:300


harbor235 ;}
0
 
cpatte7372Author Commented:
Harbor, that worked like a dream.

Cheers mate.
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now