Supported Platforms
Related Documentation
- EX, M, MX, QFX, T Series
- Viewing Files and Directories on a Device Running Junos OS
- Additional Information
- Junos OS Operational Mode Commands
file
Syntax
Release Information
Command introduced before Junos OS Release 7.4.
Command introduced in Junos OS Release 11.1 for the QFX Series.
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
Related Documentation
- EX, M, MX, QFX, T Series
- Viewing Files and Directories on a Device Running Junos OS
- Additional Information
- Junos OS Operational Mode Commands
Published: 2013-01-23
Supported Platforms
Related Documentation
- EX, M, MX, QFX, T Series
- Viewing Files and Directories on a Device Running Junos OS
- Additional Information
- Junos OS Operational Mode Commands