Script Apply - NETGEAR ProSafe GSM7324 Command Line Interface Reference Manual

Prosafe 7300 series layer-3 switches, software version 4.0
Hide thumbs Also See for ProSafe GSM7324:
Table of Contents

Advertisement

Command Line Interface Reference for the ProSafe 7300 Series Layer-3 Switches, Software Ver-
Use the
show running-config
page
18-16) to capture the running configuration into a script. Use the
Section 18.2.10 "copy" on page
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:
Script files are not distributed across the stack, and only live in the unit that is the
master unit at the time of the file download.
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 the ip interface
! Display information about interfaces
show ip interface 1/0/1 !Displays the information about the first
interface
! Display information about the next interface
show ip interface 1/0/2
! End of the script file

18.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
Mode
System Maintenance Commands
command (see
Section 18.1.8 "show running-config" on
18-19) to transfer the configuration script to or from the
script apply <scriptname>
Global Config
v1.0, December 2005
command (see
copy
<scriptname>
18-27

Advertisement

Table of Contents
loading

Table of Contents