Nortel Networks 2300 Series manual Dir, WSS# copy testconfig tftp//10.1.1.1/testconfig

Models: 2300 Series

1 622
Download 622 pages 48.74 Kb
Page 550
Image 550

550File Management Commands

Syntax

delete url

url

Filename. Specify between 1 and 128 alphanumeric characters, with no

 

spaces.

 

If the file is in a subdirectory, specify the subdirectory name, followed by

 

a forward slash, in front of the filename. For example: subdir_a/file_a.

Defaults None.

Access Enabled.

Usage You might want to copy the file to a TFTP server as a backup before deleting the file.

Examples The following commands copy file testconfig to a TFTP server and delete the file from nonvolatile storage:

WSS# copy testconfig tftp://10.1.1.1/testconfig

success: sent 365 bytes in 0.401 seconds [ 910 bytes/sec]

WSS# delete testconfig

success: file deleted.

Examples The following command deletes file dang_doc from subdirectory dang:

WSS# delete dang/dang_doc

success: file deleted.

See Also

copy on page 537

dir on page 540

dir

Displays a list of the files in nonvolatile storage and temporary files.

Syntax dir [subdirname] [file:] [core:] [boot0:] [boot1:]

subdirname

Subdirectory name. If you specify a subdirectory name, the command

 

lists the files in that subdirectory. Otherwise, the command lists the files

 

in the root directory and also lists the subdirectories.

file:

Limits dir output to the contents of the user files area

core:

Limits dir output to the contents of the /tmp/core subdirectory

boot0:

Limits dir output to the contents of the boot0 partition

boot1:

Limits dir output to the contents of the boot1 partition

Defaults

None.

Access Enabled.

NN47250-100 (Version 02.51)

Page 550
Image 550
Nortel Networks 2300 Series manual Dir, WSS# copy testconfig tftp//10.1.1.1/testconfig, WSS# delete testconfig