EasyManuals Logo

Digitalchina Networks DCS-3950 series User Manual

Digitalchina Networks DCS-3950 series
394 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #109 background imageLoading...
Page #109 background image
99
DCS-3950 series Ethernet switch manual
5.6.2.2.7 logging source
Command: logging source {default|m_shell|sys_event} channel {console|logbuff|
loghost|monitor} [ level {critical|debugging|notifications|warnings}
[state {on|off}]]
no logging source {default|m_shell|sys_event} channel
{console|logbuff| loghost|monitor }
Function: This command is used to add or remove logging source path.
Parameters: m_shell is used to enable shell for logging output path. sys_event is used
to enable logging for important system events, including ports up/down events, topology
changes. default is used to enable logging for all the software modules. channel (console
| logbuff | loghost | monitor) is the output path for logging. console for the console port,
monitor for the user monitor, logbuf for the memory buffer, and loghost for remote
logging host. level (critical | debugging | notifications | warnings) configures the
logging level. state { on | off } is used to enable or disable the logging.
Logging levels are defined as below:
critical - critical logs
debugging - logs for debugging purpose.
notifications - Important information.
warnings - Warning logs.
Command mode: Admin Mode
Default: Logging is delivered to logbuffer by default, with logging level as debugging.
Usage Guide: This command is used to filter logging information at the modules’ level.
For example, the logging for the Driver module can be configured to output to any
supported output path. For logs with its level higher than warnings can be configured to
output to hosts, while logs of lower levels than notifications can be configured to output to
logbuf.
Notice: There only two modules available for the source at the time when the manual is
written. They are:
One is m_shell for logging for all the configuration commands, the log level is notifications.
And the other is sys_event, which is used to monitor all the system events, including
UP/DOWN, STP topology changes, and the state changes of trank ports. The loglevel is
warnings.
Example: Enable logging for the shell module for logs that are delivered to loghost.l And
enable the logging level to be notifications. Enable logging of the shell module to the
logbuff, with the logging level to be debugging.
Switch(Config)# logging source m_shell channel loghost level notifications state on
Switch(Config)# logging source m_shell channel logbuff level debugging state on
Relative Commands: logging on,logging console,logging monitor,logging host,
logging buffered

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Digitalchina Networks DCS-3950 series and is the answer not in the manual?

Digitalchina Networks DCS-3950 series Specifications

General IconGeneral
BrandDigitalchina Networks
ModelDCS-3950 series
CategoryNetwork Router
LanguageEnglish