Cisco Systems SLM248G4PS manual Stack Units Startup Process, Master Discovery, Master Election

Page 59

Appendix B

About Switch Stacking

Stack Units Startup Process

Whenever a unit in stack mode is initialized (powered up or rebooted) it goes through the same exact process, consisting of the following three steps:

1.Master Discovery/Election.

2.Unit ID allocation by the Master (including duplicate Unit ID conflict resolution)

3.Unit/port configuration by the Master

Master Discovery

Whenever a unit in stack mode initializes, its behavior will depend on its Unit ID (if any).

If the unit does not have a current Unit ID (that is, the unit is in factory default mode).

If there is a master, the unit performs Unit ID Allocation (refer to section “Unit ID Allocation and Duplicate Unit ID Conflict Resolution”), where it will get a number from the master. If there is no master, then it will participate in Master-election, and may even end up as the new master or backup master.

If the unit’s current Unit ID is 1 or 2 (previously allocated, perhaps even in a different stack), then the unit will participate in the Master election.

If the unit has a current Unit ID (previously allocated, perhaps even in a different stack), it will try to use this number in the new stack. If the unit’s current Unit ID is 3-6 (3-4 for SLM248G4PS), then it will try and connect to the running stack Master, and will not proceed to the next stage until contact with the Master is made. In particular, such units will NOT participate in the Master election process, and if no Master is present, the units will be effectively shut down.

Both the master and all other stack units carry out a continuous process of master discovery by frequently exchanging stack control messages. This allows them to discover whenever a unit fails or becomes unreachable.

Master Election

Whenever a unit (or more than one) in stack mode comes up, one of the units is elected to be the stack Master. The unit selected as Stack Master is chosen as follows:

1.If a unit in the stack was set to “Force Master” by the system administrator, that unit will be the stack Master. Only master enabled stack units, i.e. unit ID=1 or unit ID=2 can be selected as “Force Master”.

2.Otherwise, if the stack contains units whose unique Unit ID is either 1 or 2, then one of these two units will be the stack Master. It does not matter if the Unit

ID was originally assigned automatically or manually. (Such units are called Master-enabled units).

If there is only one such unit, it will be selected as the stack Master (even if its Unit ID=2).

If there are two such units, the two units will decide which of them is the Master by checking:

Which one has been running for a longer time (in increments of 10 minutes). The unit running for a longer time will be the stack Master.

If they have been running for the same amount of time, Unit ID=1 will be the stack Master.

If both units have been running for the same amount of time and both units have the same Unit ID, the unit with a lower MAC address will be selected as stack Master.

3.Otherwise, if the stack contains one or more units without a current Unit ID (that is to say in factory default state), then the stack Master will be one of these units. The unit selected to be the Master will be the one running for the longest time (in increments of 10 minutes) or, if all units are running for the same amount of time, the one with the lowest MAC address.

The end result of Master Election is that the stack has a stack Master. The Stack master has unit ID=1 and the Backup Master, if it exists, unit ID=2. Alternatively, the Stack master has unit ID=2 and the Backup Master, if it exists, unit ID=1.

If a Master-enabled (Unit ID=1 or 2) unit is added to a stack and turned on, then when it comes up, it will invoke master-election, even though the rest of the stack already has an elected master. Because it is new, it will lose the election and join as a member or backup master.

Unit ID Allocation and Duplicate Unit ID Conflict Resolution

Once a stack Master is elected, it will allocate Unit IDs to units that do not have a currently assigned Unit ID (that is, units in factory default mode).

In addition, the stack Master will try to resolve all cases of units with duplicate Unit IDs. This is done by changing the Unit IDs of offending units that have a duplicate current Unit ID, provided that there are available, unused Unit IDs.

In the case of a merged stack scenario, units that were initially in the sub-group of the Master that remained as Master will have the same unit IDs as they had before. Members of the other sub-group will be renumbered.

If the conflict occurs after the units reboot then the following will take place:

24/48-Port 10/100 + 4-Port Gigabit Smart Switch with Resilient Clustering Technology and PoE

53

