Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to issue operational (non-show) commands via 'cli' function #57

Open
p-sherratt opened this issue Mar 2, 2018 · 0 comments
Open

Comments

@p-sherratt
Copy link

The 'cli' function is a wrapper for the XML API 'cli' function. The limitation of this is documented by Cisco:

"CLI Command Limitations
The CLI commands, which are supported through XML, are limited to CLI configuration commands and EXEC mode show commands (and responses) that are wrapped in tags.

This prevents us for example from clearing interface or protocol statistics, or issuing "mpls traffic-eng" requests.

It would be very useful to have a 'raw cli' function which exits the XML interface to issue non-show commands. I understand that some of those commands might result in further interactive CLI prompts which could be awkward to catch (and suspect this is why Cisco devs have imposed the limitation in the XML API !), so the new function could be provided with this caveat...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant