S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
4-68
Cisco MDS 9000 Family Command Reference
OL-18089-01, Cisco MDS NX-OS Release 4.x
Chapter 4 C Commands
clear logging
clear logging
To delete the syslog information, use the
clear logging
command in EXEC mode.
clear logging
{
logfile
|
nvram | onboard
information
[
module
slot
]
| session}
Syntax Description
Defaults
None.
Command Modes
EXEC.
Command History
Examples
The following example shows how to clear the debug log file:
switch#
clear logging logfile
The following example shows how to clear the onboard system health log file:
switch#
clear logging onboard system-health
!!!WARNING! This will clear the selected logging buffer!!
Do you want to continue? (y/n) [
n
]
Related Commands
logfile
Clears log file messages.
nvram
Clears NVRAM logs.
onboard
information
Clears onboard failure logging (OBFL) information. The types of
information include
boot-uptime
,
cpu-hog
,
device-version
,
endtime
,
environmental-history
,
error-stats
,
exception-log
,
interrupt-stats
,
mem-leak
,
miscellaneous-error
,
module
,
obfl-history
,
obfl-log
,
register-log
,
stack-trace
,
starttime
,
status
, and
system-health
.
module
slot
(Optional) Clears OBFL information for a specified module.
session
Clears a logging session.
Release
Modification
1.0(2)
This command was introduced.
3.0(1)
Added the
onboard
,
module
and
session
options.
Command
Description
show logging
Displays logging information.