Enabling Cli Timestamping; Configuring Cli Confirmation Prompts; Enabling Automatic Confirmation - Cisco ASR 5500 Administration Manual

Asr 5500 system administration guide, staros release 19
Table of Contents

Advertisement

System Settings

Enabling CLI Timestamping

To display a timestamp (date and time) for every command that is executed on the CLI, enter the following
command at the root prompt for the Exec mode:
timestamps
The date and time appear immediately after you execute the command.
Save the configuration as described in the Verifying and Saving Your Configuration chapter.

Configuring CLI Confirmation Prompts

A number of Exec mode and Global Configuration mode commands prompt users for a confirmation (Are
you sure? [Yes|No]:) prior to executing the command.
This section describes configuration settings that:
• Automatically confirm commands for the current CLI session (Exec mode) or for all CLI sessions and
• Requires confirmation prompting only for the Exec mode configure command and autoconfirm
• Selectively requires confirmation of Exec mode configuration commands.

Enabling Automatic Confirmation

You can use the autoconfirm command to disable confirmation prompting for configuration commands. The
autoconfirm command is available in the Exec mode and Global Configuration mode. Enabling the autoconfirm
feature automatically supplies a "Yes" response to configuration command prompts, including for critical
commands such as reload and shutdown. By default autoconfirm is disabled.
In the Exec mode, autoconfirm applies only to the current interactive CLI session.
In the Global Configuration mode, autoconfirm applies to all CLI sessions for all CLI users:
configure
autoconfirm
end
To disable autoconfirm once it has been enabled, use the no autoconfirm command.
Important
Autoconfirm is intended as an "ease-of-use" feature. It presumes that the answer to "Are you sure? [Y/N]"
prompts will be "Yes", and skips the prompt. Its use implies that the user is an expert who does not need these
"safety-net" prompts.
users (Global Configuration mode).
command.
If commandguard is enabled, autoconfirm will disable commandguard.
ASR 5500 System Administration Guide, StarOS Release 19
Enabling CLI Timestamping
37

Advertisement

Table of Contents
loading

Table of Contents