Juniper J-Series Administration Manual page 211

Juniper networks router administration guide
Hide thumbs Also See for J-Series:
Table of Contents

Advertisement

Configuring a Boot Device for Backup with the CLI
Use the
Router on an alternate medium, to replace the primary boot device or serve as a
backup. Enter the command with the following syntax:
user@host> request system snapshot <as-primary> <config-size size> <data-size
size> <factory> <media type> <partition> <root-size size> <swap-size size>
Table 98 on page 189 describes the
Default values are in megabytes, but you can alternatively enter values in kilobytes
by appending
of 10 MB, but
Table 98: CLI request system snapshot Command Options
Option
as-primary
config-size size
data-size size
factory
media type
request system snapshot
to the number. For example,
k
config-size 10k
Description
On an external compact flash or USB storage device only, creates a snapshot for use as the
primary boot medium.
Use the
as-primary
option to replace the medium in the internal compact flash slot or to replicate
it for use in another Services Router. This process also partitions the boot medium.
NOTE: After the boot device is created as an internal compact flash, it can operate only in an
internal compact flash slot.
Specifies the size of the
partition, in megabytes. The default value is 10 percent of physical
config
memory on the boot medium.
The
config
partition is mounted on
This option also partitions the boot medium.
Specifies the size of the
data
partition, in megabytes. The default value is 0 MB.
The
partition is mounted on
data
for extra storage.
This option also partitions the boot medium.
Copies only default files that were loaded on the internal compact flash when it was shipped
from the factory, plus the rescue configuration if one has been set.
NOTE: After the boot medium is created with the
compact flash slot.
Specifies the boot device the software snapshot is copied to:
—Copies software to the internal compact flash.
compact-flash
—Copies software to the external compact flash. This option is
removable-compact-flash
available on J2320, J2350, J4300, and J6300 Services Routers only.
—Copies software to the device connected to the USB port.
usb
NOTE: You cannot copy software to the active boot device.
Chapter 10: Performing Software Upgrades and Reboots
CLI command to create a boot device for the Services
request system snapshot
config-size 10
specifies a
config
partition of 10 KB.
/config
. The configuration files are stored in this partition.
. This space is not used by the router, and can be used
/data
factory
option, it can operate in only the internal
Configuring Boot Devices
command options.
specifies a
partition
config
189

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents