HP StorageWorks XPath OS 7.4.X Command Reference Guide (AA-RVHCC-TE, September 2005)
186 XPath OS CLI commands
Clears port logs.
Synopsis
portlogclear [port_num]
Availability
admin
Description
Use this command to clear port logs. If no parameter is specified, all port logs are cleared.
Clear the port log before triggering an activity you want to observe. For example, if the port log is cleared
immediately before connecting an F_Port to the MP Router, portLogShow displays activity related to the
F_Port coming online.
See portLogShow for a description of port logs.
Operands
This command has following optional operand:
Examples
To clear the port log for port 9:
To clear all port logs:
See also
portLogDisable
portLogDump
portLogEnable
portLogShow
upTime
portLogClear
port_num Specifies the port number. Only the specified port logs are
cleared. Valid port numbers are:
0–15 External ports
16 Bridge port (an internal port)
17 Central processor (CP)
switch:admin> portlogclear 9
portlog of port 9 cleared
switch:admin> portlogclear
All portlogs cleared