Send documentation comments to mdsfeedback-doc@cisco.com
22-28
Cisco MDS 9000 Family Command Reference
OL-8413-07, Cisco MDS SAN-OS Release 3.x
Chapter 22 Show Commands
show cli variables
show cli variables
To display user-defined session and persistent CLI variables, use the show cli variables command.
show cli variables
Syntax Description This command has no arguments or keywords.
Defaults None.
Command Modes EXEC mode.
Command History
Usage Guidelines The show CLI variables command shows all available CLI variables, including user-defined session
CLI variables, user-defined persistent CLI variables, and system-defined CLI variables. There is no
distinction between the types of CLI variables in the output.
Examples The following example displays CLI variables.
switch# show cli variables
VSH Variable List
-----------------
TIMESTAMP="2005-10-24-21.29.33"
testinterface="fc 1/1"
Note The TIMESTAMP variable shown in the output in the preceding example is a predefined variable
supported by Cisco MDS SAN-OS. For more information about the TIMESTAMP variable, refer to the
Cisco MDS 9000 Family CLI Configuration Guide.
Related Commands
Release Modification
3.0(1) This command was introduced.
Command Description
cli var name Defines a CLI session variable.
cli var name
(configuration)
Defines a CLI persistent variable.