We have 200+ Extreme switches and planning to change the password.

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
We have 200+ Extreme switches and planning to change the password. We have netsight so can anyone please tell me the steps to change the new password?  Am completely new to Netsight.

Thanks in advance
Photo of Dineshkumar Ramasamy

Posted 2 years ago

  • 0
  • 1
Photo of Mike Thomas

Mike Thomas, Employee - GTAC - NMS

  • 7,650 Points 5k badge 2x thumb
See the following.
Depending on your device, the script here may need to change.
I also recommend trying it on several devices at a time, rather than trying the whole lot at one time in case something goes wrong, you limit it in scope.


https://gtacknowledge.extremenetworks.com/articles/How_To/Using-Netsight-Execute-Command-Script-to-s...
Photo of Ronald Dvorak

Ronald Dvorak, Embassador

  • 51,164 Points 50k badge 2x thumb
Kindly help me am getting this error after executing the script

%% Invalid input detected at '^' marker.10.106.0.14 # set system login extreme super-user enable
                         ^
%% Invalid input detected at '^' marker.
10.106.0.14# set password extreme
                         ^
%% Invalid input detected at '^' marker.
10.106.0.14# Test5678
                          ^
%% Invalid input detected at '^' marker.
10.106.0.14 # Test5678
                          ^
%% Invalid input detected at '^' marker.
10.106.0.14 # show system login
                              ^
%% Invalid input detected at '^' marker.
10.106.0.14 # exit
Photo of Henrique

Henrique, Employee

  • 10,342 Points 10k badge 2x thumb
Hi Dineshkumar,

The script in Netsight Command Script tool for XOS devices would be the following:

If you want to apply the change but not save the configuration you can use:

configure account admin password
@SLEEP 1
Test123 <= Current pass
@SLEEP 1
Test5678 <= New pass
@SLEEP 1
Test5678 <= New pass confirmation
@SLEEP 5
exit
@SLEEP 1
No

If you want to include the "save" option it would be the following:

configure account admin password
@SLEEP 1
Test123 <= Current pass
@SLEEP 1
Test5678 <= New pass
@SLEEP 1
Test5678 <= New pass confirmation
@SLEEP 1
save
@SLEEP 1
Yes
@SLEEP 5
exit


As already recommended, please be familiar with this Netsight tool by testing the script in 1-2 switches before applying it to all units.
Am using X460-24x, trying this in only one switch.

Thank you, let me try this now.
Photo of Mike Thomas

Mike Thomas, Employee - GTAC - NMS

  • 7,650 Points 5k badge 2x thumb
Once you get a working script, let me know - and I Can update that doc with the XOS procedure.
The script is working good. Thank you so much

Let me get some script for the cisco and juniper device?
Can anyone please give me the script for the device which i mention above...