JunosE 11.3.x System Basics Configuration Guide
Configuring the System Automatically
Saving the Current Configuration
264
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.
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.
NOTE: The autocfg.scr script is bypassed if you arm the system to load
from a script (not autocfg.scr) through the boot config command or boot
backup command.
By default, the system automatically saves any change to the system configuration to
nonvolatile storage (NVS). This feature is known as Automatic Commit mode, but has
no effect on the CLI prompt. For more information about displaying the current
configuration of the system while in Automatic Commit mode, see "show configuration"
on page 256.
You can disable this feature by issuing the service manual-commit command. In Manual
Commit mode (again with no effect on the CLI prompt), any configuration change affects
only the current system configuration (the running configuration). For more information
about displaying the running configuration of the system while in Manual Commit mode,
see "show running-configuration" on page 258.
If you are in Manual Commit mode and want to save the configuration changes to NVS,
you must issue either the write memory command or the copy running-configuration
startup-configuration command.
Copyright © 2010, Juniper Networks, Inc.
Need help?
Do you have a question about the JUNOSE SOFTWARE FOR E SERIES 11.3.X - SYSTEM BASICS CONFIGURATION GUIDE 2010-10-04 and is the answer not in the manual?
Questions and answers