Specifying Filenames and URLs
In some CLI commands and configuration statements—including
file copy,file archive,load,save,set system login useruser-nameauthenticationload-key-file, andrequest system software add—you can include a filename. On a routing matrix, you can include chassis information as part of the file name; for example,lcc0,lcc0-re0, orlcc0-re1. A routing matrix is a multichassis architecture composed of one TX Matrix platform, to which you can connect from one to four T640 routing nodes. For more information about the routing matrix, see the JUNOS System Basics Configuration Guide and the TX Matrix Platform Hardware Guide.You can specify a filename or URL in one of the following ways:
filename—File in the user's current directory on the local flash drive. You can use wildcards to specify multiple source files or a single destination file. Wildcards are not supported in HTTP or FTP. For more information about how to use wildcards, see the JUNOS System Basics Configuration Guide.
NOTE: Wildcards are supported only by the
file (compare | copy | delete | list | rename | show)commands. When you issue thefile showcommand with a wildcard, it must resolve to one filename.
path/filename—File on the local flash disk./var/filenameor/var/path/filename—File on the local hard disk. You can also specify a file on a local Routing Engine for a specific T640 routing node on a routing matrix:user@host>file delete lcc0-re0:/var/tmp/junka:filenameora:path/filename—File on the local drive. The default path is/(the root-level directory). The removable media can be in MS-DOS or UNIX (UFS) format.hostname:/path/filename, hostname:filename, hostname:path/filename,orscp://hostname/path/filename—File on anscp/sshclient. This form is not available in the worldwide version of the JUNOS software. The default path is the user's home directory on the remote system. You can also specifyhostnameasusername@hostname.ftp://hostname/path/filename—File on an FTP server. You can also specifyhostnameasusername@hostnameorusername:password@hostname. The default path is the user's home directory. To specify an absolute path, the path must start with%2F; for example,ftp://hostname/%2Fpath/filename. To have the system prompt you for the password, specifypromptin place of the password. If a password is required, and you do not specify the password orprompt, an error message is displayed:user@host>file copy ftp://username@ftp.hostname.net//filenamefile copy ftp.hostname.net: Not logged in.user@host>file copy ftp://username:prompt@ftp.hostname.net//filenamePassword forusername@ftp.hostname.net:http://hostname/path/filename—File on an HTTP server. You can also specifyhostnameasusername@hostnameorusername:password@hostname. If a password is required and you omit it, you are prompted for it.re0:/path/filenameorre1:/path/filename—File on a local Routing Engine.You can also specify a file on a local Routing Engine for a specific T640 routing node on a routing matrix:user@host>show log lcc0-re1:chassisd...