•
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.
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.
Saving the Current Configuration
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.
264
JunosE 11.3.x System Basics Configuration Guide
Summary of Contents for JUNOSE 11.3
Page 6: ...Copyright 2010 Juniper Networks Inc vi...
Page 8: ...Copyright 2010 Juniper Networks Inc viii JunosE 11 3 x System Basics Configuration Guide...
Page 24: ...Copyright 2010 Juniper Networks Inc xxiv JunosE 11 3 x System Basics Configuration Guide...
Page 32: ...Copyright 2010 Juniper Networks Inc 2 JunosE 11 3 x System Basics Configuration Guide...
Page 146: ...Copyright 2010 Juniper Networks Inc 116 JunosE 11 3 x System Basics Configuration Guide...
Page 166: ...Copyright 2010 Juniper Networks Inc 136 JunosE 11 3 x System Basics Configuration Guide...
Page 432: ...Copyright 2010 Juniper Networks Inc 402 JunosE 11 3 x System Basics Configuration Guide...
Page 488: ...Copyright 2010 Juniper Networks Inc 458 JunosE 11 3 x System Basics Configuration Guide...
Page 524: ...Copyright 2010 Juniper Networks Inc 494 JunosE 11 3 x System Basics Configuration Guide...
Page 554: ...Copyright 2010 Juniper Networks Inc 524 JunosE 11 3 x System Basics Configuration Guide...
Page 566: ...Copyright 2010 Juniper Networks Inc 536 JunosE 11 3 x System Basics Configuration Guide...
Page 588: ...Copyright 2010 Juniper Networks Inc 558 JunosE 11 3 x System Basics Configuration Guide...
Page 613: ...PART 3 Index Index on page 585 583 Copyright 2010 Juniper Networks Inc...
Page 614: ...Copyright 2010 Juniper Networks Inc 584 JunosE 11 3 x System Basics Configuration Guide...
Page 632: ...Copyright 2010 Juniper Networks Inc 602 JunosE 11 3 x System Basics Configuration Guide...