Cisco Cisco Packet Data Gateway (PDG)

Seite von 453
  System Settings 
Configuring CLI Confirmation Prompts  ▀   
 
ASR 5000 System Administration Guide, StarOS Release 18  ▄  
 
   
61 
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:
  If commandguard is enabled, autoconfirm will disable commandguard. 
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. 
Requiring Confirmation for autoconfirm and configure Commands 
You can require confirmation prompting for the autoconfirm (Exec mode and Global Configuration mode) and 
configure (Exec mode) commands via the Global Configuration mode commandguard command. 
Important:
  If autoconfirm is enabled, commandguard will not take effect until autoconfirm is disabled in both 
Exec and Global Configuration modes. 
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]host_nameconfigure 
Are you sure? [Yes|No]: yes 
[local]host_name(config)# 
To disable commandguard once it has been enabled, use the no commandguard command. 
The status of commandguard is output in show configuration commands.