Command Reference Syslog Commands
logging on
Turns on the log switch.
logging
Sends logs to the Syslog server.
show logging
Shows the log messages and related log
configuration parameters in the buffer.
Platform
Description
N/A
service sequence-numbers
Use this command to attach serial numbers into the logs in global configuration mode. Use the no
form of the command to remove the serial numbers in the logs.
service sequence-numbers
no service sequence-numbers
Parameter
Description
Parameter Description
N/A N/A
Defaults
No serial number is carried in the logs by default.
Command
Mode
Global configuration mode
Usage Guide
In addition to the timestamp, you can add serial numbers to the logs, numbering from 1. Then, it is
clearly known whether the logs are lost or not and their sequence.
Configuration
Examples
The following example adds serial numbers to the logs.
Ruijie(config)# service sequence-numbers
Related
Commands
Command Description
logging on
Turns on the log switch.
service timestamps
Attaches timestamps to the logs.
Platform
Description
N/A
service sysname
Use this command to attach system name to logs in global configuration mode. Use the no form of
the command to remove the system name from the logs.