AMX NXA-ENET24 Switch User Manual


 
CLI (Command Line Interface)
166
NXA-ENET24 - Software Management Guide
Line Commands (Cont.)
Command Function
password
Use this command to
specify the password
for a line.
Use the no form to
remove the password.
Syntax:
password {0 | 7} password
no password
{0 | 7} - 0 means plain password, 7 means encrypted password
password - Character string that specifies the line password.
Maximum length: 8 characters plain text, 32 encrypted, case sensitive.
Default Setting: No password is specified.
Command Mode: Line Configuration
Command Usage:
When a connection is started on a line with password protection, the system
prompts for the password. If you enter the correct password, the system shows a
prompt. You can use the password-thresh command to set the number of times a
user can enter an incorrect password before the system terminates the line
connection and returns the terminal to the idle state.
The encrypted password is required for compatibility with legacy password settings
(i.e., plain text or encrypted) when reading the configuration file during system
bootup or when downloading the configuration file from a TFTP server. There is no
need for you to manually configure encrypted passwords.
Example:
Console(config-line)#password 0 secret
Console(config-line)#
timeout login
response
Use this command to
set the interval that the
system waits for a user
to log into the CLI.
Use the no form to
restore the default
setting.
Syntax:
timeout login response [seconds]
no timeout login response
seconds - Integer that specifies the number of seconds.
Range: 0 - 300 seconds; 0: disabled
Default Setting:
CLI: Disabled (0 seconds)
Telnet: 300 seconds
Command Mode: Line Configuration
Command Usage:
If a login attempt is not detected within the timeout interval, the connection is
terminated for the session.
This command applies to both the local console and Telnet connections.
The timeout for Telnet cannot be disabled.
Using the command without specifying a timeout restores the default setting.
Example: To set the timeout to two minutes, enter this command:
Console(config-line)#timeout login response 120
Console(config-line)#
exec-timeout
Use this command to
set the interval that the
system waits until user
input is detected.
Use the no form to
restore the default.
Syntax:
exec-timeout [seconds]
no exec-timeout
seconds - Integer that specifies the number of seconds.
Range: 0 - 65535 seconds; 0: no timeout
Default Setting: CLI and Telnet: 600 seconds (10 minutes)
Command Mode: Line Configuration
Command Usage:
If user input is detected within the timeout interval, the session is kept open;
otherwise the session is terminated.
This command applies to both the local console and Telnet connections.
The timeout for Telnet cannot be disabled.
Using the command without specifying a timeout restores the default setting.
Example: To set the timeout to two minutes, enter this command:
Console(config-line)#exec-timeout 120
Console(config-line)#