MERAprojects / ops-build

Other
0 stars 0 forks source link

Removing interface ospf priority is failed if OSPF router is already deleted #36

Open xivamar opened 7 years ago

xivamar commented 7 years ago

Problem Description:

Removing interface ospf priority is failed if OSPF router is already deleted.

Test Topology:

Single DUT

Steps to reproduce the problem:

  1. Configure DUT as in attached file..

  2. Check config via show running-config.

  3. Try to cleanup config - NOK: ospf interface priority isn't removed from eth1:

    switch# conf ter switch(config)# no router ospf switch(config)# no interface loopback 1 switch(config)# interface eth2 switch(config-if)# shutdown switch(config-if)# no ip address 172.16.10.5/30 switch(config-if)# exit switch(config)# interface eth1 switch(config-if)# shutdown switch(config-if)# no ip address 172.16.1.3/24 switch(config-if)# no ip ospf priority 100 % Unknown command. switch(config-if)# no ip ospf priority OSPF interface is not present. switch(config-if)# switch(config-if)# no ip ospf % Command incomplete. switch(config-if)# end

  4. Check config via show running-config. - NOK: ospf interface priority isn't removed from eth1.

del_ospf_interface_priority.txt