Chapter 62 commands for show, 1 clear logging, 2 logging – PLANET XGS3-24040 User Manual
Page 852: 3 ping, Clear logging, Logging, Ping
![background image](https://www.manualsdir.com/files/865186/content/doc852.png)
62-1
Chapter 62 Commands for Show
62.1 clear logging
Command: clear logging {sdram | nvram}
Function: This command is used to clear all the information in the log buffer zone.
Command Mode: Admin Mode
Usage Guide: When the old information in the log buffer zone is no longer concerned, we can use this
command to clear all the information.
Example: Clear all information in the log buffer zone sdram.
Switch#clear logging sdram
Related Command: show logging buffered
62.2 logging
Command: logging {<ipv4-addr> |
no logging {<ipv4-addr> |
Function: The command is used to configure the output channel of the log host. The “no” form of this
command will disable the output at the log host output channel.
Parameter: <ipv4-addr> is the IPv4 address of the host,
<local-number> is the recording equipment of the host with a valid range of local0~local7,which is in
accordance with the facility defined in the RFC3164; <severity> is the severity threshold of the log
information severity level, The rule of the log information output is explained as follows:only those with a
level equal to or higher than the threshold will be outputted. For detailed description on the severity
please refer to the operation manual.
Command Mode: Global Mode
Default: No log information output to the log host by default. The default recorder of the log host is the
local0, the default severity level is warnings.
Usage Guide: Only when the log host is configured by the logging command, this command will be
available. We can configure many IPv4 and IPv6 log hosts.
Example 1: Send the log information with a severity level equal to or higher than warning to the log
server with an IPv4 address of 100.100.100.5, and save to the log recording equipment local1.
Switch(config)# logging 100.100.100.5 facility local1 level warnings
Example 2: Send the log information with a severity level equal to or higher than informational to the log
server with an IPv6 address of 3ffe:506:1:2::3, and save to the log recording equipment local5.
Switch(config)# logging 3ffe:506:1:2::3 facility local1 level informational
62.3 ping
Command: ping [[src
Function: Issue ICMP request to remote devices, Check whether the remote device can be reached by
the switch.