Have you ever been on your GradedLabs rack of equipment and wanted to test a particular feature or set of configurations, but you certainly do not want to keep these changes on the rack? Perhaps this is because you are right in the middle of solving a Volume 2 lab and you certainly cannot have that configuration impacted.
Thanks to the very handy config replace command, you can easily rollback almost instantly to your previous saved configuration after your experimenting. Here is a demonstration of just how simple this is. Enjoy, and let us give thanks for all there is to learn on blog.ine.com! I also want to thank my good friend Keith Barker for first showing me this one.
Rack29R1#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Rack29R1(config)#hostname TEST TEST(config)#interface fastethernet0/0 TEST(config-if)#ip address 220.127.116.11 255.0.0.0 TEST(config-if)#no shut TEST(config-if)#end TEST# TEST#config replace nvram:startup-config force Total number of passes: 1 Rollback Done Rack29R1# Rack29R1#show run interface fa0/0 Building configuration... Current configuration : 83 bytes ! interface FastEthernet0/0 no ip address shutdown duplex auto speed auto end Rack29R1#
7 Responses to “Rolling Back a Configuration”
Leave a Reply