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 5500 System Administration Guide, StarOS Release 21.5
30
System Settings
Enabling CLI Timestamping
Содержание ASR 5500
Страница 100: ...ASR 5500 System Administration Guide StarOS Release 21 5 74 System Interfaces and Ports VLANs and Management Ports ...
Страница 136: ...ASR 5500 System Administration Guide StarOS Release 21 5 110 Smart Licensing Smart Licensing Bulk Statistics ...
Страница 140: ...ASR 5500 System Administration Guide StarOS Release 21 5 114 Monitoring the System Clearing Statistics and Counters ...
Страница 260: ...ASR 5500 System Administration Guide StarOS Release 21 5 234 Routing Viewing Routing Information ...
Страница 278: ...ASR 5500 System Administration Guide StarOS Release 21 5 252 BGP MPLS VPNs VPN Related CLI Commands ...
Страница 292: ...ASR 5500 System Administration Guide StarOS Release 21 5 266 Session Recovery Sample Output for show rct stats verbose ...
Страница 324: ...ASR 5500 System Administration Guide StarOS Release 21 5 298 Interchassis Session Recovery Fallback Procedure ...
Страница 338: ...ASR 5500 System Administration Guide StarOS Release 21 5 312 Engineering Rules ECMP Groups ...
Страница 362: ...ASR 5500 System Administration Guide StarOS Release 21 5 336 StarOS Tasks Management Processes ...