![NetApp CN1610 Cli Command Reference Download Page 133](http://html.mh-extra.com/html/netapp/cn1610/cn1610_cli-command-reference_1669922133.webp)
130
Configuration Scripting Commands
Configuration Scripting Commands
Configuration Scripting allows you to generate text-formatted script files
representing the current configuration of a system. 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 “
page 177) to capture the running configuration into a script. Use the
copy
command (see “
” on page 219) to transfer the configuration script to or from
the switch.
Use the
show
command to view the configuration stored in the startup-config,
backup-config, or factory-defaults file (see “
You should use scripts on systems with default configuration; however, you are
not prevented from applying scripts on systems with non-default configurations.
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 to 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.
The following lines show an example of a script:
! Script file for displaying management access
show telnet !Displays the information about remote connections
! Display information about direct connections
show serial
! End of the script file!
Summary of Contents for CN1610
Page 3: ......
Page 31: ...28 Accessing the CLI ...
Page 309: ...306 Remote Monitoring Commands ...
Page 473: ...470 Port Mirroring Commands 100 ...
Page 487: ...484 DHCP L2 Relay Agent Commands Mode Privileged EXEC ...
Page 607: ...604 IPv6 Management Commands ...