Urls - Alcatel-Lucent 7450 ESS-12 Configuration Manual

Os basic system 7450 ess series ethernet service switch
Table of Contents

Advertisement

URLs

The arguments for the SR OS file commands are modeled after standard universal resource locator
(URL). A URL refers to a file (a file-url) or a directory (a directory-url).
The 7450 ESS OS supports operations on both the local file system and on remote files. For the
purposes of categorizing the applicability of commands to local and remote file operations, URLs
are divided into three types of URLs: local, ftp and tftp. The syntax for each of the URL types are
listed in
Table 16: URL Types and Syntax
URL Type
local-url
[cflash-id:\]path
ftp-url
ftp://[username[:password]@]host/path
ftp://[username[:password]@]host/./path
tftp-url
tftp://host[/path]/filename
The system accepts either forward slash ("/") or backslash ("\") characters to delimit directory
and/or filenames in URLs. Similarly, theThe SR OS SCP client application can use either slash or
backslash characters, but not all SCP clients treat backslash characters as equivalent to slash
characters. In particular, UNIX systems will often times interpret the backslash character as an
"escape" character. This can cause problems when using an external SCP client application to
send files to the SCP server. If the external system treats the backslash like an escape character, the
backslash delimiter will get stripped by the parser and will not be transmitted to the SCP server.
For example, a destination directory specified as "cf1:\dir1\file1" will be transmitted to the SCP
server as "cf1:dir1file1" where the backslash escape characters are stripped by the SCP client
system before transmission. On systems where the client treats the backslash like an "escape"
character, a double backslash "\\" or the forward slash "/" can typically be used to properly delimit
directories and the filename.
7450 ESS OS Basic System Configuration Guide
Table
16.
Syntax
File System Management
Notes
cflash-id is the compact flash device name.
Values: cf1:, cf2:, cf3:
An absolute ftp path from the root of the remote
file system.
username is the ftp user name
password is the ftp user password
host is the remote host
path is the path to the directory or file
A relative ftp path from the user's home
directory. Note the period and slash ("./") in this
syntax compared to the absolute path.
tftp is only supported for operations on file-urls.
Page 61

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

7450 ess-67450 ess-7

Table of Contents