Cisco Cisco ASR 5000

Page of 9109
  Exec Mode Commands (A-C) 
commandguard  ▀   
 
Command Line Interface Reference, StarOS Release 18  ▄  
 
   
4037 
commandguard 
Enable / disable Commandguard feature to prevent operators from accidentally entering configuration modes by 
presenting yes/no confirmation prompts. 
Product
 
SGSN 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec 
The following prompt is displayed in the Exec mode: 
[local]host_name
Syntax
 
commandguard 
[ default | no ] commandguard 
[ default | no ]
 
Restores the default behavior for confirmation prompting and disables the Commandguard feature. 
Usage 
When 
commandguard
 is enabled it affects the 
configure
 and 
autoconfirm
 CLI commands by causing 
them to prompt (Y/N) for confirmation. This feature protects operators from accidentally entering 
configuration mode via CLI or file replay. 
Important:
  When 
autoconfirm
 is enabled, 
commandguard
 has no affect. 
Example
 
The following command enables the Commandguard feature: 
commandguard 
The following command restores system default confirmation prompts: 
default commandguard 
The following command instructs the SGSN to ignore Commandguard when enabled: 
autoconfirm