Preview Tool

Cisco Bug: CSCte58108 - set mac-aging time cli throws out error - set values from cli help

Last Modified

Feb 16, 2017

Products (1)

  • Cisco Unified Computing System

Known Affected Releases


Description (partial)

From UCSM cli, when user sets mac-aging value, as prompted by maximum values indicated in the CLI help text, the CLI throws out an error indicating that the value specified is out-of-range

This kind of error will happen whenever user specified value exceeds the maximum value of 1 million seconds (1,000,000 seconds), which is equivalent to 11days 13 hours 46 minutes and 41 seconds.

In the following example, the user tries to specify the max values for days, hours, minutes and seconds, as indicated in the CLI help. The user expects the operation to go through, but UCSM (correctly) complains that the value is out-of-range (i.e greater than 1 M seconds)

CA4-SW-B /eth-uplink # show

Ethernet Uplink:
    Mode     MAC Table Aging Time (dd:hh:mm:ss)
    -------- ----------------------------------
    End Host 00:18:12:15
CA4-SW-B /eth-uplink # set mac-aging ?
  <0-65535>     Number of days
  mode-default  Mode Default
  never         Never

CA4-SW-B /eth-uplink # set mac-aging 65535 ?
  <0-23>  Number of hours

CA4-SW-B /eth-uplink # set mac-aging 65535 23 ?
  <0-59>  Number of minutes

CA4-SW-B /eth-uplink # set mac-aging 65535 23 59 ?
  <0-59>  Number of seconds

CA4-SW-B /eth-uplink # set mac-aging 65535 23 59 59 ?

CA4-SW-B /eth-uplink # set mac-aging 65535 23 59 59 
CA4-SW-B /eth-uplink* # commit-buffer 
Error: Update failed: [Property macAging of fabric/lan is out of range]


The max values specified in UCSM CLI help is static information, and doesn't change based on the previous value entered. In some cases, the max valid value depends on the previous value entered. For example, in mac-aging time, if the user enters number of days as 10, then max-value for hours is 23, but if the user enters days as 11, the max-value for hours is 13. UCSM CLI cannot emit this kind of previous value-based help. Hence the out-of-range errors observed by users, when the max-values are treated per-se.
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.