×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Default Route is not redistributed in vrf

Unanswered Question
Jul 26th, 2013
User Badges:

Hello,


i have some problems with redistributing my default route through my mpls cloud. I think the problem is because it is not in the bgp table. But i don't see why. Any ideas?


thanks in advanced


Alex



Here is config of my PE router.

==== OSPF ====

router ospf 110 vrf IAS

router-id 172.22.25.241

capability vrf-lite

redistribute bgp 65000 subnets

network 172.22.25.0 0.0.0.7 area 0

network 172.22.25.241 0.0.0.0 area 0

default-information originate


==== BGP ====


router bgp 65000

bgp log-neighbor-changes

neighbor RR-COLO1 peer-group

neighbor RR-COLO1 remote-as 65000

neighbor RR-COLO1 update-source Loopback1

neighbor 172.16.128.252 peer-group RR-COLO1

neighbor 172.16.130.252 peer-group RR-COLO1

!

address-family ipv4

  neighbor 172.16.128.252 activate

  neighbor 172.16.130.252 activate

exit-address-family

!

address-family vpnv4

  neighbor RR-COLO1 send-community both

  neighbor RR-COLO1 route-reflector-client

  neighbor 172.16.128.252 activate

  neighbor 172.16.130.252 activate

exit-address-family

!

address-family ipv4 vrf IAS

  redistribute connected

  redistribute ospf 110

  default-information originate




show ip route vrf IAS


Gateway of last resort is 172.22.25.6 to network 0.0.0.0



O*E2  0.0.0.0/0 [110/1] via 172.22.25.6, 00:21:36, FastEthernet0/1.110


show ip ospf database external 0.0.0.0


                Type-5 AS External Link States



  Routing Bit Set on this LSA in topology Base with MTID 0

  LS age: 1391

  Options: (No TOS-capability, DC)

  LS Type: AS External Link

  Link State ID: 0.0.0.0 (External Network Number )

  Advertising Router: 10.0.25.254

  LS Seq Number: 80000001

  Checksum: 0x3759

  Length: 36

  Network Mask: /0

        Metric Type: 2 (Larger than any link state path)

        MTID: 0

        Metric: 1

        Forward Address: 0.0.0.0

        External Route Tag: 1


show ip bgp vpnv4 vrf IAS

BGP table version is 622, local router ID is 172.16.137.252

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,

              r RIB-failure, S Stale, m multipath, b backup-path, x best-external, f RT-Filter

Origin codes: i - IGP, e - EGP, ? - incomplete



   Network          Next Hop            Metric LocPrf Weight Path

Route Distinguisher: 65000:110 (default for vrf IAS)

*> 10.0.25.0/24     172.22.25.6              2         32768 ?

r>i172.22.16.0/29   172.16.128.252           0    100      0 ?

r>i172.22.16.241/32 172.16.128.252           0    100      0 ?

r>i172.22.16.242/32 172.16.128.252           2    100      0 ?

r>i172.22.18.0/29   172.16.130.252           0    100      0 ?

r>i172.22.18.241/32 172.16.130.252           0    100      0 ?

r>i172.22.18.242/32 172.16.130.252           2    100      0 ?

*> 172.22.25.0/29   0.0.0.0                  0         32768 ?

*> 172.22.25.232/29 172.22.25.6              2         32768 ?

*> 172.22.25.241/32 0.0.0.0                  0         32768 ?

*> 172.22.25.242/32 172.22.25.6              2         32768 ?

*> 172.22.26.0/29   172.22.25.6              3         32768 ?

*> 172.22.26.241/32 172.22.25.6              4         32768 ?

*> 172.22.26.242/32 172.22.25.6              3         32768 ?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
alex.dersch Fri, 07/26/2013 - 13:30
User Badges:

Hello,


i found the problem, i had to add match internal external 2 under the address family bgp configuration


address-family ipv4 vrf IAS

  redistribute connected

  redistribute ospf 110 match internal external 2

  default-information originate


thanks anyways


Alex

Actions

This Discussion