You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 27, 2024. It is now read-only.
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
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 keycmdargs
.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"]
The text was updated successfully, but these errors were encountered: