ONTAP 9.13.1 commands

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 status and requests for Ethernet switch 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 ] }

Specifies an instance of the Ethernet switch devices log status.

[-device <text>] - Switch Name

Specifies the name of the Ethernet switch device to display log status on.

[-log-request {true|false}] - Requested Log

Specifies the state of the log request for an Ethernet switch device. Values: true, false.

[-log-status <text>] - Log Status

Specifies the status of the log request for an Ethernet switch device.

[-log-timestamp <MM/DD/YYYY HH:MM:SS>] - Log Timestamp

Specifies the completion timestamp of the log request for an Ethernet switch device.

[-idx <integer>] - Index

Specifies the index of the Ethernet switch device.

[-filename <text>] - Filename

Specifies the full filename of the Ethernet switch log.

[-filenode <text>] - File Node

Specifies the name of the controller on which the Ethernet switch log resides.

Examples

cluster1::> system switch ethernet log show
Log Collection Enabled: true
Index Switch                               Log Timestamp        Status
    ------ ------------------------------------ -------------------  -------------
         1 switch-name01(Switch---SN)           -                    -
         2 switch-name02(Switch---SN)           -                    -

Displays the Ethernet switches, their last log timestamp, and the status of the last log request.

Top of Page