Copying Files On The Asr 5500 Chassis; Deleting Files; Removing Directories; Formatting Local Devices - Cisco ASR 5500 Administration Manual

Asr 5500 system administration guide, staros release 19
Table of Contents

Advertisement

File System Management Commands

Copying Files on the ASR 5500 Chassis

These instructions assume that you are at the root prompt for the Exec mode. To save your current configuration,
enter the following command:
[local]
To copy a configuration file called system.cfg from a directory that was called cfgfiles to a directory named
configs_old on the flash memory in the MIO/UMIO, enter the following command:
[local]
To copy a configuration file called init_config.cfg to the root directory of a TFTP server with a hostname of
config_server, enter the following command:
[local]

Deleting Files

The delete command removes a designated file from its specified location on the local file system.
This command does not support wildcard entries; each filename must be specified in its entirety.
Important
Do not delete the boot.sys file. If deleted, the system will not reboot on command and will be rendered
Caution
inoperable.
[local]
The following command deletes a file named test.cfg from the /flash directory.
[local]

Removing Directories

The rmdir command deletes a current directory on the specific local device. This directory can then be
incorporated as part of the path name for any file located in the local file system.
The directory you want to remove (delete) must be empty before executing the rmdir command. If the
Important
directory is not empty, the CLI displays a "Directory not empty" message and will not execute.
[local]
The following command deletes an empty directory named configs in the /flash directory.
[local]

Formatting Local Devices

The format command performs a low-level format of a local device. This operation formats the device to use
the FAT16 formatting method, which is required for proper read/write functionality with the operating system.
ASR 5500 System Administration Guide, StarOS Release 19
92
host_name
copy from_url to_url [-noconfirm]
#
host_name
copy /flash/cfgfiles/system.cfg /flash/configs_old/system_2011.cfg
#
host_name
copy /flash/cfgfiles/init_confg.cfg tftp://config_server/init_config.cfg
#
host_name
delete { /flash | /usb1 | /hd-raid }/filename [ -noconfirm ]
#
host_name
delete /flash/test.cfg
#
host_name
rmdir url /dir_name
#
host_name
rmdir /flash/configs
#
Software Management Operations

Advertisement

Table of Contents
loading

Table of Contents