Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Iam trying to use paramiko and have run this command
ssh.exec_command('set -privilege advanced -confirmations off')
But Iam getting the following error:
<0x07>
Error: : "set" is not a recognized command.
Thanks in advance for any help on this
4 REPLIES 4
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
At a guess, you're either not logging into a clustered ONTAP system (ie, ONTAP version is 8.2 or less), or you're logging into a service processor IP address (you should use the cluster or node management IP addresses instead), or you're logging into an account which has had the "set" command restricted through RBAC.
Hope it's one of those. Not sure what it would be if it isn't one of them.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have used cluster IP address, and ONTAP 9.1 version, all commands works fine ,except this set privilege command.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try this:
ssh.exec_command('set -privilege advanced -confirmations off; <your command here>')
Works for me, the only thing is you'll have to add in the set command and flags for each command you submit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes it works thanks
