switch-status-show

This command is used to display the status of the switch.

Syntax   switch-status-show [start-time date/time: yyyy-mm-ddThh:mm:ss] [end-time date/time: yyyy-mm-ddThh:mm:ss] [duration duration: #d#h#m#s][interval duration: #d#h#m#s] [since-st art|no-since-start] [older-than duration: #d#h#m#s] [within-last duration: #d#h#m#s] [name name-string] [value value-number][units degrees-C|volts|rpm] [state ok|fault|fatal]

start-time date/time: yyyy-mm-ddThh:mm:ss

Specify a time to start statistic collection.

end-time date/time: yyyy-mm-ddThh:mm:ss

Specify a time to end statistic collection.

duration duration: #d#h#m#s

Specify the duration of statistic collection.

interval duration: #d#h#m#s

Specify an interval between statistic collection.

since-start|
no-since-start

Display statistics collected since start-time.

older-than duration: #d#h#m#s

Display statistics older than the specified time.

within-last duration: #d#h#m#s

Display statistics within the last time.

name name-string

Displays the hardware name.

value value-number

Displays the hardware value.

units degrees-C|volts|rpm

Displays the hardware units.

state ok|fault|fatal

Displays the hardware state.

Formatting Options

format fields-to-display

Display output using a specific parameter. Use all to display all possible output.

parsable-delim character

Display output formatted for machine parsing using a specified delimiter.

sort-asc

Display output in ascending order.

sort-desc

Display output in descending order.

show dups

Display duplicate entries in the output.

layout vertical|horizontal

Format the output in a vertical or horizontal layout.

show-interval seconds-interval

Repeat the show command at a specified interval.

show-headers|
no-show-headers

Display column headers or not.

limit-output number

Limit the display output to a specific number of entries.

count-output

Display the number of entries in the output. This is useful with vRouter show commands.

unscaled

Display full values in the output instead of scaled approximate values.

raw-int-values

Display integer values instead of mapped values

sum-by

Aggregate output by specific parameters. If sum-by fields are specified, records that have the same value in sum-by fields are combined and displayed as one aggregate record. NOTE: This option is only available for show commands that collect statistics such as connection-stats-show.

Defaults   None

Access   CLI

History   Command introduced in nvOS Version 1.2.1.

Usage   Use this command to display the status of a switch.

Examples  To display the status, use the following command:

CLI network-admin@switch > switch-status-show

switch        name            value units     state

------------- --------------- ----- --------- -----

pleiades25    Switch Temp     37    degrees-C ok    

pleiades25    CPU1 Temp       41    degrees-C ok    

pleiades25    CPU2 Temp       45    degrees-C ok    

pleiades25    System Temp     39    degrees-C ok    

pleiades25    Peripheral Temp 30    degrees-C ok    

pleiades25    PCH Temp        45    degrees-C ok    

pleiades25    switch-5.0v         volts     ok    

pleiades25    switch-2.5v         volts     ok    

pleiades25    switch-0.95v        volts     ok    

pleiades25    switch-1.8v         volts     ok    

pleiades25    switch-1.2v         volts     ok    

pleiades25    fan-1         7050  rpm       ok    

pleiades25    fan-2         8057  rpm       ok    

pleiades25    fan-3         8057  rpm       ok    

pleiades25    fan-4         7050  rpm       ok

Examples  To display the status of a switch, use the following command:

switch-status-show

Switch:                         netops-1

x86-system-temp[C]:             37

x86-peripheral-temp[C]:         27

x86-pch-temp[C]   :             43

x86-s-vtt:                      ok

x86-1p1v:                       ok

x86-1p5v:                       ok

x86-3p3v:                       ok

x86-3p3vsb:                     ok

x86-5p0v:                       ok

x86-5p0vsb:                     ok

x86-12p0v:                      ok

x86-vbat:                       ok

switch-temp[C]:                 45

switch-0p95v:                   ok

switch-1p8v:                    45

switch-t1p2v:                   fault

fan1-speed[RPM]:                3525

fan2-speed[RPM]:                3525

fan3-speed[RPM]:                3525

fan4-speed[RPM]:                3760

See Also   

switch

switch-config-export

switch-config-import

switch-config-copy-to-export

switch-config-copy-to-import

switch-info-show

switch-reboot

switch-setup-modify

switch-setup-show