• September 21, 2020, 08:09:23 AM
Welcome, Guest. Please login or register. Registration is free.
Did you miss your activation email?

Author Topic: Question about the backup/restore config on ERS4500 with the version v5.6.3.025  (Read 5270 times)

0 Members and 1 Guest are viewing this topic.

Offline mapodres

  • Rookie
  • **
  • Posts: 12
Hi all,

I have a question about a new command on v5.6.3.025 (maybe integrated before / i don't know) :

There are a new feature like Cisco : "sh run | include xxx"

In Nortel it's: "sh run verbose module xxx"

To display the what exactly we want to show (example: "sh run verbose module vlacp").

Or "sh run verbose" to show the complete config.


My question now is about the backup and restore of a config switch.

I can make:

1) This command backup on tftp the COMPLETE configuration of the switch in ASCII file (all switch parameters):
 "copy running-config tftp verbose address 10.1.20.232 filename switch1-verbose.tx"

or/and

2) and This command backup on tftp the minimalist configuration of the switch in ASCII file (only parameters different to default)
 "copy running-config tftp address 10.1.20.232 filename switch1.tx"

However, when I would like to restore the switch with the minimalist config (switch1.tx), I lost few parameters.
Example: I lost the netmask of the switch (command: ip address netmask 255.255.255.0)
Very annoying problem !

What is your position about the restore ? You restore always with the full configuration ? Is it normal ?

Thanks and regards.


Offline MatzeKS

  • Sr. Member
  • ****
  • Posts: 311
    • matzeks
    • Controlware GmbH - Germany
Hi mapodres, first you did NOT lost parts of your non-verbose-config.

"show running-config" shows only values are different from default values.

Subnet mask 255.255.255.0 is a default value, so it is not included in your non-verbose-config.

In addition you can save your config including all values and security related parts in binary format.
Your restore of that binary config to the same type of box, same size of stack and same running code will bring your config 1:1 to your spare part.

You can save the binary config like: save config usb/tftp (address a.b.c.d) filename ers-45xx-binary.cfg

Good luck
------------------------------------------------------
ACE-Fx #00050

Offline mapodres

  • Rookie
  • **
  • Posts: 12
Hi MatzeKS and thanks for your answer.

I try to explain what it's happened:

1) I have started from a default config switch
2) I have restored the configuration with the minimalist config file (switch1.tx) in my example.
3) when I checked the result, I notice that I lost the netmask (ip address netmask 0.0.0.0)

I conclude that it's mandatory to restore with the full config file (or the binary file...).

Is it correct ?

Offline Dominik

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1564
    • Networkautobahn
You should be able to restore with an ascii config file the config of the switch.
Take a look at the ascii config you should find in the IP section:
ip default-gateway x.x.x.x
ip address switch/stack x.x.x.x
ip address netmask x.x.x.x
Make sure that there is not a ! before one of the commands.

Passwords and SNMPv3 communitys are only in the binary config included.
For backup/restore I would recommand the binary config.

Good Luck
Itīs always the networks fault!
networkautobahn.com

Offline mapodres

  • Rookie
  • **
  • Posts: 12
Hi Dominik,

On my switch1.tx file I have this:

! *** IP  ***
!
ip default-gateway 10.10.14.1
ip address stack 10.10.14.7
ip address unit 1 0.0.0.0
ip address unit 2 0.0.0.0
!

And after the restore, I have "ip address netmask 0.0.0.0" instead of "ip address netmask 255.255.255.0"
(when i make a "sh run verbose")

It's the problem...

Offline Dominik

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1564
    • Networkautobahn
You can add the
ip address netmask 255.255.255.0
line to your config or use the binary config to fix your problem.

I checked one of my ERS4k switches with SW 5.6.2, and it has the corect entry for the netmask
in the ascii saved config file. In my testswitch it is also a /24 netmask.

Itīs always the networks fault!
networkautobahn.com

Offline mapodres

  • Rookie
  • **
  • Posts: 12
Strange... Ok thx all for your help.

I will add the netmask manually in the config now to be sure there are no problem....

Rgds.