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
users (Global Configuration mode).
•
Requires confirmation prompting only for the Exec mode
configure
command and
autoconfirm
command.
•
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.
If commandguard is enabled, autoconfirm will disable commandguard.
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.
ASR 5000 System Administration Guide, StarOS Release 21.1
45
System Settings
Enabling CLI Timestamping
Summary of Contents for ASR 5000
Page 26: ...ASR 5000 System Administration Guide StarOS Release 21 1 xxvi Contents ...
Page 316: ...ASR 5000 System Administration Guide StarOS Release 21 1 288 VLANs VLAN Related CLI Commands ...
Page 400: ...ASR 5000 System Administration Guide StarOS Release 21 1 372 Engineering Rules ECMP Groups ...