clear debug buffer

Syntax

clear debug buffer

Description

Clears all debug logs. Using the show debug buffer command will only display the logs generated after the clear debug buffer command.

Command context

Manager (#)

Authority

Administrators or local user group members with execution rights for this command.

Examples

Clearing all generated debug logs:

switch# show debug buffer
--------------------------------------------------------------------------------------------------------------
show debug buffer
--------------------------------------------------------------------------------------------------------------
2018-10-14:09:10:58.558710|lldpd|LOG_DEBUG|MSTR||LLDP|LLDP_CONFIG|No Port cfg changes
2018-10-14:09:10:58.558737|lldpd|LOG_DEBUG|MSTR||LLDP|LLDP_EVENT|lldpd_stats_run entered at time 8257199
2018-10-14:09:10:58.569317|lldpd|LOG_DEBUG|MSTR||LLDP|LLDP_CONFIG|No Port cfg changes
2018-10-14:09:11:21.881907|hpe-sysmond|LOG_INFO|MSTR||SYSMON|SYSMON_CONFIG|Sysmon poll interval changed to 32


switch# clear debug buffer
switch# show debug buffer
--------------------------------------------------------------------------------------------------------------
show debug buffer
--------------------------------------------------------------------------------------------------------------
2018-10-14:09:13:24.481407|hpe-sysmond|LOG_INFO|MSTR||SYSMON|SYSMON_CONFIG|Sysmon poll interval changed to 51