I have been noticing a lot lately while doing the INE OSPF labs on their CSR100v's that when I issue the no form of certain commands, the router will not remove the command or worse will only remove a section of it.
For example:
R5#sh run | s router ospf
router ospf 1
area 3 nssa
summary-address 0.0.0.0 0.0.0.0 not-advertise
network 150.1.5.0 0.0.0.255 area 0
network 155.1.0.0 0.0.0.255 area 0
network 155.1.5.0 0.0.0.255 area 3
network 155.1.45.0 0.0.0.255 area 0
network 155.1.58.0 0.0.0.255 area 3
neighbor 155.1.0.4
neighbor 155.1.0.3
neighbor 155.1.0.2
neighbor 155.1.0.1
R5#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R5(config)#router ospf 1
R5(config-router)#no summary-address 0.0.0.0 0.0.0.0 not-advertise
R5(config-router)#do sh run | s router ospf
router ospf 1
area 3 nssa
summary-address 0.0.0.0 0.0.0.0 not-advertise
network 150.1.5.0 0.0.0.255 area 0
network 155.1.0.0 0.0.0.255 area 0
network 155.1.5.0 0.0.0.255 area 3
network 155.1.45.0 0.0.0.255 area 0
network 155.1.58.0 0.0.0.255 area 3
neighbor 155.1.0.4
neighbor 155.1.0.3
neighbor 155.1.0.2
neighbor 155.1.0.1
R5(config-router)#no summary-address 0.0.0.0 0.0.0.0
R5(config-router)#do sh run | s router ospf
router ospf 1
area 3 nssa
network 150.1.5.0 0.0.0.255 area 0
network 155.1.0.0 0.0.0.255 area 0
network 155.1.5.0 0.0.0.255 area 3
network 155.1.45.0 0.0.0.255 area 0
network 155.1.58.0 0.0.0.255 area 3
neighbor 155.1.0.4
neighbor 155.1.0.3
neighbor 155.1.0.2
neighbor 155.1.0.1
I clearly told the router to remove the summary statement but it would not until dropped the option on the end.
Other times with nssa commands in particular, if I use the no form of the command with all the options, the router will just remove the options and not the main command.
Any ideas why this is happening?
Normal 0 false false false EN-US X-NONE X-NONE /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin:0in; mso-para-margin-bottom:.0001pt; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}