■ Use to enable auto-recovery of files in the running configuration that are corrupted
due to a fatal duplicate key error or the existence of values such as 0XFF and
0x00 in sectors of a Flash. You cannot auto-recover CNF files on the primary and
standby SRPs.
■ Example
host1(config)#service check-config auto-recover
■ Use the no version without the auto-recover option to restore the default action,
manual detection.
■ See service check-config.
service check-config running-configuration
■ Use to view a list of corrupt files in the running configuration and the files that
are recoverable on the primary SRP and the standby SRP.
■ Example
host1(config)#service check-config running-configuration
■ Use the no version without the running-configuration option to restore the
default action, manual detection.
■ See service check-config.
service check-config running-configuration recover
■ Use to recover the corrupted CFG files in the running configuration. You can
recover only the files that the service check-config running-configuration
command output lists as recoverable.
■ Example
host1(config)#service check-config running-configuration recover
■ Use the no version without the running-configuration recover option to restore
the default action, manual detection.
■ See service check-config.
Configuring the System Automatically
You can create an autoconfiguration script that runs whenever you reset the router.
The following guidelines apply:
■ You must name the script autocfg.scr.
■ Add the commands desired to configure the system.
■ For some configuration tasks, you might need to pause the CLI for about 10
seconds by adding a sleep seconds command. The exact period must be
determined empirically because it depends on your configuration and the software
release version.
276 ■ Configuring the System Automatically
JUNOSe 11.1.x System Basics Configuration Guide