OSPF and BGP redistribution issue

From: Anh Khoa Le Viet (lvakhoa@gmail.com)
Date: Wed Apr 23 2008 - 12:45:17 ART


Dear Experts,

I'm facing an issue in BGP and OSPF redistribution in my network as below,
would you pls have a look and give any idea?

    SW1 -------------- CORE_R1------------------(MPLS/OSPF)
------------CORE_R2--------SW2----------R3

   + R3 is advertising internet route into SW2
   + SW1 is a Router with Switching module included and current running OSPF
with R3 and redistribute route from OSPF to SW1:
         config parts: router bgp 65000*
                               address-family ipv4 vrf ABC
                               redistribute connected
                               redistribute static
                               redistribute ospf 1 vrf ABC match internal
external 1 external 2
                               default-information originate
                          router ospf 102 vrf ABC
                                redistribute bgp 65000 subnets route-map
ABC_bgp-to-ospf
                                network x.x.x.x 0.0.0.63 area 0
                                network y.y.y.y 0.0.0.3 area 0
                                distribute-list prefix ABC_ospf-to-bgp in
Vlan175
                         ip access-list standard ABC_bgp-to-ospf
                                 permit 192.168.64.0 0.0.0.63
                                 permit 192.168.128.0 0.0.0.127
                                 permit 192.168.192.0 0.0.0.15
                        ip prefix-list ABC_ospf-to-bgp seq 10 permit
172.24.100.0/24
                        ip prefix-list ABC_ospf-to-bgp seq 20 permit
172.24.99.0/24
                        ip prefix-list ABC_ospf-to-bgp seq 50 deny
0.0.0.0/0le 32
     *This is the originate configuration, after I changed "* ip prefix-list
ABC_ospf-to-bgp seq 50 deny 0.0.0.0/0 le 32 "* to "* ip prefix-list
ABC_ospf-to-bgp seq 50 permit 0.0.0.0/0 le 32" *redistribute all route
learnt from OSPF into BGP and used "clear ip ospf 102 redis" plus "clear
ip bgp 65000 soft", all routes from R3 displayed (about 30 mins later) in
routing table of vrf ABC as O E2 (show ip route vrf ABC). But this will
cause the network unstable and high CPU usage in my devices, so I edited the
prefix-list back to "*ip prefix-list ABC_ospf-to-bgp seq 50 deny
0.0.0.0/0le 32"
*and retstart OSPF, BGP as before again, but the routes imported still in
routing table of vrf ABC when it should only contain permitted routes
(172.24.....) as defined in the prefix list.
    Are there's any issue with my config as I just changed the prefix-list
and back to original again? Is there any command that I missed? Are there
any commands that soft reset the OSPF?

Thanks and Regards,
Khoa Le

* * * *

Pass the CCIE in six weeks, Guaranteed!
http://www.certscience.com/CCIE



This archive was generated by hypermail 2.1.4 : Thu May 01 2008 - 08:25:51 ART