Stacking
Stacking Overview
This chapter introduces switch stacking and discusses how to configure stacking mode on the Switch to form a switch system.
• Use the Stacking Status screen (Stacking Status) to view the stacking system status and topology for the Switch.
• Use the Stacking Setup screen (Stacking Setup) to configure the stacking system.
• Use the Stacking Port Setup screen (Stacking Port Setup) to select the media type, SFP+ transceiver or Direct Attach Copper (DAC) that is attached to the 10 Gigabit interface.
What you need to know
Stacking is directly connecting Switches to form a larger system that behaves as a single Switch or a virtual chassis with increased port density.
Switch Stacking Concept
The last four SFP ports of your Switch are dedicated for Switch stacking. At the time of writing, the Switch can only connect to another Switch of the same model and firmware version.
*The maximum number of stacked Switches (physical) can be found on the Switch datasheet.
You can manage each Switch in the stack from a master Switch using its Web Configurator or console. Each Switch supports up to two stacking channels. Use the master Switch to assign a ‘slot ID’ for each ‘linecard’ non-master Switch. ‘Slot’ refers to a Switch in the ‘virtual chassis’ stack.
Stacking Channels and Ports 
 
staCking channel
stacking ports
CX4800-56F
1
53, 54
2
55, 56
You can build a Switch stack using a ring or chain topology. In a ring topology, the last Switch is connected to the first.
Use the master Switch to assign a ‘slot ID’ for each ‘linecard’ non-master Switch. ‘Slot’ refers to a Switch in the ‘virtual chassis’ stack.
The advantages of stacking are:
• High port density – for example, two 24-port Switches can become one 48-port logical Switch
• Centralized management – log into a single IP address of the master switch to control all Switches in the stacking system using the Web Configurator, CLI, SNMP or FTP
• Redundancy – Data redundancy allows traffic to be forwarded even if one Switch in the stack fails. Management redundancy lets you still manage the stack even if one Switch in the stack fails
• Modularity and hot-swappable – you can add, remove, or replace Switches to increase or decrease the stack with minimum disruption to ongoing network traffic.
Stacking Status
Click SYSTEM > Stacking > Stacking Status to display the screen as shown next.
SYSTEM > Stacking > Stacking Status
The following table describes the labels in this screen.
SYSTEM > Stacking > Stacking Status 
label
description
Slot
‘Slot’ refers to a Switch in the ‘virtual chassis’ stack. This field displays the slot ID of the stacked Switch. You can click the ID number to go to the Stacking Status Details screen.
Name
This field displays the model name of the stacked Switch.
Status
This field displays whether the stacked Switch is active or inactive in a stack system.
Init means the slot ID is being initialized by the master Switch.
active* means the Switch is in the stack, but some items failed to initiate. See the system logs for details. If the Switch is not a master, disconnect and reconnect the stacking port and wait. Restart the Switch if it still displays active*. If the Switch is a master, restart it or choose another master.
MAC address
This field displays the MAC address of the stacked Switch.
Role
This field displays whether the Switch is a master, backup or linecard. There’s only one master and one backup Switch in the stacking mode; all others are linecard Switches.
Stacking Up Time
This field displays the time that the active Switch has been running in a stack.
The master Switch records the time when a Switch in Stacking mode joins the stacking system. Time count will restart when master Switch changes.
Stacking Topology: Ring/Chain
Slot
No.
This field displays the slot ID number of the stacked Switch.
Stacking Channel1
Neighbor
This field displays the neighbor Switch that is connected using slot channel 1 of the Switch.
Speed
This field displays the Ethernet speed of stacking channel 1 of the Switch.
Stacking Channel2
Neighbor
This field displays the neighbor Switch that is connected to slot channel 2 of the Switch.
Speed
This field displays the Ethernet speed of stacking channel 2 of the Switch.
Stacking Slot Details
Click a slot number in SYSTEM > Stacking > Stacking Status to display the Stacking Status Details screen as shown next.
SYSTEM > Stacking > Stacking Status > Stacking Status Details
The following table describes the labels in this screen.
SYSTEM > Stacking > Stacking Status > Stacking Status Details 
label
description
Slot
This field displays the slot ID of the Switch.
Stacking
This field displays whether the Switch is active in the stacking system.
Role
This field displays whether the stacked Switch is a master, backup or linecard Switch.
Force Master Mode
This field displays whether the Force Master Mode is enabled or disabled on this Switch. The Force Master Mode forces this Switch to become a master Switch. This Switch will have the highest priority over all other Switch in the stack. If two Switches are set as masters, they will have the same priority level, but the Switch that has the longest active run-time will be selected as the master Switch automatically.
Priority
This field displays the priority level of the Switch. A higher number represents higher priority.
Slot ID After Reboot
This field displays the slot ID of the Switch after a reboot. You can save the slot ID of the Switch after a reboot by clicking Freeze in the SYSTEM > Stacking > Stacking Setup screen.
Stacking Status
This field displays whether the stacked Switch is active or inactive in a stack system.
Init means the slot ID is being initialized by the master Switch.
active* means the Switch is in the stack, but some items failed to initiate. See the system logs for details. If the Switch is not a master, disconnect and reconnect the stacking port and wait. Restart the Switch if it still displays active*. If the Switch is a master, restart it or choose another master.
Master Capable
This field displays whether the Switch has capacity to become a master Switch. Auto means the stack system master election process will determine if the Switch can be assigned as a master Switch.
Stacking MAC Address
This field displays the stacking Switch MAC address.
Stacking Port Mode
This field displays the number of stacking ports. 2-ports mode means the last 2 SFP+ slots are dedicated for Switch stacking. 4-ports mode means the last 4 SFP+ slots are dedicated for Switch stacking.
Stacking Channel 1
This field displays the status of the port stacking channel 1 of the Switch. It will display up for active or down for inactive.
Stacking Channel 2
This field displays the status of the port stacking channel 2 of the Switch. It will display up for active or down for inactive.
System Up Time
This field displays how long the Switch has been running since it last restarted or was turned on.
Stacking Up Time
This field displays the time that the active Switch has been running in a stack.
The master Switch records the time when a Switch in Stacking mode joins the stacking system. Time count will restart when master Switch changes.
FaOS Version *Running / Flash
This field displays the FaOS firmware that is currently running on the Switch.
Stacking Setup
A supported Switch can change between stacking and standalone mode by enabling the Active switch (ON/OFF) in the SYSTEM > Stacking > Stacking Setup screen.
*When you change modes, all configurations (except user accounts), including Running Config, Config1, Config2 and Custom Default configuration, will be erased. Only user accounts will be kept after mode changing if saved to a configuration file. The Switch will reboot with the Stacking/Standalone factory default settings on the current configuration file. You should back up current configurations if you want to reload them. Note that a configuration file of a mode (Standalone or Stacking) can only be applied under the same mode.
*When the Switch changes from Standalone mode to Stacking mode, it will use the static IP address 192.168.1.1 by default; when the Switch changes from Stacking mode back to Standalone mode, it will use a DHCP-assigned IP address obtained from the DHCP server. (if the Switch cannot obtain an IP address from the DHCP server, it will use the default IP 192.168.1.1 until it can get a DHCP-assigned IP)
Stacking will automatically choose a master Switch in a stack but you can overwrite that by actively forcing a Switch to become a master Switch. In the SYSTEM > Stacking > Stacking Setup screen, click the switch on to enable Force Master Mode to choose the master Switch. This master Switch will have the highest priority over all other stacked Switches even when they have the same priority value.
If two or more Switches have Force Master Mode enabled, they have the same System Priority. Then the Switch with the longest up-time is selected. Uptime is measured in increments of 10 minutes. The Switch with the higher number of increments is selected. If they have the same uptime, then the Switch with the lowest MAC address will be the master.
This is the master election priority in a stack system:
1 Active Force Master Mode
2 Highest System Priority
3 Longest System Up Time
4 Lowest MAC Address
*Master election occurs when a stacking port link status changes (up or down). The link status changes when (for example):
– a stacking port cable is disconnected
– a Switch in the stack reboots (as happens after you change stacking mode to standalone)
– you add a Switch to the stack or
– a Switch in the stack shuts down.
Use the following procedure to create a stack:
1 Select a Switch to be the master. Change its mode to Stacking mode. You will see a message asking you to confirm the change. Click YES to confirm. The Switch will reboot automatically using the current configuration file (with factory default settings) and the default IP interface settings in Stacking mode.
2 After reboot completes, the master LED will turn on.
3 Configure the Switch stacking priority to a high value, such as 63.
4 Change a second Switch to stacking mode and wait for it to finish rebooting automatically. This master LED will also turn on.
5 Connect the two Switches using the stacking ports for the Switch defined.
6 The second Switch master LED will then turn off, and its SYS LED will blink while it is initializing. Please wait until it stops blinking, indicating that it has joined the stack.
7 Repeat steps 4 to 6 to connect other Switches to the stack.
When the Switch is in Stacking mode, the Web Configurator will change port and VLAN port settings to support the stacking mode.
Click SYSTEM > Stacking > Stacking Setup to see the following screen.
SYSTEM > Stacking > Stacking Setup
The following table describes the labels in this screen.
SYSTEM > Stacking > Stacking Setup 
label
description
Active
Enable the ON/OFF switch to put the Switch in Stacking mode. This will erase the Running Configuration, Config1 and Config2. The master Switch’s login will remain unchanged. If you want to reload a previous configuration, please back one up first.
Apply
Click Apply to activate Stacking mode/go back to Standalone mode.
Port Mode
Select the number of stacking ports on the Switch that has 4 SFP+ ports for Switch stacking.
Select 2-ports mode to use the last 2 SFP+ or QSFP28 ports for Switch stacking. This allows you to use the uplink fiber optic ports. You can transmit data over long distances (over 100 kilometers) using fiber optic cables compared to copper cables (up to 100 meters only).
Select 4-ports mode to use the last 4 SFP+ or QSFP28 ports for Switch stacking.
Cancel
Click Cancel to note save your changes.
Force Master Mode
Enable the ON/OFF switch to force this Switch to become a master Switch.
System Priority
Enter a number (from 1 to 63) to assign a priority for the stacking Switch. The higher the number, the higher the priority.
Apply
Click Apply to save changes made to the Force Master Mode and System Priority fields.
Cancel
Click Cancel to clear the Active Force Master Mode and System Priority fields.
Slot ID
Slot ID Freeze
Click the Freeze button to have the Switch retain its slot ID after reboot.
Slot
This field displays the slot or port channel of the stacked Switch.
MAC
This field displays the MAC address of the stacked Switch.
Type
This field displays the model name of the Switch.
Slot ID after reboot
Choose Auto to have a new slot ID assigned after reboot. If you want to keep the original slot ID after reboot, you can click Freeze or select an ID in the Slot ID after reboot list box.
Apply
Click Apply to save the Slot ID after reboot field.
Cancel
Click Cancel to clear the Slot ID after reboot field.
Stacking Port Setup
Click SYSTEM > Stacking > Stacking Port Setup to display the screen as shown next.
SYSTEM > Stacking > Stacking Port Setup
The following table describes the labels in this screen.
SYSTEM > Stacking > Stacking Port Setup 
label
description
Port
This is the port index number. These are the default stacking ports (the last four ports of your Switch). They are reserved for stacking only.
*
Settings in this row apply to all ports.
Use this row only if you want to make some settings the same for all ports. Use this row first to set the comment settings and then make adjustments on a port-by-port basis.
*Changes in this row are copied to all the ports as soon as you make them.
Media Type
You can insert either an QSFP28 transceiver or an SFP+ Direct Attach Copper (DAC) cable into the 100 Gigabit interface of the Switch.
Select the media type (QSFP28 or DAC100G) of the SFP+ module that is attached to the 100 Gigabit interface.
FEC
To minimize signal degradation of data at high transmission speeds (for example, 25 Gbps or 100 Gbps), set the same FEC (Forward Error Correction) type between the Switch and the connected device.
Select CL74 when both connected ports support the same Gbps speed and require low latency in data transmission.
Select CL91 when both connected ports support the same Gbps speed and require strong error correction. A strong error correction can detect and repair more bit errors in the data stream but with higher latency.
Alternatively, select None when you do not need to set the FEC type.