![D-Link DES-3226L Cli Command Reference Download Page 120](http://html1.mh-extra.com/html/d-link/des-3226l/des-3226l_cli-command-reference_3319917120.webp)
120
D-Link DES-3226L Command Line Reference
copy <tftp://<ipaddr>/<filepath>/<filename>> nvram:sslpem-root
copy <tftp://<ipaddr>/<filepath>/<filename>>nvram:sslpem-server
copy <tftp://<ipaddr>/<filepath>/<filename>> nvram:sslpem-dhweak
copy <tftp://<ipaddr>/<filepath>/<filename>> nvram:sslpem-dhstrong
copy <tftp://<ipaddr>/<filepath>/<filename>> nvram:startup-config
copy <tftp://<ipaddr>/<filepath>/<filename>> system:image
Mode
Privileged EXEC
Configuration Scripting Commands
Configuration Scripting allows you to generate text-formatted script files representing the current
configuration. You can upload these configuration script files to a PC or UNIX system and edit them.
Then, you can download the edited files to the system and apply the new configuration. You can apply
configuration scripts to one or more switches with no or minor modifications.
Use the
show running-config
command (see “show running-config” on page 114) to capture the
running configuration into a script. Use the
copy
command (see “copy” on page 119) to transfer the
configuration script to or from the switch.
You should use scripts on systems with default configuration; however, you are not prevented from
applying scripts on systems with non-default configurations.
Note:
Scripts must conform to the following rules:
The file extension must be “.scr”.
A maximum of ten scripts are allowed on the switch.
The combined size of all script files on the switch shall not exceed 2048 KB.
The maximum number of configuration file command lines is 2000.
You can type single-line annotations at the command prompt to use when you write test or configuration
scripts. These comments improve script readability. The exclamation point (!) character flags the
beginning of a comment. The comment flag character can begin a word anywhere on the command line,
and all input following this character is ignored. Any command line that begins with the “!” character is
recognized as a comment line and ignored by the parser.
For example:
! Script file for displaying the interface
! Display information about interfaces
show interface 0/1 !Displays the information about the first interface
! Display information about the next interface
show interface 0/2
! End of the script file
script apply
This command applies the commands in the script to the switch. The <scriptname> parameter is the
name of the script to apply.
Format
script apply
<scriptname>
Mode
Privileged EXEC
Summary of Contents for DES-3226L
Page 2: ......
Page 11: ...List of Figures 11 List of Figures Figure 1 Mode based CLI 26 Figure 2 Syntax Error Message 28...
Page 12: ...12 D Link DES 3226L Command Line Reference...
Page 14: ...14 D Link DES 3226L Command Line Reference...
Page 16: ...16 D Link DES 3226L Command Line Reference...
Page 18: ...18 D Link DES 3226L Command Line Reference...
Page 24: ...24 D Link DES 3226L Command Line Reference...
Page 50: ...50 D Link DES 3226L Command Line Reference...
Page 82: ...82 D Link DES 3226L Command Line Reference...
Page 104: ...104 D Link DES 3226L Command Line Reference...