File System Management
Basic System Configuration Guide 187
rf — The parameter forces a recursive delete.
force — Forces an immediate deletion of the specified directory. The rd file-url force command
executes the command without displaying a user prompt message.
repair
Syntax repair [cflash-id]
Context file
Description This command checks a compact flash device for errors and repairs any errors found.
Parameters cflash-id — Specify the compact flash slot ID to be shut down or enabled. When a specific flash-
id is specified, then that drive is shut down. If no flash-id is specified, the drive referred to by
the current working directory is assumed. If a slot number is not specified, then the active
CSM is assumed.
Default The current compact flash device
Values cf1:, cf1-A:, cf1-B:, cf2:, cf2-A:, cf2-B:, cf3:, cf3-A:, cf3-B:
scp
Syntax scp local-file-url destination-file-url [router router-instance] [force]
scp local-file-url destination-file-url [force] service service-name
Context file
Description This command copies a local file to a remote host file system. It uses ssh for data transfer, and uses
the same authentication and provides the same security as ssh. The following prompt appears:
local-url [cflash-id/][file-path] 200 chars max, including cflash-id
directory length 99 chars max each
remote-url [ftp://login:pswd@remote-locn/][file-path]
247 chars max
directory length 99 chars max each
remote-locn [hostname | ipv4-address | [ipv6-address]]
ipv4-address a.b.c.d
ipv6-address x:x:x:x:x:x:x:x[-interface]
x:x:x:x:x:x:d.d.d.d[-interface]
x - [0..FFFF]H
d - [0..255]D
interface - 32 chars max, for link local addresses
cflash-id cf1:|cf1-A:|cf1-B:|cf2:|cf2-A:|cf2-B:|cf3:|cf3-A:|cf3-B: