Preview Tool

Cisco Bug: CSCuq39964 - Add warning in cli "commandguard" if "autoconfirm" is enabled

Last Modified

Dec 26, 2016

Products (1)

  • Cisco ASR 5000 Series

Known Affected Releases


Description (partial)

The description is converse:
[local]asr5000(config)# commandguar
  commandguard         - Disabled (Should be "Enables") [Yes/No] prompting for autoconfirm and config commands.
[local]asr5000(config)# no commandguard
  commandguard         - Enabled (Should be "Disables") [Yes/No] prompting for autoconfirm and  config commands.

And, there should be warning for these two scenarios:

Scenario1 : User enters "commandguard" when autoconfirm is already enabled.  It is meaningless since no confirmation prompts will be issued anyway.  Note that we might be able to presume that the user wants autoconfirm turned off implicitly.
Add a warning "Autoconfirm will disable commandguard."

Scenario2: User enters "autoconfirm" when commandguard is already enabled.  Causes commandguard protection to be circumvented.
Add a warning "Commandgurad will not take effect until autoconfirm is disabled."

Bug details contain sensitive information and therefore require a account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.