CLI – Enter Line Configuration mode for a virtual terminal, then specify the
connection parameters as required. To display the current virtual terminal settings,
use the show line command from the Normal Exec level.
Console(config)#line vty
Console(config-line)#login local
Console(config-line)#password 0 secret
Console(config-line)#timeout login response 300
Console(config-line)#exec-timeout 600
Console(config-line)#password-thresh 3
Console(config-line)#end
Console#show line
Console configuration:
Password threshold:
Interactive timeout: Disabled
Login timeout:
Silent time:
Baudrate:
Databits:
Parity:
Stopbits:
VTY configuration:
Password threshold:
Interactive timeout: 600 sec
Login timeout: 300 sec
Console#
Configuring Event Logging
The switch allows you to control the logging of error messages, including the type of
events that are recorded in switch memory, logging to a remote System Log (syslog)
server, and displays a list of recent event messages.
Displaying Log Messages
The Logs page allows you to scroll through the logged system and event messages.
The switch can store up to 2048 log entries in temporary random access memory
(RAM; i.e., memory flushed on power reset) and up to 4096 entries in permanent
flash memory.
Web – Click System, Log, Logs.
3 times
Disabled
Disabled
9600
8
none
1
3 times
Figure 3-16 Displaying Logs
Basic Configuration
4-11
4-11
4-12
4-13
4-13
4-14
4-18
3-25
3