Sorry for pressing early send button I meant.

 

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

 

Thanks

Santosh P K

 

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

 

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@broadcom.com>
Date: Thursday, 12 December 2019 at 3:51 PM
To: Santosh P K <sapk@vmware.com>, "dev@lists.frrouting.org" <dev@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@vmware.com>
Date: Thursday, 12 December 2019 at 3:20 PM
To: "dev@lists.frrouting.org" <dev@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@broadcom.com>
Date: Thursday, 12 December 2019 at 12:52 PM
To: "dev@lists.frrouting.org" <dev@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