ONTAP 9.15.1 commands

system switch ethernet interface show

Display interface information for Ethernet switches (cluster, management and storage).

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The system switch ethernet interface show command displays the status and configuration of network interfaces on the monitored switches.

Parameters

{ [-fields <fieldname>,…​]

Selects the fields that you specify.

| [-counters ]

Displays the current status of the following network counters:

  • in-octets

  • in-errors

  • in-discards

  • out-octets

  • out-errors

  • out-discards

| [-instance ] }

Displays detailed interface configuration for all monitored Ethernet switches

[-device <text>] - Switch Name

Selects the interface ports that belong to the specified switch.

[-interface-name <text>] - Interface Name

Selects the interface ports that match the specified interface name.

[-index <integer>] - Interface Index

Selects the interface ports that match the specified interface index.

[-type <interface type>] - Interface Type

Selects the interface ports that match the specified interface type.

[-mtu <integer>] - MTU

Selects the interface ports that match the specified maximum transfer unit.

[-duplex-type {unknown|half-duplex|full-duplex}] - Duplex Settings

Selects the interface ports that match the specified duplex setting.

[-speed <integer>] - Interface Speed(Mbps)

Selects the interface ports that match the specified interface speed in bits per second.

[-admin-state {up|down|testing}] - Adminstrative Status

Selects the interface ports that match the specified administrative status of the switch interface.

[-oper-state {up|down|testing|unknown|dormant|not-present|lower-layer-down}] - Operational Status

Selects the interface ports that match the specified operational status.

[-is-isl {yes|no}] - Is ISL

Selects the interface ports that are Inter-Switch links (yes) or are not Inter-Switch links (no).

[-in-octets <Counter>] - Input Octets

Selects the interface ports that match the specified number of octets entering the interface.

[-in-errors <Counter>] - Input Errors

Selects the interface ports that match the specified number of input packets that were dropped due to errors.

[-in-discards <Counter>] - Input Discards

Selects the interface ports that match the specified number of input packets that were silently discarded (possibly due to buffer overflow).

[-out-octets <Counter>] - Output Octets

Selects the interface ports that match the specified number of octets that exited the interface.

[-out-errors <Counter>] - Output Errors

Selects the interface ports that match the specified number of output packets that were dropped due to errors.

[-out-discards <Counter>] - Output Discards

Selects the interface ports that match the specified number of output packets that were silently discarded (possibly due to buffer overflow).

[-interface-number <integer>] - Interface Number

Selects the interface ports that match the specified interface number.

[-unique-name <text>] - Interface Unique Name

Selects the interface port that matches the specified unique name.

[-display-name <text>] - Interface Display Name

Selects the interface ports that match the specified display name.

[-status {ok|ok-with-suppressed|degraded|unreachable|unknown}] - Port Config Status

Selects the interface ports that match the specified status.

[-monitor {node-connect|system-connect|system|controller|chassis|cluster-switch|example|ethernet-switch}] - Health Monitor

Selects the interface ports that the specified health monitor continuously monitors.

[-switch-type {cluster-network|management-network|storage-network}] - Switch Network

Selects the interface ports that match the specified switch type.

[-remote-port-mtu <integer>,…​] - MTU of Remote Port

Selects the interface ports that match the specified remote port mtu.

[-remote-port-name <text>] - Remote Port Name

Selects the interface ports that match the specified remote port name.

[-remote-device <text>] - Remote Device Name

Selects the interface ports that match the specified remote device.

[-model <text>] - Switch Model

Selects the interface ports that match the specified model.

[-mac-address <text>] - MAC Address

Selects the interface ports that match the specified mac address.

[-vlan-id <text>] - Vlan ID

Selects the interface ports that match the specified vlan id.

[-if-alias <text>] - Interface Alias

Selects the interface ports that match the specified interface alias.

Examples

cluster1::> system switch ethernet interface show

Switch: SwitchA
Opera-
           Num-                     Admin   tional   Is
Interface  ber  Index     Type      Status  Status   ISL  MTU   Duplex Speed
---------- ---- --------- --------- ------- -------- ---- ----- ------ --------
Ethernet1/    1 436207616 ethernetC up      up       no    1500 full-     40000
1                         smacd                                 duplex

Ethernet1/   10 436244480 ethernetC up      down     no    1500 full-     40000
10                        smacd                                 duplex

Switch: SwitchB
Opera-
           Num-                     Admin   tional   Is
Interface  ber  Index     Type      Status  Status   ISL  MTU   Duplex Speed
---------- ---- --------- --------- ------- -------- ---- ----- ------ --------
Ethernet1/    1 436207616 ethernetC up      up       no    1500 full-     40000
1                         smacd                                 duplex

Ethernet1/   10 436244480 ethernetC up      down     no    1500 full-     40000
10                        smacd                                 duplex

The example above displays the interfaces on all Ethernet switches (cluster, management and storage).

cluster1::> system switch ethernet interface show -counters

Switch: SwitchA
In                   Out         Out
Interface       In Octets In Errors Discards   Out Octets   Errors    Discards
----------- ------------- --------- -------- ------------ -------- -----------
Ethernet1/1    1856922869    177091        0   3122212606        0           2

Ethernet1/     3242386021         0        0   1408092011        0          74
10

Switch: SwitchB
In                   Out         Out
Interface       In Octets In Errors Discards   Out Octets   Errors    Discards
----------- ------------- --------- -------- ------------ -------- -----------
Ethernet1/1    1281177979    182012        0   3271353786        0           1

Ethernet1/     3611218526         0        0   2626671058        0           0
10

The example above displays the counters on switch network interfaces for all the Ethernet switches (cluster, management and storage).

Top of Page