3 Configuring the Switch

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.

Console(config)#line console

4-10

Console(config-line)#login local

4-11

Console(config-line)#password 0 secret

4-12

Console(config-line)#timeout login response 0

4-12

Console(config-line)#exec-timeout 0

4-13

Console(config-line)#password-thresh 5

4-14

Console(config-line)#silent-time 60

4-14

Console(config-line)#databits 8

4-15

Console(config-line)#parity none

4-16

Console(config-line)#speed auto

4-16

Console(config-line)#stopbits 1

4-17

Console(config-line)#end

 

Console#show line console

4-18

Console configuration:

 

 

Password threshold:

5 times

 

Interactive timeout:

Disabled

 

Login timeout:

Disabled

 

Silent time:

60

 

Baudrate:

auto

 

Databits:

8

 

Parity:

none

 

Stopbits:

1

 

Console#

 

 

 

 

 

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)

3-24