Image 59
Contents Port or 48-Port 10/100 + Online Resources About This GuideAbout This Guide Icon DescriptionsTable of Contents Snmp Global Parameters Snmp Views Snmp Group Profile SnmpGigabit Ethernet Fiber Optic Cabling Appendix B About Switch StackingAppendix G Contact Information Appendix C Glossary Appendix D SpecificationsIntroduction ChapterFront Panel Switch LEDs and ports are located on the front panelChapter Product Overview Product OverviewBack Panel Power The Power port is where you connect the AC powerSwitch’s LEDs and ports are located on the front panel Product Overview Placement Options Chapter InstallationInstallation Pre-Installation ConsiderationsRack-Mount Placement Hardware InstallationDesktop Placement To set up a stack with six switches, follow these steps Uplinking the SwitchConfiguring Stack Mode Connect port G1 on Unit 3 to port G2 on Unit Power off the new unit 5 the former master unitConnect port G1 on Unit 2 to port G2 on Unit Login screen appears. Proceed to the Login section below Chapter Configuration Using Console InterfaceUsing telnet System Configuration Menu How to Use the Console InterfaceLogin Switch Main MenuSystem Information Management SettingsIP Configuration User & Password SettingsSecurity Settings Http File Management Restore System Default SettingsReboot System Stack ConfigurationPort Status Menu Port ConfigurationLogout System ModePoE Settings HelpDevice Information Chapter Configuration Using Web-based UtilitySetup Setup SummaryClicking on a port displays the Port Configuration screen Setup ZoomSetup Network Settings Orange The administrator has closed down this portDaylight Saving Setup TimeSet Time Local TimeSntp Servers Setup Stack ManagementPort Management Port Settings Port ManagementPort Management Port Settings Port Configuration Port Management Link Aggregation LAG ConfigurationPort Management Lacp Port Management PoE Power SettingsVlan Table Vlan Management Port SettingVlan Management Vlan Management Create VlanJoin Vlan to Port Vlan Management Port to VlanVlan Management Vlan to Port Statistics Rmon History StatisticsStatistics Rmon Statistics Rmon History Table Rmon HistoryLog Table Alarm Table Statistics Rmon AlarmsAdd Alarm Statistics Interface Statistics Statistics Rmon EventsStatistics Port Utilization Parameters Security 802.1x SettingsSecurity Ethernet-likeSecurity Port Security Setting TimerSecurity Storm Control Security Management Access ListBroadcast Only Counts only Broadcast traffic QoSSecurity Radius CoS Default QoS CoS SettingsQoS Queue Settings CoS SettingsQoS Bandwidth QoS Dscp SettingsQoS Basic Mode Spanning Tree Global STP Global SettingSpanning Tree Spanning Tree STP StatusSpeed Displays the speed at which the port is operating Spanning Tree STP Port SettingsBridge Settings Multicast Bridge Multicast Vlan Igmp SettingsMulticast Multicast Igmp SnoopingSnmp Global Parameters Multicast Bridge Multicast Forward AllSnmp Group Profile Snmp ViewsUser Name Provides a user-defined local user list Snmp Group MembershipSnmp Communities Advanced Table Snmp Notification FilterSnmp Notification Recipient Base TableLocal User Edit AdminAdmin User Authentication User AuthenticationSecure The entry is defined for locked ports Admin Static AddressAdmin Dynamic Address Clear Table If selected, this clears the MAC Address table Admin Port MirroringAdmin Cable Test QueryAdmin Save Configuration Admin Factory Default Admin Firmware UpgradeAdmin Reboot Admin Memory Logs Admin LoggingAdmin Server Logs Logout Admin Flash LogsFiber Optic Cabling Appendix aAppendix a About Gigabit Ethernet Fiber Optic Cabling Gigabit EthernetStack Building Quick Start Appendix B About Switch StackingAbout Switch Stacking Appendix BUnit ID Allocation Advanced StackingStack Resiliency Unit IDsMaster Election Stack Units Startup ProcessMaster Discovery Replacing a Failed Stack Member in a Running Stack Unit and Port ConfigurationUser Controls Stacking ExamplesStack Master Failure and Replacement Splitting a Stack Subgroup Contains Both Master Unit and Backup Master UnitBoth Stacks Kept Running During Insertion Merging Two StacksInserting Too Many Units Stacking Cable FailureGlossary Appendix CAppendix C Glossary Glossary Mail protocol on the Internet Packet a unit of data sent over a networkAppendix C Appendix D Appendix D SpecificationsSpecifications Management Vlan Class of Service Port-based 802.1p Vlan priority-basedPower in compliance with Ieee DimensionsExclusions and Limitations Warranty InformationObtaining Warranty Service Appendix ETechnical Support Warranty InformationRegulatory Information Appendix FRegulatory Information Appendix F Norsk Norwegian Miljøinformasjon for kunder i EU Appendix F Contact Information Appendix G