system switch ethernet log show
Display Ethernet switch log information.
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The system switch ethernet log show
command displays the enablement and status of the hourly collection of periodic data and the status of the collection of detailed support logs.
Parameters
- {
[-fields <fieldname>,…]
-
If you specify the
-fields <fieldname>, …
parameter, the command output also includes the specified field or fields. You can use '-fields ?' to display the fields to specify. - |
[-instance ]
} -
If this parameter is specified, the command displays information about all entries.
[-device <text>]
- Switch Name-
If this parameter is specified, the command only displays log collection details of the provided Ethernet switch(es).
[-support-requested {true|false}]
- Support Log Requested-
If this parameter is specified, the command only displays log collection details of the Ethernet switch(es) with support log collection requested (
true
) or not requested (false
). [-support-timestamp <MM/DD/YYYY HH:MM:SS>]
- Last Support Log Timestamp-
If this parameter is specified, the command only displays log collection details of the Ethernet switch(es) with the provided timestamp for periodic log collection.
[-support-filename <text>]
- Support Log Filename-
If this parameter is specified, the command only displays log collection details of the Ethernet switch(es) with the provided path for support log collection.
[-periodic-enabled {true|false}]
- Periodic Log Enabled-
If this parameter is specified, the command only displays log collection details of the Ethernet switch(es) with periodic log collection enabled (
true
) or disable (false
). [-support-state {never-run|initiated|in-progress|completed|failed}]
- Support Log State-
If this parameter is specified, the command only displays log collection details of the Ethernet switch(es) with the provided state;
never-run
,initiated
,in-progress
,completed
, orfailed
[-support-status-msg <text>]
- Support Log Status-
If this parameter is specified, the command only displays log collection details of the Ethernet switch(es) with the provided status message for support log collection.
[-periodic-state {never-run|scheduled|in-progress|halted|failed}]
- Periodic Log State-
If this parameter is specified, the command only displays log collection details of the Ethernet switch(es) with the provided state; either
never-run
,scheduled
,in-progress
,halted
, orfailed
. [-periodic-status-msg <text>]
- Periodic Log Status-
If this parameter is specified, the command only displays log collection details of the Ethernet switch(es) with the provided status message for periodic log collection.
[-periodic-timestamp <MM/DD/YYYY HH:MM:SS>]
- Last Periodic Log Timestamp-
If this parameter is specified, the command only displays log collection details of the Ethernet switch(es) with the provided timestamp for periodic log collection.
[-periodic-filename <text>]
- Periodic Log Filename-
If this parameter is specified, the command only displays log collection details of the Ethernet switch(es) with the provided path for periodic log collection.
Examples
cluster1::> system switch ethernet log show Periodic Periodic Support Switch Log Enabled Log State Log State ----------------------------------------- ----------- ----------- ----------- switch-name01(Switch---SN) true scheduled failed switch-name02(Switch---SN) false failed -
Displays the Ethernet switches, their periodic log collection enablement, their periodic log collection state, and their support log collection state.