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
NOTE:
specify it as a space within quotes. For example, to change the password for
user
jane
users passwd jane
" "
hello
hello
script apply
This command applies the commands in the script to the switch. The
is the name of the script to apply.
Format
Mode
script delete
This command deletes a specified script where the
script to delete. The
Format
Mode
script list
This command lists all scripts present on the switch as well as the remaining available space.
Format
Mode
Configuration Script Name of the script.
Size
script show
This command displays the contents of a script file, which is named
Format
Mode
Output Format
from a blank password to
script apply <scriptname>
Privileged EXEC
option deletes all the scripts present on the switch.
<all>
script delete {<scriptname> | all}
Privileged EXEC
script list
Global Config
Privileged EXEC
script show <scriptname>
Privileged EXEC
line <number>: <line contents>
7 Management Commands
, the script entry is as follows:
hello
<scriptname>
parameter is the name of the
<scriptname>
<scriptname>
Configuration Scripting Commands
parameter
.
327