Uploaded image for project: 'bgpcep'
  1. bgpcep
  2. BGPCEP-902

Unable to delete BGP-LU routes

XMLWordPrintable

      Configured controller and one virtual cisco router c7200

      Added neighbor from both side to each other using following configuration.

      on controller added peer using following api

      http://localhost:8181/restconf/config/openconfig-network-instance:network-instances/network-instance/global-bgp/openconfig-network-instance:protocols/protocol/openconfig-policy-types:BGP/bgp-example/bgp/neighbors

      having xml body :

      <neighbor xmlns="urn:opendaylight:params:xml:ns:yang:bgp:openconfig-extensions">

          <neighbor-address>192.168.10.2</neighbor-address>

          <timers>

              <config>

                  <hold-time>180</hold-time>

                  <connect-retry>10</connect-retry>

              </config>

          </timers>

          <transport>

              <config>

                  <remote-port>179</remote-port>

              </config>

          </transport>

          <config>

              <peer-type>EXTERNAL</peer-type>

              <peer-as>100</peer-as>

          </config>

          <afi-safis>

             <afi-safi>

                  <afi-safi-name xmlns:x="http://openconfig.net/yang/bgp-types">x:IPV4-UNICAST</afi-safi-name>

              </afi-safi>

              <afi-safi>

                  <afi-safi-name xmlns:x="http://openconfig.net/yang/bgp-types">x:IPV4-LABELLED-UNICAST</afi-safi-name>

              </afi-safi>

              <afi-safi>

                  <afi-safi-name xmlns:x="http://openconfig.net/yang/bgp-types">x:IPV6-LABELLED-UNICAST</afi-safi-name>

              </afi-safi>

          </afi-safis>

      </neighbor>

       

      on cisco router configuration is :

      router bgp 100
      no bgp enforce-first-as
      neighbor 192.168.10.1 remote-as 500
      neighbor 192.168.10.1 update-source gig0/0
      !
      !
      address-family ipv4 unicast
      neighbor 192.168.10.1 activate
      neighbor 192.168.10.1 next-hop-self
      neighbor 192.168.10.1 send-label

      after that i was able to see they are connected to each other

      then I advertised route from cisco router using command :

      network 192.168.100.0 mask 255.255.255.0

      which immediately updated in controller and I able to see the route in adj-rib-in effective-rib-in and loc-rib under "labeled-unicast-route"

       

      after that I withdrawn route from the cisco router using following command :
      no network 192.168.100.0 mask 255.255.255.0

      as soon as I entered the command I seen update message for withdrawn route in karaf.log file but the route was not removed from adj-rib-in, effective-rib-in and loc-rib.

            Unassigned Unassigned
            KDeshmukh Kailas Deshmukh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - 1 week
                1w
                Remaining:
                Remaining Estimate - 1 week
                1w
                Logged:
                Time Spent - Not Specified
                Not Specified