Specifications

98
DCS-3950 series Ethernet switch manual
no logging <ip-addr>
Function: This command is used to enable certern hosts to be output channel for logging
information. If no is put in front of the command, logging host configurations will be
removed.
Parameters: <ip-addr> is the IP address for the host to receive the logs.
<local-number> is the recording equipment of the host with a valid range of local0
local7.
Command mode: Admin Mode
Default: No log information output to the log host by default. The default recorder of the
log host is the local0.
Usage Guide: Only when the log host is configured by the logging command, this
command can be available.
Example: Send the log information to the log server with an IP address of 100.100.100.5,
and save to the log recording equipment local1
Switch# logging 100.100.100.5 facility local1
Relative Commands: logging onshow channel loghost
5.6.2.2.5 logging monitor
Command: logging monitor
no logging monitor
Function: This command is used to enable user’s monitor as the output of the logging
information. If no is put in front of this command, logging will be disabled.
Command mode: Admin Mode
Default: Logging information output to user monitor will be disabled by default.
Usage Guide: This command will take effect only if the global logging is enabled.
Example: To configure the user monitor as the output for the logging information.
Switch# logging monitor
Relative Commands: logging onshow channel monitor
5.6.2.2.6 logging on
Command: logging on
no logging on
Function: This command is used to enable the global logging information. If no is put in
front of this command, it will be disabled.
Command mode: Global Mode.
Default: Global logging will be disabled by default.
Usage Guide: Logging information can be delivered to hosts, the console port only if the
global logging information is enabled.
Example: Enable the global logging system.
Switch(Config)# logging on
Relative Commands: logging hostlogging bufferedlogging consolelogging
monitorshow logging buffered