Script Apply; Script Delete - NETGEAR M6100 Series Reference Manual

Hide thumbs Also See for M6100 Series:
Table of Contents

Advertisement

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!
To specify a blank password for a user in the configuration script, you must specify it as a
space within quotes. For example, to change the password for user jane from a blank
password to hello, the script entry is as follows:
users passwd jane
" "
hello
hello

script apply

This command applies the commands in the script to the switch. The scriptname argument
is the name of the script to apply.
Format
script apply scriptname
Mode
Privileged EXEC

script delete

This command deletes a specified script where the scriptname argument is the name of
the script to delete. The all option deletes all the scripts present on the switch.
Format
script delete {scriptname | all}
Mode
Privileged EXEC
M6100 Series Switches
Management Commands
139

Advertisement

Table of Contents
loading

Table of Contents