Configuring The System Automatically - Juniper SYSTEM BASICS - CONFIGURATION GUIDE V 11.1.X Configuration Manual

System basics configuration guide software for e series broadband services routers
Table of Contents

Advertisement

JUNOSe 11.1.x System Basics Configuration Guide
service check-config running-configuration
service check-config running-configuration recover

Configuring the System Automatically

You can create an autoconfiguration script that runs whenever you reset the router.
The following guidelines apply:
276
Configuring the System Automatically
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.
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.
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 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.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Junose 11.1

Table of Contents