show cli variables
S e n d d o c u m e n t a t i o n c o m m e n t s t o m d s f e e d b a c k - d o c @ c i s c o . c o m
show cli variables
To display user-defined session and persistent CLI variables, use the show cli variables command.
Syntax Description
This command has no arguments or keywords.
Defaults
None.
Command Modes
EXEC mode.
Command History
Release
3.0(1)
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
Command
cli var name
cli var name
(configuration)
Cisco MDS 9000 Family Command Reference
22-28
show cli variables
Modification
This command was introduced.
Description
Defines a CLI session variable.
Defines a CLI persistent variable.
Chapter 22
Show Commands
OL-8413-07, Cisco MDS SAN-OS Release 3.x