Script - Enterasys Matrix DFE-Gold Series Configuration Manual

Enterasys networks switch configuration guide
Table of Contents

Advertisement

Managing Configuration and Image Files
Defaults
None.
Mode
Switch, Read‐Write.
Usage
Use the show config command as described in "show config" (page 2‐85)to display current image 
and configuration file names.
Examples
This example shows how to delete the "myconfig" configuration file from slot 3: 
Matrix(rw)->delete slot3/myconfig
This example shows how to delete the "010300" image file: 
Matrix(rw)->delete images/010300

script

Use this command to execute a script file. 
Syntax
script filename [arg1] [arg2] [arg3] [arg4] [arg5] [arg6] [arg7]
Parameters
filename
arg1 through arg7
Defaults
None.
Mode
Switch, Read‐Write.
Usage
The script file must first be created on a PC and copied to the Matrix device using the copy 
command ("copy" on page 2‐86) before the script can be executed. The file can contain any 
number of switch commands, up to a maximum file size of 128 kilobytes. Router commands 
cannot be included in the file. Scripts cannot be nested within the file. Note that the history 
command will not reflect the execution of commands within a script file.
Example
This example uses the copy command to copy the script file named "setport.scr" from IP address 
10.1.221.3 to slot 4. Next, the contents of the file is displayed with the show file command. The 
2-88 Startup and General Configuration
Specifies the local path name to the file. Valid directories are /images 
and /slotN.
Specifies up to seven arguments to the script.
script

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents