The following syntax must be observed:
tftp://host[/filedir]/
tftp:// – Defines TFTP protocol for the server connection.
■
host – Defines the IP address of the TFTP server. Valid IP addresses consist of
■
four numbers, 0 to 255, separated by periods. DNS host names are not
recognized.
filedir – Defines the directory, relative to the TFTP server root, where the
■
upgrade file can be found. Nested directory structures are accepted. The
directory name must be separated from the host, and in nested directory
structures, from the parent directory, with a prepended forward slash "/".
/ – The forward slash must be the last character of the URL.
■
ftp://[username[:password@]]host[/filedir]/
ftp:// – Defines FTP protocol for the server connection.
■
username – Defines the user name for the FTP connection. If the user name
■
is omitted, then "anonymous" is the assumed user name for the
connection.
password – Defines the password for the FTP connection. To differentiate
■
the password from the user name and host portions of the URL, a colon (:)
must precede the password, and an "at" symbol (@), must follow the
password. If the password is omitted, then "" (an empty string) is the
assumed password for the connection.
host – Defines the IP address of the FTP server. Valid IP addresses consist of
■
four numbers, 0 to 255, separated by periods. DNS host names are not
recognized.
filedir – Defines the directory, relative to the FTP server root, where the
■
upgrade file can be found. Nested directory structures are accepted. The
directory name must be separated from the host, and in nested directory
structures, from the parent directory, with a prepended forward slash "/".
/ – The forward slash must be the last character of the URL.
■
Examples
The following examples demonstrate the URL syntax for a TFTP server at IP
address 192.168.0.1 with the operation code image stored in various locations:
tftp://192.168.0.1/
■
The image file is in the TFTP root directory.
tftp://192.168.0.1/switch-opcode/
■
The image file is in the "switch-opcode" directory, relative to the TFTP root.
– 75 –
Chapter 3
| Basic Management Tasks
Managing System Files