Solved

CICSO 2960x switch stack - ensure a switch never changes its stack member number.

Posted on 2016-09-07
4
43 Views
Last Modified: 2016-09-25
Is it possible to ensure a switch always keeps its assigned stack member number?

I understand there is a master which is assigned 0, and each additional switch is assigned the lowest available stack number when it is added to the stack.

We have a script which automatically updates the vLAN on a port based on input to a webpage.

If the stack member number of a switch happened to change the script would begin making changes to the wrong switch – which would stuff everything up.

What for example would happen after a power failure if switch 1 & 2 failed to power-on? Would switches 3 & 4 then become 1 & 2.
0
Comment
Question by:Andrew Josephson
  • 2
4 Comments
 
LVL 10

Assisted Solution

by:Rafael
Rafael earned 250 total points
ID: 41789372
Yes, there is and it goes by the Priority (1-15) setting of the switch.  So if you set it to 15 it will always be the master (hardware failure excluded) To start

First find out the stack  by entering

switch>show switch

It will give you something such as

Current
Switch#  Role      Mac Address     Priority     State
--------------------------------------------------------
 1       Slave     0016.4748.dc80     1         Ready
*2       Master    0016.9d59.db00     5         Ready

Notice that *2 is the Master as the priority is higher than it's peer.

To change it do the following:
1. Go to global configuration mode.
2.Issue the command
switch# switch current-stack-member-number renumber new-stack-member-number
3.Return to the privileged EXEC mode and reload the member with the command
switch#reload slot current-stack-member-number .
switch>show switch

You should now see it reversed of at the higher priority which ever your choose (1-15).

Here is a helpful article.

http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960x/software/15-2_2_e/stack_manager/configuration_guide/b_stack_ha_1522e_2960x_cg/b_stck_152ex_2960-x_cg_chapter_010.html

http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/71925-cat3750-create-switch-stks.html#anc10

HTH
-Rafael
0
 

Assisted Solution

by:Andrew Josephson
Andrew Josephson earned 0 total points
ID: 41790531
Further clarification required pls -

My existing stack shows:

#show switch
Switch/Stack Mac Address : 009e.1e3a.1400
                                           H/W   Current
Switch#  Role   Mac Address     Priority Version  State
----------------------------------------------------------
*1       Master 009e.1e3a.1400     1      4       Ready
 2       Member 005f.8627.7680     1      4       Ready
 3       Member 005f.8680.9d80     1      4       Ready
 4       Member 005f.869f.7e80     1      4       Ready

Open in new window

I need to power down the switch and relocate the stack.

If, for example, only switches  3&4 were  powered back up at the new location, a new master would be elected  - but would the switches retain their original switch number (ie 3 & 4) or become 1&2?
0
 
LVL 45

Accepted Solution

by:
Craig Beck earned 250 total points
ID: 41790561
Set the switch priority for the master (usually switch 1 if you go top-to-bottom) to 15 if you want it to always be the stack master.  Set subsequent switches with lower priorities.  For example...

switch 1 priority 15
switch 2 priority 13
switch 3 priority 11
switch 4 priority 9

Open in new window


That would mean that if switch 1 dies, switch 2 will become the master.  It won't renumber the ports though, so even if switch 1 dies, switch 2 will still have ports 2/0/1, etc.  That means you can still issue VLAN commands to ports on the correct switch no matter which switch is the master.
0
 

Author Closing Comment

by:Andrew Josephson
ID: 41815133
Thank you
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have an ASA5510 then this sort of thing would be better handled with a CSC Module, however on an ASA5505 thats not an option, and if you want to throw in a quick solution to stop your staff going to facebook during work time, then this is the…
This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question