2 backing up and restoring system image files, Backing up and restoring system image files -6, Table 2-3 – Riverstone Networks WICT1-12 User Manual

Page 40: File commands -6

Advertising
background image

2-6 Riverstone Networks RS Switch Router User Guide Release 8.0

Backing Up and Restoring System Image Files

Maintaining Configuration Files

Note

The

file

commands apply to devices and files in the primary Control Module.

You cannot display, delete, or rename files in the backup Control Module. You
can, however, use the CLI

copy

command to copy configuration files from the

primary Control Module to the backup Control Module.

2.2

BACKING UP AND RESTORING SYSTEM IMAGE
FILES

When you boot up the system, the RS boots up the system image off the PC flash card. The PC flash card contains the
run-time image (the PC flash may store up to two images, depending on its capacity) and the startup configuration file.

It is recommended that a backup of the system image be stored on a central server in the unlikely event that the system
image becomes corrupted or deleted from the PC flash card. Use the

system set bootprom

command in Configure

mode to set parameters for the RS to boot the system image remotely over a network.

Table 2-3

File commands

Display a directory of the files in the bootflash or
in the PC card.

file dir

<device>

Display the contents of a file in the bootflash.

file type [

<device>

:]

<filename>

Delete the specified file.

file delete [

<device>

:]

<filename>

Copy a file to a different device and/or filename.

file copy [

<device1>

:]

<source-filename>

[

<device2>

:]

<dest-filename>

Erase all files on the specified device.

file reformat

<device-name>

Rename a file.

file rename [

<device>

:]

<source-filename>

<dest-filename>

system set bootprom netaddr

<IPaddr>

netmask

<IP netmask>

tftp-server

<IPaddr>

tftp-gateway

<IPaddr>

Advertising