Interface mode ospf config not getting deleted opon unconfiguring ospf router

Santosh P K sapk at vmware.com
Thu Dec 12 09:38:49 EST 2019


Naveen,
     I see that when you remove router ospf under interface ip ospf area <area-id> goes away but authentication configuration stays. Though it would not impact your functionality as config for OSPF is removed configuration stays.

Thanks
Santosh P K

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

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/2d43807f/attachment-0001.html>


More information about the dev mailing list