System Management Commands
4-47
4
logging trap
This command enables the logging of system messages to a remote server, or
limits the syslog messages saved to a remote server based on severity. Use this
command without a specified level to enable remote logging. Use the
no
form to
disable remote logging.
Syntax
logging trap
[
level
]
no logging trap
level
- One of the level arguments listed below. Messages sent include the
selected level up through level 0. (Refer to the table on page 4-45.)
Default Setting
• Enabled
• Level 6 - 0
Command Mode
Global Configuration
Command Usage
• Using this command with a specified level enables remote logging and sets
the minimum severity level to be saved.
• Using this command without a specified level also enables remote logging, but
restores the minimum severity level to the default.
Example
clear logging
This command clears messages from the log buffer.
Syntax
clear logging
[
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).
Default Setting
Flash and RAM
Command Mode
Privileged Exec
Example
Console(config)#logging trap 4
Console(config)#
Console#clear logging
Console#
Summary of Contents for 24/48 10/100 Ports + 2GE
Page 2: ......
Page 4: ...ES3526XA ES3552XA F2 2 6 3 E122006 CS R02 149100005500H...
Page 18: ...Contents xiv...
Page 22: ...Tables xviii...
Page 26: ...Figures xxii...
Page 34: ...Introduction 1 8 1...
Page 44: ...Initial Configuration 2 10 2...
Page 242: ...Configuring the Switch 3 198 3...
Page 498: ...Software Specifications A 4 A...
Page 511: ......
Page 512: ...ES3526XA ES3552XA E122006 CS R02D 149100005500H...