Configuring the Switch

3-26

3
CLI – Enter Line Configuration mode for the console, then specify the connection
parameters as required. To display the current console port settings, use the show
line command from the Normal Exec level.

Telnet Settings

You can access the onboard configuration program over the network using Telnet
(i.e., a virtual terminal). Management access via Telnet can be enabled/disabled and
other various parameters set, including the TCP port number, timeouts, and a
password. These parameters can be configured via the web or CLI interface.
Command Attributes
Telnet Status – Enables or disables Telnet access to the switch.
(Default: Enabled)
Telnet Port Number – Sets the TCP port number for Telnet on the switch.
(Default: 23)
Login Timeout – Sets the interval that the system waits for a user to log into the
CLI. If a login attempt is not detected within the timeout interval, the connection is
terminated for the session. (Range: 0-300 seconds; Default: 300 seconds)
Exec Timeout – Sets the interval that the system waits until user input is detected.
If user input is not detected within the timeout interval, the current session is
terminated. (Range: 0-65535 seconds; Default: 600 seconds)
Password Threshold – Sets the password intrusion threshold, which limits the
number of failed logon attempts. When the logon attempt threshold is reached, the
system interface becomes silent for a specified amount of time (set by the Silent
Time parameter) before allowing the next logon attempt.
(Range: 0-120; Default: 3 attempts)
Console(config)#line console 4-31
Console(config-line)#login local 4-32
Console(config-line)#password 0 secret 4-33
Console(config-line)#timeout login response 0 4-34
Console(config-line)#exec-timeout 0 4-34
Console(config-line)#password-thresh 3 4-35
Console(config-line)#silent-time 60 4-36
Console(config-line)#databits 8 4-36
Console(config-line)#parity none 4-37
Console(config-line)#speed 19200 4-38
Console(config-line)#stopbits 1 4-38
Console(config-line)#end
Console#show line console 4-39
Console configuration:
Password threshold: 3 times
Interactive timeout: Disabled
Login timeout: Disabled
Silent time: 60
Baudrate: 19200
Databits: 8
Parity: none
Stopbits: 1
Console#