Saving show tech command output to a text file.............................................................. 535
Customizing show tech command output.........................................................................536
Viewing more information on switch operation............................................................................538
Searching for text using pattern matching with show command...................................... 539
Displaying the information you need to diagnose problems........................................................541
Restoring the factory-default configuration............................................................................................ 541
Resetting to the factory-default configuration..............................................................................542
Using the CLI....................................................................................................................542
Using Clear/Reset............................................................................................................ 542
Restoring a flash image......................................................................................................................... 542
Recovering from an empty or corrupted flash state.................................................................... 542
DNS resolver..........................................................................................................................................544
Basic operation........................................................................................................................... 544
Configuring and using DNS resolution with DNS-compatible commands...................................546
Configuring a DNS entry............................................................................................................. 546
Using DNS names with ping and traceroute: Example:.............................................................. 547
Viewing the current DNS configuration....................................................................................... 549
Operating notes...........................................................................................................................549
Event Log messages...................................................................................................................550
Locating a switch (Locator LED)............................................................................................................ 550
Chapter 14 Job Scheduler........................................................................... 551
Job Scheduler........................................................................................................................................ 551
Commands.............................................................................................................................................551
Job at | delay | enable | disable ...........................................................................551
Show job..................................................................................................................................... 552
Show job <Name>.......................................................................................................................552
Chapter 15 Configuration backup and restore without reboot................ 554
Overview................................................................................................................................................ 554
Benefits of configuration restore without reboot..........................................................................554
Recommended scenarios...................................................................................................................... 554
Use cases.............................................................................................................................................. 554
Switching to a new configuration.................................................................................................555
Rolling back to a stable configuration using job scheduler......................................................... 556
Commands used in switch configuration restore without reboot............................................................557
Configuration backup............................................................................................................................. 557
cfg-backup...............................................................................................................................558
show config files................................................................................................................558
Configuration restore without reboot .....................................................................................................560
cfg-restore.............................................................................................................................560
Force configuration restore.............................................................................................. 562
cfg-restore non-blocking......................................................................................563
cfg-restore recovery-mode................................................................................... 564
cfg-restore verbose................................................................................................ 566
cfg-restore config_bkp..........................................................................................567
Configuration restore with force option....................................................................................... 568
System reboot commands................................................................................................569
Configuration restore without force option.................................................................................. 570
show cfg-restore status...................................................................................................570
Viewing the differences between a running configuration and a backup configuration...............572
Show commands to show the SHA of a configuration........................................................................... 574
show hash.................................................................................................................................574
Scenarios that block the configuration restoration process................................................................... 575
Contents 19