Logging Trap; Clear Log - Edge-Core ECS4810-12M Layer 2 Management Manual

Hide thumbs Also See for ECS4810-12M Layer 2:
Table of Contents

Advertisement

| System Management Commands
C
21
HAPTER
Event Logging

logging trap

clear log

R
C
ELATED
OMMANDS
logging history (634)
logging trap (636)
clear log (636)
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.
S
YNTAX
logging trap [level level]
no logging trap [level]
level - One of the syslog severity levels listed in the table on
page
634. Messages sent include the selected level through level 0.
D
S
EFAULT
ETTING
Disabled
Level 7
C
M
OMMAND
ODE
Global Configuration
C
U
OMMAND
SAGE
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.
E
XAMPLE
Console(config)#logging trap 4
Console(config)#
This command clears messages from the log buffer.
S
YNTAX
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).
D
S
EFAULT
ETTING
Flash and RAM
– 636 –

Advertisement

Table of Contents
loading

Table of Contents