Netgear GSM7312 FSM7326P Command line reference manual - Page 354
Configuration Scripting Commands
UPC - 606449030693
View all Netgear GSM7312 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 354 highlights
Command Line Interface Reference for the ProSafe 7300 Series Layer-3 Switches, Software Ver- 17.5 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 Section 17.1.9 "show running-config" on page 17-16) to capture the running configuration into a script. Use the copy command (see Section 17.2.10 "copy" on page 17-19) 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. 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: 17.5.1 script apply This command applies the commands in the script to the switch. The parameter is the name of the script to apply. Format script apply Mode Global Config 17-28 v1.0, February 2007 System Maintenance Commands