Alcatel-Lucent 6850-48 补充手册

下载
页码 312
Configuring Login Parameters
Logging Into the Switch
page 2-22
OmniSwitch AOS Release 6 Switch Management Guide
September 2009
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 
 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 
 
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 time-out period exceeds, 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 
time-out for each session type is 4 minutes. To change the setting, enter th
with the type of session (clihttp, or ftp) and the desired number of minutes. In the following example, the 
CLI time-out 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 
. 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 
The ftp option sets the time-out for FTP sessions. For example, to change the FTP time-out to 5 minutes, 
enter the following command:
-> session timeout ftp 5
This command changes the time-out for new FTP sessions to 5 minutes. Current FTP sessions are not 
affected. For more information about FTP sessions, see 
The http option sets the time-out 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 time-out of 10 minutes. Current WebView 
sessions are not affected. For more information about WebView sessions, see