Solved

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

Posted on 2016-09-07
4
48 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 46

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Changing password for HP switch 5 68
Resource timeout across a VPN 9 26
migrate cisco cat configs 3 29
VLAN 1 Line Protocol Down 9 34
Overview The Cisco PIX 501, PIX 506e, ASA 5505 and ASA 5510 (most if not all of this information will be relevant to the PIX 515e but I do not have a working configuration handy to verify the validity) are primarily used within small to medium busi…
Concerto Cloud Services, a provider of fully managed private, public and hybrid cloud solutions, announced today it was named to the 20 Coolest Cloud Infrastructure Vendors Of The 2017 Cloud  (http://www.concertocloud.com/about/in-the-news/2017/02/0…
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…
Both in life and business – not all partnerships are created equal. Spend 30 short minutes with us to learn:   • Key questions to ask when considering a partnership to accelerate your business into the cloud • Pitfalls and mistakes other partners…

735 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