show var

show var {varname}
Note

Note

This is a script command and operates only in scripts or on the command line when scripting is enabled with the following command: enable cli scripting {permanent}.

Description

Displays the current session variables or the named variable.

Syntax Description

varname Displays the variable specified, if present.

Default

N/A.

Usage Guidelines

Use this command to see the list of current session variables. The display includes the variable name and value.

Example

The output of this command is similar to the following:

Switch.7 # show var
----------------------------------------
Count : 4
----------------------------------------

------------------------------------------------------------------
variableName                      variableValue
--------------------------------  --------------------------------
CLI.SESSION_TYPE                  serial
CLI.USER                          admin
STATUS                            0
x                                 66
------------------------------------------------------------------

History

This command was first available in ExtremeXOS 11.6.

Platform Availability

This command is available on the Summit X450-G2, X460-G2, X670-G2, X770, and ExtremeSwitching X440-G2, X590, X620, X690, X870 series switches.