From: Scott Morris (swm@emanon.com)
Date: Thu May 06 2004 - 16:44:36 GMT-3
The rollback is used to un-do something that didn't work right. The 'config
replace' is closer to a 'load override' in JUNOS. Where you pick an
entirely different config and replace it withough needing to do a write
erase and reload.
Scott Morris, CCIE4 (R&S/ISP-Dial/Security/Service Provider) #4713, CISSP,
JNCIS, et al.
IPExpert CCIE Program Manager
IPExpert Sr. Technical Instructor
swm@emanon.com/smorris@ipexpert.net
http://www.ipexpert.net
-----Original Message-----
From: nobody@groupstudy.com [mailto:nobody@groupstudy.com] On Behalf Of
Sharifi, Reza
Sent: Thursday, May 06, 2004 3:35 PM
To: 'MADMAN'; cisco; 'Ccielab (E-mail)'
Subject: RE: config replace
It seems like Cisco is following Juniper's foot print. Recently I had some
times to get familiar with JUNOS and some of Juniper routers. With JUNOS,
all you have to do is just type "rollback 1" and you are back using your
older config. With JUNOS 6.1, 6.2 and now that 6.3 is out, you can go back
up to 49 previous configs and if you ever want to go back to any of these
configs just use the command rollback and the number. you have to commit
your changes after each rollback.
-Reza
-----Original Message-----
From: MADMAN [mailto:dmadlan@qwest.com]
Sent: Thursday, May 06, 2004 11:36 AM
To: cisco; 'Ccielab (E-mail)'
Subject: config replace
While testing some new hardware I stumbled across a new command I think
can be quite useful. It is "config replace". What it does is aloows you to
load another config onto flash and "replace" the existing config with a new
config in a nice quick clean fashion. With the optional "list" command the
IOS will list all of the changes.
USBtest#conf replace usbflash0:running-config list This will apply all
necessary additions and deletions to replace the current running
configuration with the contents of the specified configuration file, which
is assumed to be a complete configuration, not a partial configuration.
Enter Y if you are sure you want to proceed. ? [no]: y !Pass 1
!List of Commands:
no hostname Replacetest
no interface Loopback0
interface FastEthernet0/0
no ip address 172.28.64.229 255.255.255.0 no router rip hostname MAYDAY
interface FastEthernet0/0
ip address 172.28.64.222 255.255.255.0 end
My new config I replaced the old one with had no loopback interface or
router rip and had a new hostname. With replace the extraneous commands
are deleted automatically, no need to "no" them out in a config file and no
reloads!
Looks like it is available in 12.3, not sure exactly when it first came
out.
Dave
-- David Madland CCIE# 2016 Sr. Network Engineer Qwest Communications 612-664-3367"Emotion should reflect reason not guide it"
This archive was generated by hypermail 2.1.4 : Wed Jun 02 2004 - 11:12:06 GMT-3