Hello Sreelekha,
Thanks a lot for your quick reply. I changed the user and pass for the one with those privileges that is already in the switch. I dont think is the script itself since now Im getting this:
BRLAB-L1(config)#findmac c52a
sudo: unable to execute /mnt/flash/locateMac.py: No such file or directory
% 'sudo /mnt/flash/locateMac.py c52a' returned error code: 1
however, is supposed the user should have access to the directory, correct?
I'm not sure if my last answer got deleted since I dont see it..
I'm getting this:
BRLAB-L1(config)#findmac c52a
exec of "/mnt/flash/locateMac.py" failed: No such file or directory
% 'sudo ip netns exec ns-management /mnt/flash/locateMac.py c52a' returned error code: 1
I found the problem. Apparently I need to create the script using the vi editor inside of the switch itself instead of transfer it from a windows machine, other wise the switch (or Linux) wont recognize it as a valid script file.
Arista Networks, Inc. uses cookies to ensure that we give you the best experience on our website.
By continuing to use our site, you indicate that you consent to receive cookies from our website. Details about Arista's use of cookies can be found here.