Requiring Confirmation For Specific Exec Mode Commands - Cisco ASR 5000 Series Administration Manual

Staros release 21.4
Hide thumbs Also See for ASR 5000 Series:
Table of Contents

Advertisement

System Settings
The following command sequence enables the commandguard feature:
configure
commandguard
end
With commandguard enabled the confirmation prompt appears as shown in the example below:
[local]
Are you sure? [Yes|No]:
[local]
To disable commandguard once it has been enabled, use the no commandguard command.
The status of commandguard is output in show configuration commands.

Requiring Confirmation for Specific Exec Mode Commands

A keyword for the commandguard command allows you to apply mandatory prompting for specified categories
of Exec mode configuration commands, even when autoconfirm is enabled.
The command syntax is as follows:
configure
commandguard exec-command exec_mode_category
end
Notes:
• exec-command exec_mode_category specifies one of the following categories of Exec mode configuration
• You can enter multiple commandguard exec-command exec_mode_category commands.
• All Exec mode commands beginning with the specified category word will prompt for confirmation,
host_name
configure
#
yes
host_name
(config)#
commands.
◦ card
◦ clear
◦ copy
◦ debug
◦ delete
◦ filesystem
◦ hd
◦ reload
◦ rename
◦ shutdown
◦ task
◦ upgrade
regardless if autoconfirm is enabled.
Requiring Confirmation for Specific Exec Mode Commands
ASR 5500 System Administration Guide, StarOS Release 21.4
49

Advertisement

Table of Contents
loading

This manual is also suitable for:

Asr 5500

Table of Contents