Question

Change stacking master in 2 slot stack for BGP


Hi, I have a 2 slot stack currently configured in a daisy chain.

The stack is:
slot 1: X450e-48p (edge license) - Stack master
slot 2: X650-24x (core license) - Backup master

The problem arises due to the fact I now need to set up BGP, but this can only be set up on the master, and the only capable switch is currently the backup.

I have set the stacking priority of slot 2 to 2 and slot 1 to 1, so slot 2 (X650) should take over the master role at the next election. How do I trigger a stacking election process to take place, is there a command for this?

I was thinking one way would be to reboot the current master, and would the backup master would take the master role?

If possible, I'd like the re-election to take place without having to reboot anything.

Any help would be greatly appreciated.

Thanks.

18 replies

Userlevel 4
I wonder how did you build the stack with core license and edge license on backup and master switch respectively.

As per as I know, to build the stack atleast master and backup slot should have same license level. Here, you can turn on the master-capability on X650 switch and turn off the master capability on X450 switch. Reboot the X450 switch. It will join as a standby switch.
Thanks for the reply. I looked at documentation and have seen it say that the software versions must be the same, but no details about the licenses. Are you sure this is correct? I don't want to reboot the current master and then to find it won't join the stack again after reboot.
Userlevel 4
Below is the information from the EXOS 15.4 concept guide page # 162

"If the stack is using the Advanced Edge license and you attempt to add a master-capable node thatis using an Edge license, the node does not become operational and shows as Failed with a License Mismatch reason when using the show slot {slot{detail} | detail}command."

Yes, I am correct. Are you sure you have configured the stack with core license and edge license on backup and master switch respectively?
Hi, yes I am positive.

I have just looked at the current stack config and both switches are currently set to:

License level restriction :

X450 show license:
Enabled License Level:
Edge
Enabled Feature Packs:
None
Effective License Level:
Edge

X650 show license:
Enabled License Level:
Core
Enabled Feature Packs:
None
Effective License Level:
Core

I was changing settings and have set the stacking licence levels accordingly for each switch, but this hasn't been applied yet because they have not been rebooted. Is there a way to unset this?

Would it be that the master can be a lower level than the backup-master? As your example is the other way around.

Both switches are running 12.3.3.6
Userlevel 4
We recommend that master and backup should have same software version and license level.

Lets say master is running Core license and you have configured the BGP on it. If in case master switch got rebooted then backup device will become the master but as backup device is not running core license level, it cannot enable the BGP.

It is better to upgrade the stable software version. EXOS 12.3 is end of support by Extreme TAC.
At the moment, all external traffic is going through the X650 and internal traffic uses the X450, so that is not a big issue for me. I would love another X650 for redundancy, but at the moment my budget doesn't stretch that far. I also have no support on these switches, so can't upgrade.

Do you think I will have an issue if I reboot the X450 so the X650 is the master? Will it not join the stack again?
Userlevel 4
you can paste the output of show switch, show stacking, show slot detail, show slot. show stacking configuration.
Thanks for all the help. I have masked names and IP's

show switch
SysName: x
SysLocation:
SysContact: support@extremenetworks.com, +1 888 257 3000
System MAC: 02:04:96:35:E3:B4
System Type: X450e-48p (Stack)

SysHealth check: Enabled (Normal)
Recovery Mode: All
System Watchdog: Enabled

Current Time: Tue Apr 22 05:17:46 2014
Timezone: [Auto DST Disabled] GMT Offset: 0 minutes, name is UTC.
Boot Time: Thu Jan 30 02:41:50 2014
Boot Count: 110
Next Reboot: None scheduled
System UpTime: 82 days 2 hours 35 minutes 56 seconds

Slot: Slot-1 * Slot-2
------------------------ ------------------------
Current State: MASTER BACKUP (In Sync)

Image Selected: secondary secondary
Image Booted: secondary secondary
Primary ver: 12.3.3.6 12.3.3.6
Secondary ver: 12.3.3.6 12.3.3.6

Config Selected: primary.cfg
Config Booted: primary.cfg

primary.cfg Created by ExtremeXOS version 12.3.3.6
333880 bytes saved on Tue Apr 22 03:35:56 2014

show stacking
Stack Topology is a Daisy-Chain
Active Topology is a Daisy-Chain
Node MAC Address Slot Stack State Role Flags
------------------ ---- ----------- ------- ---
*00:04:96:35:e3:b4 1 Active Master CA-
00:04:96:36:30:dd 2 Active Backup CA-
* - Indicates this node
Flags: (C) Candidate for this active topology, (A) Active Node
(O) node may be in Other active topology

show slot detail

Slot-1 information:
State: Operational
Download %: 100
Restart count: 0 (limit 5)
Serial number: 800190-00-07 0851G-80178
Hw Module Type: X450e-48p
SW Version: 12.3.3.6
SW Build: v1233b6-patch1-7
Configured Type: X450e-48p
Ports available: 50
Recovery Mode: Reset
Node MAC: 02:04:96:35:E3:B4
Current State: MASTER
Image Selected: secondary
Image Booted: secondary
Primary ver: 12.3.3.6
Secondary ver: 12.3.3.6
Config Selected: primary.cfg

Slot-2 information:
State: Operational
Download %: 100
Restart count: 0 (limit 5)
Serial number: 800247-00-06 0914G-00314
Hw Module Type: X650-24x(10G8X)
SW Version: 12.3.3.6
SW Build: v1233b6-patch1-7
Configured Type: X650-24x(10G8X)
Ports available: 32
Recovery Mode: Reset
Node MAC: 02:04:96:35:E3:B4
Current State: BACKUP (In Sync)
Image Selected: secondary
Image Booted: secondary
Primary ver: 12.3.3.6
Secondary ver: 12.3.3.6
Config Selected: primary.cfg

