Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.
This repository was archived by the owner on May 27, 2024. It is now read-only.

README cosmetic issue: cmdargs vs. cmdargs #54

Description

@netgab

Hi there,

The programmatic usage example in the README is not valid for IOS / IOS-XE devices.

The example for command authorization ([b"service=shell", b"cmd=show", b"cmdargs=version"]) is using the key cmdargs.
However, Cisco Devices use the key cmd-arg for command authorization.

So the correct example would be: [b"service=shell", b"cmd=show", b"cmd-arg=version"]

Furthermore an example for a command with more than two words would be helpful.
Example: show interfaces Vlan 20 summary

=> [b"service=shell", b"cmd=show", b"cmd-arg=interfaces", b"cmd-arg=vlan", b"cmd-arg=20", b"cmd-arg=summary"]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions