Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Mikael
Employee Employee
Employee

OSPF configuration not shown in "show configuration"

Hello,

 

We have an issue with R81.10.08 where OSPF configuration that we've added to advertise interfaces are not included in the "show configuration".

How do we make sure that all config is included, or what information besides "show configuration" is needed in case we need to restore a gateway?

Example config not included:

set ospf area 1.1.30.1 on
set ospf area 1.1.30.1 nssa
set ospf interface WAN area 1.1.30.1 on
set ospf interface LAN1 area 1.1.30.1 on
set ospf interface LAN1.230 area 1.1.30.1 on
set ospf interface LAN1.231 area 1.1.30.1 on
set ospf interface LAN1.232 area 1.1.30.1 on
set ospf interface LAN1.240 area 1.1.30.1 on
set ospf interface LAN1.304 area 1.1.30.1 on
set ospf interface LAN1.860 area 1.1.30.1 on
set ospf interface LAN1.861 area 1.1.30.1 on
set ospf interface LAN1.902 area 1.1.30.1 on

0 Kudos
11 Replies
G_W_Albrecht
Legend Legend
Legend

I would suggest to use a backup file instead of show configuration (that has a couple of known shortcomings).

 

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
0 Kudos
G_W_Albrecht
Legend Legend
Legend

 

grafik.png

CCSP - CCSE / CCTE / CTPS / CCME / CCSM Elite / SMB Specialist
the_rock
Legend
Legend

Silly question, but if you did it through clish, did you do save config?

Best,

Andy

0 Kudos
Mikael
Employee Employee
Employee

save config on Spark?

0 Kudos
the_rock
Legend
Legend

From clish, right. Like below on the regular gateway.

Andy

[Expert@CP-STANDALONE:0]# clish
CP-STANDALONE> set clienv on-failure stop
CP-STANDALONE> save config
CP-STANDALONE> exit
[Expert@CP-STANDALONE:0]#

 

0 Kudos
Mikael
Employee Employee
Employee

fwsb01> save
Bad parameter starting at 'save'
fwsb01>

0 Kudos
the_rock
Legend
Legend

Definitely not available on smb, my bad mate, sorry about that. Btw, what do you see in web UI as per below?

Andy

 

Screenshot_1.png

0 Kudos
the_rock
Legend
Legend

Never mind, layer 8 issue on my end lol. I rarely work with SMB, but save config is not even available, so definitely not needed. If you run show configuration, do you see it there?

Andy

0 Kudos
the_rock
Legend
Legend

Since this is really buggine me, I spun up demo point lab quickly for SMB, ran commands you sent, except I can only do LAN1 interface, which is fine and once I did it, I see below for ospf. Btw, 2nd command should be set ospf asrea 1.1.30.1 nssa on

Andy

 

**********************

 

Gateway-ID-29322439> show ospf summary
---------------------------- OSPF Instance default -----------------------------


SPF schedule delay: 2 secs
Hold time between two SPFs: 5 secs
Number of Areas in this router: 1
Normal: 0 Stub: 0 NSSA: 1
RFC1583 compability mode is on
It is an autonomous system boundary router
Number of Virtual Links in this router: 0
Number of UpEvents: 1 Number of DownEvents: 0
Default ASE Cost: 1
Default ASE Type: 1

Area: 1.1.30.1

Number of Interfaces in this area: 1
Area is a Not-So-Stubby area
Cost for default route: 1 Metric Type: 1
Number of ABRs: 0 Number of ASBRs: 1
Number of times SPF Algorithm executed: 1
No Area Ranges Configured
No Area Stubnets Configured


Gateway-ID-29322439>

 

************************

0 Kudos
Mikael
Employee Employee
Employee

Sure, we do see the OSPF config through that command.

And the configuration is available when you run "show router-configuration".

But it's not included in "show configuration"

0 Kudos
the_rock
Legend
Legend

I totally get what you mean now @Mikael . Here is what I did in that demo lab. I ran from expert -> clish -c "show configuration" > /config.txt

Then, I ran grep -i "ospf" config.txt and did not give me what I expected.

Maybe its by default, not sure...

Andy

 

[Expert@Gateway-ID-29322439]# grep -i "ospf" /config.txt
add service-protocol name "OSPF" ip-protocol "89" comments "Open Shortest Path First Interior Gateway Protocol" proto-type "none"
set service-protocol "OSPF" name "OSPF" ip-protocol "89" proto-type "none" comments "Open Shortest Path First Interior Gateway Protocol" session-timeout "60" accept-replies "false" sync-connections-on-cluster "true" aggr
essive-aging-enable "true" aggressive-aging-timeout "15"
[Expert@Gateway-ID-29322439]#

0 Kudos

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events