show stacking configuration
Stack MAC in use: 02:04:96:35:e3:b4
Node Slot Alternate Alternate
MAC Address Cfg Cur Prio Mgmt IP / Mask Gateway Flags Lic
------------------ --- --- ---- ------------------ --------------- ------- ---
*00:04:96:35:e3:b4 1 1 2 x.x.x.x/26 x.x.x.x CcEeMm- --
00:04:96:36:30:dd 2 2 2 x.x.x.x/26 x.x.x.x CcEeMm- -c
* - Indicates this node
Flags: (C) master-Capable in use, (c) master-capable is configured,
(E) Stacking is currently Enabled, (e) Stacking is configured Enabled,
(M) Stack MAC in use, (m) Stack MACs configured and in use are the same,
(i) Stack MACs configured and in use are not the same or unknown,
(-) Not in use or not configured
License level restrictions: (C) Core, (A) Advanced edge, or (E) Edge in use,
(c) Core, (a) Advanced edge, or (e) Edge configured,
(-) Not in use or not configured
show switch on X650:

SysName: x
SysLocation:
SysContact: support@extremenetworks.com, +1 888 257 3000
System MAC: 02:04:96:35:E3:B4
System Type: X650-24x(10G8X) (Stack)

SysHealth check: Enabled (Normal)
Recovery Mode: All
System Watchdog: Enabled

Current Time: Tue Apr 22 05:21:36 2014
Timezone: [Auto DST Disabled] GMT Offset: 0 minutes, name is UTC.
Boot Time: Thu Jan 30 02:41:50 2014
Boot Count: 136
Next Reboot: None scheduled
System UpTime: 82 days 2 hours 39 minutes 47 seconds

Slot: Slot-2 * Slot-1
------------------------ ------------------------
Current State: BACKUP (In Sync) MASTER

Image Selected: secondary secondary
Image Booted: secondary secondary
Primary ver: 12.3.3.6 12.3.3.6
Secondary ver: 12.3.3.6 12.3.3.6

Config Selected: primary.cfg
Config Booted: primary.cfg

primary.cfg Created by ExtremeXOS version 12.3.3.6
333880 bytes saved on Tue Apr 22 03:35:56 2014
Btw, I reset the priorities again so X450 would have a higher priority again than X650, that is why it looks like that above.
Userlevel 4
execute the command "configure stacking slot 1 master-capability off"

and then reboot the slot 1 using command reboot slot 1. it should join as standby switch.
Thanks, i'll do this and let you know how it turns out. I have some config changes to make first before I can proceed.
Hi Sumit, I ran the commands which you said an am now slot 1 will not rejoin the stack.

I had master-capability off for slot 1 and rebooted it

I now get the login prompt (pending-AAA) login:

I have tried the REBOOT AS MASTER-CAPABLE but this is not working.

If you can provide some help that would be great.

show stack:

Stack Topology is a Daisy-Chain
Active Topology is a Daisy-Chain
Node MAC Address Slot Stack State Role Flags
------------------ ---- ----------- ------- ---
00:04:96:35:e3:b4 1 Active CA-
*00:04:96:36:30:dd 2 Active Master CA-
* - Indicates this node
Flags: (C) Candidate for this active topology, (A) Active Node
(O) node may be in Other active topology
Userlevel 4
Remove the stacking cable from the switch which got stuck on pending-AAA.
perform hard reboot and go into bootrom(tap space bar while booting the switch). execute the command

1)config none...........This command will remove the config from the stack.
2)reboot as MASTER-CAPABLE......It will reboot the switch after enabling the master-capable.

once the switch boots normally, try to add new node into existing stack.
Will i loose all config relating to this switch? how do i rejoin it to the stack?
I have done what you said and unfortunately it is not working.

I have the Master as the X650 but the X450 will not join the stack again.

I can access the X450 using the failsafe account, so I can run commands on it.

Current status of the X450 is:

Slot-1 information:
State: Failed
Download %: 0
Last Error: Node Not Yet UP
Restart count: 1 (limit 5)
Serial number: N/A(0) N/A(0)
Hw Module Type: X450e-48p
SW Version: 12.3.3.6
Configured Type: X450e-48p
Ports available: 50
Recovery Mode: Reset
Node MAC: 02:04:96:35:E3:B4
Current State: FAIL (Node Not Yet UP)
Image Selected: secondary
Image Booted: secondary
Primary ver: 12.3.3.6
Secondary ver: 12.3.3.6
Config Selected: primary.cfg

Stack Topology is a Daisy-Chain
Active Topology is a Daisy-Chain
Node MAC Address Slot Stack State Role Flags
------------------ ---- ----------- ------- ---
00:04:96:35:e3:b4 1 Active CA-
*00:04:96:36:30:dd 2 Active Master CA-
* - Indicates this node
Flags: (C) Candidate for this active topology, (A) Active Node
(O) node may be in Other active topology

Any help would be greatly appreciated. I need to get this slot to join the stack!
I have just discovered the problem. It is a license mismatch:

Slot: Slot-1 * Slot-2
------------------------ ------------------------
Current State: FAIL (License Mismatch) MASTER

Is there any way round this? The switches were stacked without a problem before
Userlevel 4
As I have mentioned in my first comment, master and backup switch must have same license level else they will not form the stack. I am not sure how they were working before.

Are you sure the master-camability is off on the slot 1(X450). if it's off then it should not get backup role.
To check if the master compatibility is off or not, execute the command "show stacking configuration".

Reply