Command Reference Syslog Commands
8 Syslog Commands
8.1 clear logging
Use this command to clear the logs from the buffer in privileged EXEC mode.
clear logging
This command clears the log packets from the memory buffer. You cannot clear the statistics of the
log packets.
The following example clears the log packets from the memory buffer.
Ruijie# clear logging
Displays the logs in the buffer.
Records the logs in the memory buffer.
Use this command to send the log message to the specified syslog server.
logging { ip-address | ipv6 ipv6-address } [ udp-prot port ]
Use this command to delete the specified syslog server.
no logging { ip-address] | ipv6 ipv6-address }
Use this command to restore the default port 514.
no logging { ip-address | ipv6 ipv6-address } udp-prot