EasyManua.ls Logo

Cisco Nexus 5500 Series - Configuring CLI Variables; About CLI Variables

Cisco Nexus 5500 Series
160 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
timeout value:1
deadtime value:1
total number of servers:1
following RADIUS servers are configured:
10.10.1.1:
available for authentication on port:1812
available for accounting on port:1813
10.10.2.2:
available for authentication on port:1812
available for accounting on port:1813
switch(config)# no radius-server host 10.10.2.2
switch(config)# show radius-server
retransmission count:0
timeout value:1
deadtime value:1
total number of servers:1
following RADIUS servers are configured:
10.10.1.1:
available for authentication on port:1812
available for accounting on port:1813
This example shows how to use the no form of a command in EXEC mode:
switch# cli var name testinterface ethernet1/2
switch# show cli variables
SWITCHNAME="switch"
TIMESTAMP="2009-05-12-13.43.13"
testinterface="ethernet1/2"
switch# cli no var name testinterface
switch# show cli variables
SWITCHNAME="switch"
TIMESTAMP="2009-05-12-13.43.13"
Configuring CLI Variables
This section describes CLI variables in the Cisco NX-OS CLI.
About CLI Variables
The Cisco NX-OS software supports the definition and use of variables in CLI commands.
You can refer to CLI variables in the following ways:
Entered directly on the command line.
Passed to a script initiated using the run-script command. The variables defined in the parent shell are
available for use in the child run-script command process.
CLI variables have the following characteristics:
Cannot have nested references through another variable
Can persist across switch reloads or exist only for the current session
Cisco NX-OS supports one predefined variable: TIMESTAMP. This variable refers to the current time when
the command executes in the format YYYY-MM-DD-HH.MM.SS.
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x
54 OL-30890-01
Understanding the Command-Line Interface
Configuring CLI Variables

Table of Contents

Other manuals for Cisco Nexus 5500 Series

Related product manuals