0 Replies Latest reply on Jan 31, 2020 1:11 PM by cctsay

    bgp route failed to redist to ospf issues..

    cctsay New Member

      AOS should be able to support bgp->ospf redistribution but I cannot get it going for some reason.

      As you can see below, 169.1.11.0 is on OSPF database but no go to form the OSPF route.

      Did I miss any?

       

       

      NV4430-1-primary# sh bgp ipv4 neighbors 10.241.15.25 received-routes

      BGP local router ID is 66.1.1.26, local AS is 65024.

      Status codes: * valid, > best, i - internal, o - local

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

      Network NextHop         Metric LocPrf      Path

      *> 169.1.11.0/24 10.241.15.25 3549 i

       

      NV4430-1-primary#sh ip route 169.1.11.2

      Routing entry for 169.1.11.0/24

        Known via "BGP 65024", type external

        Distance 20, metric 0/0

        Routing Next Hop(s):

           10.241.15.25, via giga-eth 0/1.226

             Route metric is 0/0, tag is 3549

      NV4430-1-primary#

       

      NV4430-1-primary#sh run | b router ospf 1

      router ospf 1

        redistribute bgp subnets

        redistribute connected subnets

        network 20.70.18.0 0.0.0.255 area 0

       

      NV4430-1-primary#sh run | b router bgp

      router bgp 65024

        bgp log-neighbor-changes

        neighbor 10.241.15.25

          remote-as 3549

          no shutdown

          exit

        address-family ipv4

          network 0.0.0.0 mask 0.0.0.0

          redistribute ospf 1

          redistribute static

          neighbor 10.241.15.25

            send-community standard

            soft-reconfiguration inbound

            no shutdown

            exit

          exit

       

      NV4430-1-primary#sh ip ospf neighbor | i 20.70.18

      1. 198.168.1.2        1 FULL/BDR         00:00:31 20.70.18.2      eth 0/1.17

      NV4430-1-primary#

       

      NV4430-1-primary#sh ip route ospf | i 169.1.11

       

      NV4430-1-primary#sh ip ospf database | i 169.1.11

      66.1.1.26        685 0x80000001  0xFFBF 169.1.11.0/24        3549

       

      NV4430-1-primary#sh ip ospf 1 database

       

      OSPF router with ID: 66.1.1.26 (Process ID 1)

       

        Router Link States, Area 0

          Adv Router       Age   Seq #       Checksum  Link count Bits

          66.1.1.26        1261 0x80000003  0xE2D4 1            E

      198.168.1.2      1261  0x80000001 0x1260 1 None

       

        Network Link States, Area 0

          Adv Router       Age   Seq #       Checksum  Prefix/Link ID       Rtr count

      66.1.1.26        1261  0x80000001 0xD2E9 20.70.18.1/24        2

       

        External Link States

          Adv Router       Age   Seq #       Checksum  Prefix/Link ID       Tag

          66.1.1.26        1699 0x80000001  0xC1F3    10.241.13.164/30 0

      66.1.1.26        1699  0x80000001 0x2917    10.241.15.24/30      0

      66.1.1.26        1699  0x80000001 0x1E7D    100.80.16.0/24       0

          66.1.1.26 934   0x80000001  0xFFBF 169.1.11.0/24        3549

      NV4430-1-primary#