Skip to content

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

@p-sherratt

Description

@p-sherratt

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions