This contains information about Spanning Tree Protocol (STP) in the NetScaler Appliance.
STP is a link layer network protocol used to avoid Layer 2 loops (bridge loops) which is commonly used on network switches. The best practice is to disable STP on the interfaces that are connected to the NetScaler appliance because STP can interfere with proper operation during 30 to 50 seconds that the ports are in the LISTENING or LEARNING states. For instance, while the switch ports are in Listening/Learning states:
With L2 mode disabled (the default setting), the appliance does not switch packets between interfaces in the same virtual LAN, a layer 2 loop cannot exist. Therefore, enabling STP on the interfaces connected to the appliance is not necessary. However, if it is a requirement to enable STP on the ports connected to the appliance, configure Rapid Spanning Tree Protocol (RSTP),to resolve the preceding issues.
In cases where L2 mode on the appliance should be enabled, you must consider the following aspects:
When you consider the preceding aspects, it could lead to a switching loop that spanning tree might not be able to resolve. You must ensure that a loop-free network at layer 2 before enabling L2 mode. Additionally, if L2 mode is a requirement, it is recommended to ensure that the NetScaler software release installed on the appliance includes the Bridge BPDUs mode in the ON state.