Cisco Cisco Packet Data Gateway (PDG) Dépliant

Pagina di 8487
  Global Configuration Mode Commands (A-K) 
commandguard  ▀   
 
Cisco ASR 5x00 Command Line Interface Reference  ▄  
 
   
5045 
commandguard 
When enabled this command causes the 
configure
 and 
autoconfirm
 CLI commands to prompt for confirmation 
(Y/N). When 
commandguard
 is disabled, these commands will not prompt for confirmation. If 
autoconfirm
 is 
enabled, 
commandguard
 has no affect. 
Product
 
All products 
Privilege
 
Security Administrator, Administrator, Operator 
Mode
 
Exec > Global Configuration 
configure
 
Entering the above command sequence results in the following prompt: 
[local]host_name(config)# 
Syntax
 
[ no ] commandguard 
Usage 
Use this command to prevent users from accidentally entering Configuration mode via the CLI or file replay 
(most commonly caused by a cut and paste error in the configuration file). By default this command is 
disabled. The status of 
commandguard
 is output in 
show configuration
 commands. 
Example
 
The following command enables confirmation prompting for 
configure
 and 
autoconfirm
 CLI 
commands: 
commandguard