24.
File System for Configuration Script Files
MN700004 Rev 01
285
This command is equivalent to the
show script-file-system
command, but is available only in
script file system configuration mode.
Command Syntax
device-name
(config script-file-system)#
dir
Example
device-name
(config script-file-system)#
dir
====================================================
no | name | size
------+---------------------------------------------
1 | run_cnf1 | 861
2 | run_cnf2 | 861
3 | test1 | 187
====================================================
display
The
display
command, in Script-file-system Configuration mode
,
displays the textual
contents of the specified script file.
Command Syntax
device-name
(config script-file-system)#
display
FILE-NAME
Argument Description
FILE-NAME
The name of the script file, in the script file system.
Example
device-name
(config script-file-system)#
display test1
============= start file ==============
password a1h8rrzg11d4u
log trap errors
no banner
ip address 10.4.0.10 255.255.0.0
mac-address-table aging-time 300
============= end file ==============
download-from
The
download-from
command, in Script-file-system Configuration mode, copies the
specified file from the TFTP server with the specified IP address to the file system on the
switch. If an optional destination name is specified, the file is stored in the file system with
this name. Otherwise, the file is stored with the source name.
Command Syntax
device-name
(config script-file-system)#
download-from
A.B.C.D
SOURCE-FILE
[
DEST-FILE
]