Alcatel Carrier Internetworking Solutions omniswitch Switch User Manual


 
Logging Into the Switch Configuring Login Parameters
OmniSwitch 6600 Family Switch Management Guide March 2005 page 1-17
Configuring Login Parameters
You can set the number of times a user may attempt unsuccessfully to log in to the switch’s CLI by using
the session login-attempt command as follows:
-> session login-attempt 5
In this example, the user may attempt to log in to the CLI five (5) times unsuccessfully. If the user
attempts to log in the sixth time, the switch will break the TCP connection.
You may also set the length of time allowed for a successful login by using the session login-timeout
command as follows:
-> session login-timeout 20
In this example, the user must complete the login process within 20 seconds. This means that the time
between a user entering a login name and the switch processing a valid password must not exceed 20
seconds. If the timeout period is exceeded, the switch will break the TCP connection.
Configuring the Inactivity Timer
You can set the amount of time that a user must be inactive before the session times out. By default, the
timeout for each session type is 4 minutes. To change the setting, enter the session timeout command with
the type of session (cli, http, or ftp) and the desired number of minutes. In the following example, the CLI
timeout is changed from the default to 8 minutes.
-> session timeout cli 8
This command changes the inactivity timer for new CLI sessions to 8 minutes. Current CLI sessions are
not affected. In this example, current CLI sessions will be timed out after 4 minutes. (CLI sessions are
initiated through Telnet, Secure Shell, or through the switch console port.)
For information about connecting to the CLI through Telnet or Secure Shell, see “Using Telnet” on
page 1-6 and “Using Secure Shell” on page 1-8. For information about connecting to the CLI through the
console port, see your Getting Started Guide. For information about using the CLI in general, see
Chapter 5, “Using the CLI.”
The ftp option sets the timeout for FTP sessions. For example, to change the FTP timeout to 5 minutes,
enter the following command:
-> session timeout ftp 5
This command changes the timeout for new FTP sessions to 5 minutes. Current FTP sessions are not
affected. For more information about FTP sessions, see “Using FTP” on page 1-7.
The http option sets the timeout for WebView sessions. For example, to change the WebView inactivity
timer to 10 minutes, enter the following command:
-> session timeout http 10
In this example, any new WebView session will have a timeout of 10 minutes. Current WebView sessions
are not affected. For more information about WebView sessions, see Chapter 9, “Using WebView.”