Preview Tool

Cisco Bug: CSCup95282 - Python PSS: Show command output gets overwritten by switch prompt on N7K

Last Modified

Feb 26, 2015

Products (1)

  • Cisco Nexus 7000 Series Switches

Known Affected Releases


Description (partial)

While configuring an inline policy for OF table type L3_IPV4 on N7K, via a Python onePK app, I have observed that on the N7K, when I want to verify my onePK configuration via the CLI, I see that my switch prompt (onep-n7k-2#) appears before the output of the show command has ended. And the switch prompt is also overwriting some of the characters of the output of the show command. 

In this specific case below, no matter how many times I execute the same command, I see the exact same thing. In other words, I am not able to see the input interface that I have configured a match on, the actual piece of information that I am looking to verify! Because it is being overwritten by "onep-n7k-2#".

onep-n7k-2# show system internal plcmgr dictionary cmap
==== DISPLAY Individual DICTIONARY ==============================

Class ID: 87032065 Name: class-default Type: 3
    Client Type: 0 Client ID: 0 CMAP Ref: 1 Sequence 0
    Config Mode: 1 Inline: 0 Match All: 0

     Match Any Filter (negate 0 id 87032066, len 0, params Match Any Filter Criteria.)
Class ID: 87032615 Name: 05300327_00000011_5916fd43 Type: 3
    Client Type: 17 Client ID: 1494678851 CMAP Ref: 1 Sequence 0
    Config Mode: 0 Inline: 1 Match All: 1

     Match Input Interface (negate 0 id 87032616, len 4, params Match Input Intf:
onep-n7k-2# 114000))   <<<<

Resizing the terminal window does not fix this display issue.

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