3com 3CRUS2475 Manuale Utente

Pagina di 522
406
C
HAPTER
 28: S
YSLOG
 C
OMMANDS
logging file
The logging file Global Configuration mode command limits syslog 
messages sent to the logging file based on severity. To cancel using the 
buffer, use the no form of this command.
Syntax
logging file level
no logging file
Parameters
level — Specifies the severity level of syslog messages sent to the 
logging file. Possible values are: emergenciesalertscriticalerrors
warningsnotificationsinformational and debugging.
Default Configuration
The default severity level is errors.
Command Mode
Global Configuration mode
User Guidelines
There are no user guidelines for this command.
Example
The following example limits syslog messages sent to the logging file 
based on severity level alerts.
clear logging file
The clear logging file Privileged EXEC mode command clears messages 
from the logging file.
Syntax
clear logging file
Default Configuration
This command has no default configuration.
Console(config)# logging file alerts