Enabling Or Disabling The Cli Confirmation Prompts; Setting Cli Display Colors - Cisco MDS 9000 Series Configuration Manual

Hide thumbs Also See for MDS 9000 Series:
Table of Contents

Advertisement

Enabling or Disabling the CLI Confirmation Prompts

The example shows how to display default number of lines of the command history:
switch# show cli history
The example shows how to display 20 lines of the command history:
switch# show cli history 20
The example shows how to display only the commands in the command history without the command number
and timestamp:
switch(config)# show cli history unformatted
Enabling or Disabling the CLI Confirmation Prompts
For many features, the Cisco NX-OS software displays prompts on the CLI that ask for confirmation before
continuing. You can enable or disable these prompts. The default is enabled.
SUMMARY STEPS
1. [no] terminal dont-ask [persist]
DETAILED STEPS
Command or Action
Step 1
[no] terminal dont-ask [persist]
Example:
switch# terminal dont-ask

Setting CLI Display Colors

You can change the CLI colors to display as follows:
• The prompt displays in green if the previous command succeeded.
• The prompt displays in red of the previous command failed.
• The user input displays in blue.
• The command output displays in the default color.
The default colors are those set by the terminal emulator software.
Cisco MDS 9000 Family NX-OS Fundamentals Configuration Guide
64
Purpose
Disables the CLI confirmation prompt. The persist keyword makes the
setting persistent across sessions for the current username. The default is
enabled.
Use the no form of the command to enable the CLI confirmation prompts.
Understanding the Command-Line Interface
OL-29291-02

Advertisement

Table of Contents
loading

Table of Contents