Running Scripts of Administration Console Tasks 2-13
Setting Timeout
Interval for Remote
Sessions
You can set the timeout interval for remote sessions to any value from 30
minutes to 60 minutes. By default, the timeout interval is 30 minutes.
To set the telnet timeout interval:
1 From the top level of the Administration Console, enter:
system telnet interval
2 Enter the telnet timeout interval (30 minutes to 60 minutes).
Running Scripts
of Administration
Console Tasks
You can use scripts to expedite and automate Administration Console tasks.
Any command you enter in the Administration Console can become part of
a script. You can even script your entire system setup so that you can repeat
the exact setup on another Switch 2200.
You create scripts in an ASCII-based line editor, such as EMACS or vi. To run
them from the Administration Console, you must access the directory where
your scripts are stored. When writing scripts, you can use the number
symbol (#) to identify comments in the script.
To run a script:
1 From the top level of the Administration Console, enter:
script
You are prompted for information about where you have stored the script
you want to run: host IP address, file path name, user name, and password.
Press [Return] at any prompt to use the value in brackets.
2 Enter the host IP address of the system where the script resides.
3 Enter the path name.
4 Enter your user name.
5 Enter your password.
6 Enter the name of the script.
Top-Level Menu
➧system
ethernet
bridge
ip
snmp
analyzer
script
logout
display
softwareUpdate
baseline
consoleSpeed
➧telnet
password
name
time
screenHeight
consoleLock
ctlKeys
nvData
reboot
timeOut
➧interval
Top-Level Menu
system
ethernet
fddi
bridge
ip
snmp
analyzer
➧script
logout