Cisco Cisco Packet Data Gateway (PDG)

Seite von 360
  StarOS Management Operations 
Maintaining the Local File System  ▀   
 
VPC-VSM System Administration Guide, StarOS Release 19  ▄  
 
   
99 
[local]host_namermdir /flash/configs 
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. 
Important:
  Local devices that have been formatted using other methods such as NTFS or FAT32 may be used to 
store various StarOS, CLI configuration, and crash log files. However, when installing a new local device via the 
hypervisor for regular use, you should format the device prior to use. This ensures that the proper file allocation table 
format is used, preventing any possible discrepancies between other formats used with other operating systems. 
Caution:
  The filesystem format command removes all files and information stored on the device. 
To format a local device for use by the local file system, enter the following command: 
[local]host_namefilesystem format { /flash | /hd-raid } 
Applying Pre-existing CLI Configuration Files 
A pre-existing CLI configuration file is any .cfg file created to provide utility functions (such as clearing all statistics 
during testing) or created off-line using a text editor. Pre-existing configuration files stored on the local file system can 
be applied to a running system at any time. 
Caution:
  If a configuration file is applied to VPC currently running another StarOS CLI configuration, any like 
contexts, services, ports, IP address pools, or other configured items will be overwritten if the same command exists in 
the configuration file being applied. You must review the contents of the file being applied and understand the service 
ramification if a currently running command is overwritten. Also note that changes will not be saved automatically. 
A CLI configuration file, or script containing CLI commands, can be applied to a running system by entering the 
following command at the Exec mode prompt: 
[local]host_nameconfigure url [ verbose ] 
The following command applies the pre-existing CLI configuration file clearcmds.cfg in the /flash directory. 
[local]host_nameconfigure /flash/clearcmds.cfg 
Viewing Files on the Local File System 
This section describes how to view a variety of files. 
Viewing the Contents of a Local Device 
The contents, usage information, and file system directory structure of any local device can be viewed by entering the 
following command at the Exec mode prompt: