MERAprojects / ops-quagga

GNU General Public License v2.0
0 stars 0 forks source link

The command `show ip neighbor` displays thyself as neighbor #19

Closed xivamar closed 7 years ago

xivamar commented 8 years ago

Problem Description:

The command show ip neighbor displays thyself as neighbor

OpenSwitch version:

OpenSwitch 1.0.0 (Build: appliance-ops-1.0.0-release+2016090200)

Test Topology:

ospf_topology

Steps to reproduce the problem:

  1. Configure DUTs as in attached file.
  2. Check adjacency via show ip ospf neighbor on DUT1. - NOK: neighbor 192.168.2.1 should be absent :

    switch# show ip ospf neighbor 
    
        Neighbor ID Pri State           Dead Time Address         Interface            RXmtL RqstL DBsmL
    ----------------------------------------------------------------------------------------------------
    192.168.3.1       1 Full/DR           35.679s 172.16.1.3      eth1:172.16.1.2/24       0     0     0
    192.168.1.1       1 Full/DROther      39.248s 172.16.1.1      eth1:172.16.1.2/24       0     0     0
    192.168.2.1       0 2-Way/DR         inactive 172.16.51.1     eth2:172.16.51.1/24      0     0     0
    192.168.2.1       0 2-Way/Backup     inactive 172.16.1.2      eth1:172.16.1.2/24       0     0     0
    switch# 
  3. If we configure router_id for ospf router that neighbors are displayed correctly.

    switch# configure terminal 
    switch(config)# router ospf
    switch(config-router)# router-id 192.168.2.1
    switch(config-router)# end
    switch# 
    switch# 
    switch# show ip ospf neighbor 
    
       Neighbor ID Pri State           Dead Time Address         Interface            RXmtL RqstL DBsmL
    ----------------------------------------------------------------------------------------------------
    192.168.3.1       1 Full/DR           33.297s 172.16.1.3      eth1:172.16.1.2/24       0     0     0
    192.168.1.1       1 Full/DROther      36.865s 172.16.1.1      eth1:172.16.1.2/24       0     0     0
    switch# 

config.txt

xivamar commented 7 years ago

fixed.

   switch# show version 
   OpenSwitch 0.4.0 (Build: appliance-ops-0.4.0-devel/master-20161107122528-dev)
   switch#