Interface mode ospf config not getting deleted opon unconfiguring ospf router

Naveen K Suvarna naveen.suvarna at broadcom.com
Thu Dec 12 05:20:58 EST 2019


Hi Santhosh,

Thanks for the response.
Below is my config and test.  On area-1 interface Ethernet8 I have authentication command configured. If I unconfigure ospf router, I see that  router interface  Ethernet8 ip ospf configuration remains as it is.

Dut1(config-if)# do write ter ospfd
Building configuration...

Current configuration:
!
frr version 7.2-sonic
frr defaults traditional
hostname Dut1
!
interface Ethernet8
ip ospf area 1
ip ospf authentication
ip ospf authentication-key Ptext3
!
router ospf
ospf router-id 192.0.1.2
!
line vty
!
end
Dut1(config-if)# exit
Dut1(config)# no router ospf
Dut1(config)# do write ter ospfd
Building configuration...

Current configuration:
!
frr version 7.2-sonic
frr defaults traditional
hostname Dut1
!
interface Ethernet8
ip ospf authentication
ip ospf authentication-key Ptext3
!
line vty
!
end
Spine1(config)#

Regards
Naveen

From: Santosh P K <sapk at vmware.com>
Date: Thursday, 12 December 2019 at 3:20 PM
To: "dev at lists.frrouting.org" <dev at lists.frrouting.org>
Subject: Re: Interface mode ospf config not getting deleted opon unconfiguring ospf router

Hello Naveen,
     I tried it locally with both 7.0 and 7.2. I can see that it is working fine. When router ospf is disabled configuration under interface goes away too. Is this your configuration or did you have more configuration under interface?

Thanks
Santosh P K

From: Naveen K Suvarna <naveen.suvarna at broadcom.com>
Date: Thursday, 12 December 2019 at 12:52 PM
To: "dev at lists.frrouting.org" <dev at lists.frrouting.org>
Subject: Interface mode ospf config not getting deleted opon unconfiguring ospf router

Hi,

     In FRR 7.2 OSPF, When ospf router is Unconfigured, interface mode ospf configurations are not getting deleted from running config.
     Is this behavior designed with any specific reason  ?

Example:
  router ospf
    ospf rouer-id 1.1.1.1

 interface Ethernet8
    ip ospf area 0

   With above config, if I issue command “no router ospf”,   interface level ospf configs will not get removed/deleted.

Regards
Naveen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/dev/attachments/20191212/b5f7d861/attachment-0001.html>


More information about the dev mailing list