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

Nx-os fundamentals configuration guide, release 7.x
Hide thumbs Also See for Nexus 5500 Series:
Table of Contents

Advertisement

Understanding the Command-Line Interface

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.
SUMMARY STEPS
1. terminal color [evening] [persist]
DETAILED STEPS
Command or Action
Step 1
terminal color [evening] [persist]
Example:
switch# terminal color
OL-30890-01
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.
Purpose
Sets the CLI display colors for the terminal session. The evening keyword
is not supported. The persist keyword makes the setting persistent across
sessions for the current username. The default setting is not persistent.
Cisco Nexus 5500 Series NX-OS Fundamentals Configuration Guide, Release 7.x

Enabling or Disabling the CLI Confirmation Prompts

71

Advertisement

Table of Contents
loading

Table of Contents