Clear Logging; Logging Buffered; Logging Console; Logging Host - Digitalchina Networks DCS-3950 series Manual

Table of Contents

Advertisement

5.6.2.2.1 clear logging

Command: clear logging
Function: Log in the log buffers can be cleared through this command.
Command mode: Admin Mode
Usage Guide: This command is used to clear all the information in the log buffer zone.
Example: Clear all the logs in the log buffer.
Switch# clear logging
Relative Commands: show logging buffered

5.6.2.2.2 logging buffered

Command: logging buffered [<buffersize>]
no logging buffered
Function: This command is used to enable the memory buffer as output path for logs. If
no is put in front of the command, this command will be disabled.
Parameters: <buffersize> is the size for the log buffer, in number of lines the buffer can
store. The buffer size is limited between 10 and 1000.
Command mode: Global Mode.
Default: Logs will not be stored in the memory buffer by default. If logging buffer is
enabled, the default size of the buffer is 100 lines.
Usage Guide: This command will take effect only if the global logging system is enabled.
Example: To configure the logging to be stored in memory buffers, and set the size of the
memory buffers to be 50.
Switch(Config)# logging buffered 50
Relative Commands: logging on,show channel logbuff,show logging buffered

5.6.2.2.3 logging console

Command: logging console
no logging console
Function: This command will configure the console port as the output for the logging
informations. If no is put in front of the command, it will be disabled.
Command mode: Admin Mode
Default: Logging information will not be output to the console port by default.
Usage Guide: This command can take effect only if the global logging system is enabled.
Example: Enable the console port as the output for logging information.
Switch#logging console
Relative Commands: logging on,show channel console

5.6.2.2.4 logging host

Command: logging <ip-addr> [facility <local-number>]
DCS-3950 series Ethernet switch manual
97

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents