Operation Manual
System Log Commands 24 – 517
24
System Log Commands
Use the system log commands to record information for monitoring and troubleshooting. MSS
system logs are based on RFC 3164, which defines the log protocol.
This chapter presents system log commands alphabetically. Use the following table to locate
commands in this chapter based on their use.
clear log
Clears the log messages stored in the log buffer, or removes the configuration for a syslog server
and stops sending log messages to that server.
Syntax
clear log [buffer | server ip-addr]
Defaults
None.
Access
Enabled.
History
Introduced in MSS Version 1.0.
Examples
To stop sending system logging messages to a server at 192.168.253.11, type the
following command:
MX# clear log server 192.168.253.11
success: change accepted.
Type the following command to clear all messages from the log buffer:
MX# clear log buffer
success: change accepted.
See Also
● clear log trace on page 22-503
● set log on page 24-518
System Logs set log on page 24-518
set log mark on page 24-519
show log buffer on page 24-520
show log config on page 24-521
show log trace on page 24-521
clear log on page 24-517
buffer Deletes the log messages stored in nonvolatile storage.
server ip-addr Deletes the configuration for and stops sending log messages to the syslog server at
this IP address. Specify an address in dotted decimal notation.