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


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

9 replies

Userlevel 6
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...
Userlevel 6
Hi Dineshkumar,

You can use the Command Script tool. Please see the article below:

Using Netsight Execute Command Script to set username and passwords on a switch
Userlevel 7
Here the XOS commands that you'd need for the script...

https://gtacknowledge.extremenetworks.com/articles/How_To/How-to-Change-Account-Password-in-EXOS/
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
Userlevel 6
Dineshkumar Ramasamy wrote:


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

What switch do you have?
Userlevel 6
Dineshkumar Ramasamy wrote:


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

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.
Dineshkumar Ramasamy wrote:


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

Am using X460-24x, trying this in only one switch.

Thank you, let me try this now.
Userlevel 6
Dineshkumar Ramasamy wrote:


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

Once you get a working script, let me know - and I Can update that doc with the XOS procedure.
Dineshkumar Ramasamy wrote:


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

The script is working good. Thank you so much

Let me get some script for the cisco and juniper device?
Dineshkumar Ramasamy wrote:


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

Can anyone please give me the script for the device which i mention above...

Reply