File Command Reference
188 Basic System Configuration Guide
“Are you sure (y/n)?” The destination must specify a user and a host.
Parameters local-file-url — The local source file or directory.
Values [cflash-id/][file-path]: Up to 256 characters.
destination-file-url — The destination file.
Values
user — The SSH user.
host — The remote host IP address of DNS name.
file-path — The destination path.
router-instance — Specify the router name or service ID.
Values
Default Base
force — Forces an immediate copy of the specified file. The command file scp local-file-url
destination-file-url [router] force executes the command without displaying a user prompt
message.
service service-name — Specifies the service name up to 64 characters in length.
type
Syntax type file-url
Context file
destination-file-* : user@hostname:file-path - [255 chars max]
user 32 chars max
hostname [dns-name | 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, mandatory for link local addresses
dns-name 128 chars max
file-path 200 chars max
router-name Base, management
service-id 1 to 2147483647