Command Line Interface
4-50
4
Command Mode
Global Configuration
Command Usage
The logging process controls error messages saved to switch memory or sent
to remote syslog servers. You can use the
logging history
command to
control the type of error messages that are stored in memory. You can use the
logging trap
command to control the type of error messages that are sent to
specified syslog servers.
Example
Related Commands
logging history (4-50)
logging trap (4-52)
clear log (4-53)
logging history
This command limits syslog messages saved to switch memory based on severity.
The
no
form returns the logging of syslog messages to the default level.
Syntax
logging history
{
flash
|
ram
}
level
no logging history
{
flash
|
ram
}
•
flash
- Event history stored in flash memory (i.e., permanent memory).
•
ram
- Event history stored in temporary RAM (i.e., memory flushed on
power reset).
•
level
- One of the levels listed below. Messages sent include the selected
level down to level 0. (Range: 0-7)
Console(config)#logging on
Console(config)#
Table 4-15 Logging Levels
Level
Severity Name
Description
7
debugging
Debugging messages
6
informational
Informational messages only
5
notifications
Normal but significant condition, such as cold start
4
warnings
Warning conditions (e.g., return false, unexpected return)
3
errors
Error conditions (e.g., invalid input, default used)
2
critical
Critical conditions (e.g., memory allocation, or free
memory error - resource exhausted)
1
alerts
Immediate action needed
0
emergencies
System unusable
* There are only Level 2, 5, 6 and 7 error messages for the current firmware release.
Содержание iES4028F
Страница 1: ...iES4028F 4028FP 4024GP ...
Страница 2: ...iES4028F iES4028FP iES4024GP E082008 ST R03 149100041800A 149100040200A 149100041700A 149100000020A ...
Страница 4: ...iv This page is intentionally left blank ...
Страница 10: ...x This page is intentionally left blank ...
Страница 28: ...Contents xxviii This page is intentionally left blank ...
Страница 32: ...Tables xxxii This page is intentionally left blank ...
Страница 46: ...Introduction 1 10 1 This page is intentionally left blank ...
Страница 336: ...Configuring the Switch 3 280 3 This page is intentionally left blank ...
Страница 688: ...Command Line Interface 4 352 4 This page is intentionally left blank ...
Страница 702: ...Glossary Glossary 8 This page is intentionally left blank ...
Страница 710: ...Index 8 Index This page is intentionally left blank ...
Страница 711: ...This page is intentionally left blank ...
Страница 712: ...iES4028F 4028FP 4024GP ...