[Contents] [Prev] [Next] [Index] [Report an Error]

# boot config

#### Syntax

boot config { cnfFilename [ once ] | scrFilename | running-configuration | startup-configuration | factory-defaults }

no boot config

#### Release Information

Command introduced before JUNOSe Release 7.1.0.

#### Description

Specifies how the router obtains its startup configuration. The no version clears a previous request to reboot in a specified manner; the next reboot uses the configuration saved in nonvolatile storage.

| Caution: All boot config commands except for boot config running-configuration and boot config startup-configuration erase the existing running configuration when you reboot the router. Before executing this command, you might want to save the current configuration to a .cnf file using the copy running-configuration command.

#### Options

- cnfFilename—Name of an existing startup configuration file (.cnf) to be used on all subsequent reboots
- once—Restores a configuration from the specified configuration file only on the next reboot. Subsequent reboots revert to the running-configuration settings.
- scrFilename—Name of an existing script file (.scr)
- running-configuration—Specifies that the running configuration is to be used for reboot; only available if the router is in Automatic Commit mode
- startup-configuration—Specifies that the running configuration is to be used for reboot; only available if the router is in Manual Commit mode
- factory-defaults—Specifies that the factory default configuration is to be used for the next reboot. Subsequent reboots revert to the running-configuration settings.

#### Mode

Global Configuration

[Contents] [Prev] [Next] [Index] [Report an Error]