Guest

Preview Tool

Cisco Bug: CSCuo37561 - Increase the amount of output for menu main prompt command

Last Modified

Apr 18, 2019

Products (1)

  • Cisco IOS

Known Affected Releases

15.1(4)M6.10

Description (partial)

Symptom:
When a Customer wants to configure more than 3k of data using the command "menu main prompt", the following error appears:

"Maximum Banner size 3000 bytes reached. Banner message is truncated"

If less than 3K & more than 2K of string length is configured with "menu main prompt" at the moment of saving the configuration to NVRAM, the following errors appears:

% String too long to write to nvram (2932):Compressed configuration from 6104 bytes to 3386 bytes

That message is being printed from the parser and is due to the menu being sent as 1 long continuous line (2932 bytes).  The parser has a explicit check to make sure the line is not greater than MAX_NV_LINE which is set to 2048.  So anything over 2048 will have this problem.

There seems to be a disconnect with what the menu is defining as the max size (3k) and what the parser will allow (2k).  The menu likely shouldn't be sending it as 1 complete line.

Conditions:
Every time the user wants to save more than 2K of output using the command "menu main prompt"
Bug details contain sensitive information and therefore require a Cisco.com 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.