Command Reference Guide

Fabric OS Command Reference 753
53-1002746-01
portLogClear
2
portLogClear
Clears the port log.
SYNOPSIS portlogclear
DESCRIPTION Use this command to clear the port log. It is recommended that you clear the port log before triggering an
activity so that the log displays only the log events related to that activity.
If the port log is disabled, portLogClear enables it. The port log is disabled automatically when certain
errors occur to allow the collection of all the information needed to understand the cause of the error.
When the port log is disabled, the events already present in the log are preserved, but new events are
not collected.
The following errors disable the port log:
FCPH, EXCHBAD
FCPH, EXCHFREE
NBFSM, DUPEPORTSCN
UCAST, RELICPDB
Refer to the Fabric OS Message Reference for more information on these errors.
NOTES The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
OPERANDS None
EXAMPLES To clear the port log:
switch:admin> portlogclear
switch:admin> portlogshow
port log is empty
SEE ALSO portLogDump, portLogShow