Preview Tool

Cisco Bug: CSCuo93634 - Python: cli_execution_error when executing commands on module

Last Modified

Sep 10, 2014

Products (8)

  • Cisco Nexus 7000 Series Switches
  • Cisco Nexus 7000 10-Slot Switch
  • Cisco Nexus 7000 4-Slot Switch
  • Cisco Nexus 7700 6-Slot Switch
  • Cisco Nexus 7000 18-Slot Switch
  • Cisco Nexus 7700 18-Slot Switch
  • Cisco Nexus 7700 10-Slot Switch
  • Cisco Nexus 7000 9-Slot Switch

Known Affected Releases


Description (partial)

A cli.cli_execution_error is raised when using the cli() function that executes commands on a linecard.  For example:

N7K-A# show file bootflash:scripts/

module = 4
s = cli('slot %d quoted \"show clock\"' % module)
print s

N7K-A# source
Traceback (most recent call last):
  File "/bootflash/scripts/", line 4, in <module>
    s = cli('slot %d quoted \"show clock\"' % module)
cisco.cli_execution_error: 19:02:38.457 UTC Wed May 21 2014

Python script using the cisco.cli() function to execute a "slot quoted" command.
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.