![background image](http://html.mh-extra.com/html/smc-networks/8126pl2-f/8126pl2-f_management-manual_1300686332.webp)
Command Line Interface
4-44
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-42.)
Default Setting
• Enabled
• Level 7 - 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 log
This command clears messages from the log buffer.
Syntax
clear log
[
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 log
Console#
Summary of Contents for 8126PL2-F
Page 1: ...MANAGEMENT GUIDE ta TigerSwitchTM 10 100 1000 L2 Lite SMB PoE Gigabit Switch SMC8126PL2 F ...
Page 2: ......
Page 6: ...vi ...
Page 22: ...Contents xxii ...
Page 26: ...Tables xxvi ...
Page 48: ...Initial Configuration 2 10 2 ...
Page 117: ...User Authentication 3 69 3 Web Click Security AAA Summary Figure 3 43 AAA Accounting Summary ...
Page 590: ...Command Line Interface 4 302 4 ...
Page 604: ...Glossary Glossary 8 ...
Page 612: ...Index 8 Index ...
Page 613: ......
Page 614: ...149100000023A R01 SMC8126PL2 F ...