file
Syntax
file <archive | checksum | compare | copy | delete | list | rename | show | source address>
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 device or between the local device and a remote system. |
delete (Optional) | Delete a file on the local device. |
list (Optional) | Display a list of files on the local device. |
rename (Optional) | Rename a file on the local device. |
show (Optional) | Display the contents of a file. |
source address (Optional) | Specify the source address of the local file. |
Required Privilege Level
maintenance
Release Information
Command introduced before Junos OS Release 7.4.