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
6.2(6)
Description (partial)
Symptom: A cli.cli_execution_error is raised when using the cli() function that executes commands on a linecard. For example: script N7K-A# show file bootflash:scripts/test.py #!/usr/bin/python module = 4 s = cli('slot %d quoted \"show clock\"' % module) print s execution N7K-A# source test.py Traceback (most recent call last): File "/bootflash/scripts/test.py", 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 Conditions: Python script using the cisco.cli() function to execute a "slot quoted" command.
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