08-12-2011 11:15 AM - edited 03-07-2019 01:40 AM
Hello Everyone,
I have a doubt. In my environement I have two Switch 3750-X in stack.
My question is:
How to shutdown remotely only a switch in stack?
Best Regards.
Eder.
Solved! Go to Solution.
08-12-2011 06:10 PM
Hi Leo,
Consider a stack of 6 switches, Eder wants to reload only the 4th switch. This is his question? Am i right Eder?
if you issue a reload from the telnet session of the switch the entire stack will reload since the session you are seeing is the master's session.
If we want to reload only a specific switch in the stack we can use the command reload slot
Cheers
Somu
08-12-2011 06:11 PM
Well here is some thing that i tried.
You can power down a switch in a stack and power on the same switch again remotely.
Command used was "power supply
SWITCH#power supply ?
<1-9> Switch Number
SWITCH#power supply 2 ?
off Set the internal PS off
on Set the internal PS on
>>>> here i was able to power down the switch in the stack with the command "power supply 2 off"
>>>> And the switch came right back up when i entered "power supply 2 on"
Hope this what you were looking for.
Regards,
Ranganath
08-12-2011 12:24 PM
WARNING: I have never done this
You can access all or specific members by using the remote command {all | stack-member-number} privileged EXEC command. The stack member number range is 1 to 9.
You can access specific members by using the session stack-member-number privileged EXEC command. The member number is appended to the system prompt. For example, the prompt for member 2 is Switch-2#, and system prompt for the master is Switch#. Enter exit to return to the CLI session on the master. Only the show and debug commands are available on a specific member.
The way I read this is you can jump to the switch you need to and reload it.
08-12-2011 03:51 PM
Hi,
From the master switch, issue the command
reload slot
switch no can be found by using "show switch detail" output
Hope this helps
Cheers
Somu
Rate helpful posts
08-12-2011 05:48 PM
I honestly don't understand why you mean by "shutdown only a switch in a stack". Can you elaborate further?
08-12-2011 06:10 PM
Hi Leo,
Consider a stack of 6 switches, Eder wants to reload only the 4th switch. This is his question? Am i right Eder?
if you issue a reload from the telnet session of the switch the entire stack will reload since the session you are seeing is the master's session.
If we want to reload only a specific switch in the stack we can use the command reload slot
Cheers
Somu
08-12-2011 06:26 PM
Consider a stack of 6 switches, Eder wants to reload only the 4th switch.
I don't know. That's why I was asking Eder to clarify the statement "How to shutdown remotely only a switch in stack?".
08-12-2011 06:11 PM
Well here is some thing that i tried.
You can power down a switch in a stack and power on the same switch again remotely.
Command used was "power supply
SWITCH#power supply ?
<1-9> Switch Number
SWITCH#power supply 2 ?
off Set the internal PS off
on Set the internal PS on
>>>> here i was able to power down the switch in the stack with the command "power supply 2 off"
>>>> And the switch came right back up when i entered "power supply 2 on"
Hope this what you were looking for.
Regards,
Ranganath
08-12-2011 06:26 PM
Nice find Ranganath (+5). Didn't know about this command.
08-12-2011 06:29 PM
Nice one Ranga.. Never thought of this command.
08-12-2011 07:30 PM
Thanks Leolaohoo & Somu,
Honestly, even i wasnt aware of this, didn't find it to be documented anywhere.. i was just working in the lab trying find if we had this option of remotely handling the switch members this way..- but this shouldn't really be the recommended way of doing it.. even if its one of the options that we have to bring a switch down in the stack, but its best to use the stack cables to unstack this switch. .
Regards,
Ranganath.
(TAC)
08-12-2011 07:33 PM
Honestly, even i wasnt aware of this, didn't find it to be documented anywhere..
This is one "undocumented feature" I'll happily accept anytime!
08-12-2011 08:26 PM
Wow, great discovery Ranganath!
Good job and thanks for sharing with us (+5)
Reza
08-12-2011 08:34 PM
I just tried this on a single 3750. The command "power supply 1 off" did in fact turned off the switch, but after about 2 or 3 minutes the switch turned on by itself with no manual interference. So, in a way this command is just like the reload command. It does not turn off the switch permanently.
Reza
08-12-2011 08:44 PM
Hi Reza,
Then i guess the only possibilty is to disable the stack port, provided the stack ring speed is full.
switch stack-member-number stack port port-number disable
To re-enable the port, enter the "switch stack-member-number stack port port-number enable" command
Cheers
Somu
08-12-2011 08:53 PM
Hi Somu,
Sorry, I did not see you last post, because we are already on the second page.
Anyway, so the command "switch stack-member-number stack port port-number disable"
will disconnect the switch from the stack production but will not turn off the switch right?
Reza
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide