cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
240
Views
1
Helpful
2
Replies

Cisco ASR920 RMA - startup-config

johnlloyd_13
Level 9
Level 9

hi,

i just received a new ASR920 from an RMA.

i would like to know if i can transfer the 'startup-config' from the current/faulty ASR920, then do a 'copy nvram:start run' in the new/RMA ASR920 and save?

i just edit these lines to reflect the new chassis serial number and temporarily allow telnet since i'd need to generate new SSH keys, then transfer 'startup-config2' in the new ASR920 nvram. will this approach work?

also, what does it mean by 'update merge with'? will this encounter an error/discrepancy with my modified lines?

boot system bootflash: <NEW IOS-XE>
boot system bootflash: <OLD IOS-XE>
license udi pid ASR-920xx sn <NEW S/N>
license boot level advancedmetroipaccess
line vty 0 4
transport input telnet ssh
line vty 5 15
transport input telnet ssh

 

ASR920_NEW#copy nvram:startup-config ?
bootflash: Copy to bootflash: file system
flash: Copy to flash: file system
ftp: Copy to ftp: file system
http: Copy to http: file system
https: Copy to https: file system
null: Copy to null: file system
nvram: Copy to nvram: file system
rcp: Copy to rcp: file system
running-config Update (merge with) current system configuration
scp: Copy to scp: file system
sftp: Copy to sftp: file system
startup-config Copy to startup configuration
syslog: Copy to syslog: file system
system: Copy to system: file system
tftp: Copy to tftp: file system
tmpsys: Copy to tmpsys: file system

 

2 Replies 2

Richard Burts
Hall of Fame
Hall of Fame

I think you are making this a bit more complex than it needs to be. First let me deal with the specific question that you ask "what does it mean by 'update merge with'" When you copy a file into a location which has an existing file, what happens to the existing file?

- Is the existing file effectively deleted and is replaced by the new file? This is what happens when you copy run start. The old startup file is removed and completely replaced by the content of running.

- Or is the existing file retained and the content of the new file inserted into the file? For every line in the new file if there is a corresponding line in the existing file the line is replaced. For every line in the new file if there is not a corresponding line in the  existing file the line is inserted. What about lines that are in the existing file and there is not a corresponding line in the new file? The line is retained. For example if we assume that the existing file has access-list 101 and the new file does not have any access-list 100 then the result is that access-list 100 is still in the running config.

Do you have, or can you get, a copy of startup config from the old ASR920? If so you might just copy that file to running-config on the new ASR920 (and after you verify that things are running as expected then copy running to startup). But I would suggest that there are some lines in startup from the old machine that you might not want to copy into the new machine, such as:

boot system bootflash: <NEW IOS-XE>

license udi pid ASR920xx sn <NEW S/N>

My suggestion is that you get a copy of the file from the old machine, edit and remove lines that are perhaps machine dependent, and copy the result into running config of the new machine. Check its operation and then copy running to startup.

HTH

Rick

johnlloyd_13
Level 9
Level 9

hi rick,

thanks for your feedback! it's an RMA ASR920 so it's just a plain/factory default config.

yes, i plan to replace/edit the startup-config of the existing/faulty ASR920 with lines for the boot IOS, old serial number and insert 'telnet' so i can remote to the new/RMA box since i'll generate new SSH keys. though i'll have console and have a tech onsite.

Review Cisco Networking for a $25 gift card