Guest

Preview Tool

Cisco Bug: CSCup92640 - Python PSS: Incorrect CIR/PIR values when configuring policing on N7K

Last Modified

Aug 04, 2016

Products (1)

  • Cisco MDS 9000 NX-OS and SAN-OS Software

Known Affected Releases

7.1(0)D1(0.195)

Description (partial)

Symptom:
While configuring policing on an N7K via a Python onePK app, with rate_units set to BPS (bits per second) and burst_units set to BITS, it is observed that the cir and pir values get set incorrectly by a factor of 8.

For example, if the values being configured are:
CIR = 100000 bps
PIR = 120000 bps
bc = 8000 bits
be = 16000 bits

Then, CIR gets incorrectly configured as 800000 bps & PIR as 960000 bps on the N7K:

  policy-map type qos onep-pmap-293208955-1
    class  onep-cmap-293208955-1
      police cir 800000 bps bc 1000 bytes pir 960000 bps be 2000 bytes conform transmit exceed drop violate drop

Conditions:
onePK Python SDK version:  onePK-sdk-python-rel-1.3.0.144
N7K image:  n7000-s2-dk9.7.1.0.D1.0.195.gbin
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.