-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deleting area in OSPF does not removes it from system at all #17415
Comments
This works for me in ubuntu 24.02 with that lastest. acee-ubuntu(config-router)# area 0 acee-ubuntu# config t acee-ubuntu# show ip ospf area acee-ubuntu# |
This problem was fixed by: commit baf6047
|
Description
Removing an area from the configuration leaves it active in show ip ospf
Version
How to reproduce
Run vtysh
configure ospf area
deb-tests# conf
deb-tests(config)# router ospf
deb-tests(config-router)# area 0 range 0.0.0.0/0
deb-tests#
delete ospf area
deb-tests# configure
deb-tests(config)# router ospf
deb-tests(config-router)# no area 0 range 0.0.0.0/0
deb-tests(config-router)# end
deb-tests#
Expected behavior
show ip ospf should have no areas running
deb-tests# show ip ospf
OSPF Routing Process, Router ID: 192.168.5.113
Supports only single TOS (TOS0) routes
This implementation conforms to RFC2328
RFC1583Compatibility flag is disabled
OpaqueCapability flag is disabled
Initial SPF scheduling delay 0 millisec(s)
Minimum hold time between consecutive SPFs 50 millisec(s)
Maximum hold time between consecutive SPFs 5000 millisec(s)
Hold time multiplier is currently 1
SPF algorithm has not been run
SPF timer is inactive
LSA minimum interval 5000 msecs
LSA minimum arrival 1000 msecs
Write Multiplier set to 20
Refresh timer 10 secs
Maximum multiple paths(ECMP) supported 256
Administrative distance 110
Number of external LSA 0. Checksum Sum 0x00000000
Number of opaque AS LSA 0. Checksum Sum 0x00000000
Number of areas attached to this router: 0
Actual behavior
area 0 deleted in configuration but still exists in frr
deb-tests# show ip ospf
OSPF Routing Process, Router ID: 192.168.5.113
Supports only single TOS (TOS0) routes
This implementation conforms to RFC2328
RFC1583Compatibility flag is disabled
OpaqueCapability flag is disabled
Initial SPF scheduling delay 0 millisec(s)
Minimum hold time between consecutive SPFs 50 millisec(s)
Maximum hold time between consecutive SPFs 5000 millisec(s)
Hold time multiplier is currently 1
SPF algorithm has not been run
SPF timer is inactive
LSA minimum interval 5000 msecs
LSA minimum arrival 1000 msecs
Write Multiplier set to 20
Refresh timer 10 secs
Maximum multiple paths(ECMP) supported 256
Administrative distance 110
Number of external LSA 0. Checksum Sum 0x00000000
Number of opaque AS LSA 0. Checksum Sum 0x00000000
Number of areas attached to this router: 1
Area ID: 0.0.0.0 (Backbone)
Number of interfaces in this area: Total: 0, Active: 0
Number of fully adjacent neighbors in this area: 0
Area has no authentication
SPF algorithm executed 0 times
Number of LSA 0
Number of router LSA 0. Checksum Sum 0x00000000
Number of network LSA 0. Checksum Sum 0x00000000
Number of summary LSA 0. Checksum Sum 0x00000000
Number of ASBR summary LSA 0. Checksum Sum 0x00000000
Number of NSSA LSA 0. Checksum Sum 0x00000000
Number of opaque link LSA 0. Checksum Sum 0x00000000
Number of opaque area LSA 0. Checksum Sum 0x00000000
Additional context
If I add other area - 1 or 2 - and then delete them - they are also exists
Only restart of frr service deletes areas.
Checklist
The text was updated successfully, but these errors were encountered: