C
ONFIGURING
THE
S
WITCH
3-38
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.
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.
System Log Configuration
The system allows you to enable or disable event logging, and specify
which levels are logged to RAM or flash memory.
Severe error messages that are logged to flash memory are permanently
stored in the switch to assist in troubleshooting network problems. Up to
4096 log entries can be stored in the flash memory, with the oldest entries
being overwritten first when the available log memory (256 kilobytes) has
been exceeded.
The System Logs page allows you to configure and limit system messages
that are logged to flash or RAM memory. The default is for event levels 0
to 3 to be logged to flash and levels 0 to 7 to be logged to RAM.
Console(config)#line vty 4-15
Console(config-line)#login local 4-16
Console(config-line)#password 0 secret 4-17
Console(config-line)#timeout login response 300 4-18
Console(config-line)#exec-timeout 600 4-19
Console(config-line)#password-thresh 3 4-20
Console(config-line)#end
Console#show line vty 4-25
VTY configuration:
Password threshold: 3 times
Interactive timeout: 600 sec
Login timeout: 300 sec
Console#