Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

file

 

Syntax

Release Information

Command introduced before Junos OS Release 7.4.

Description

Archive files from the device, copy files to and from the router or switch, calculate the file checksum, compare files, delete a file from the device, list files on the device, rename a file, show file contents, or show the local address to initiate a connection.

Options

archive (Optional)Archive, and optionally compress, one or multiple local system files as a single file, locally or at a remote location.
checksum (Optional)Calculate the Message Digest 5 (MD5) checksum of a file.
compare (Optional)Compare two local files and describe the differences between them in default, context, or unified output styles.
copy (Optional)Copy files from one place to another on the local switch or between the local switch and a remote system.
delete (Optional)Delete a file on the local switch.
list (Optional)Display a list of files on the local switch.
rename (Optional)Rename a file on the local switch.
show (Optional)Display the contents of a file.
source address (Optional)Specify the source address of the local file.

Required Privilege Level

maintenance