T2600G/L2/STP
- STP (Spanning Tree Protocol)
- Ist ein Layer-2-Protokoll, das Schleifen im Netz verhindert.
- Es hilft, eine schleifenfreie Topologie zu gewährleisten, sowohl zu Beginn als auch nach Topologieänderungen, indem es den Status der Ports ändert.
- STP kann das Netzwerk vor Broadcast-Stürmen und der Beschädigung von MAC-Adressen schützen.
- RSTP (Rapid Spanning Tree Protocol) und MSTP (Multiple Spanning Tree Protocol)
- Sind technische Verbesserungen von STP.
- RSTP bietet eine viel schnellere Konvergenz des Spanning Tree als STP.
- MSTP bietet ebenfalls eine schnellere Spanning-Tree-Konvergenzgeschwindigkeit und kann außerdem mit VLANs arbeiten.
- Mit MSTP werden verschiedene VLANs verschiedenen Spanning Trees (MST-Instanzen) zugeordnet und der Verkehr wird in verschiedene Spanning Trees aufgeteilt, sodass MSTP einen Lastausgleich implementieren kann.
- STP/RSTP konfigurieren
- Aktivieren Sie Spanning Tree global, wählen Sie den Modus STP oder RSTP, und konfigurieren Sie die globalen Parameter.
- Gehen Sie zur Seite Spanning Tree > Port Config, aktivieren Sie Spanning Tree für Ports und konfigurieren Sie die anderen Port-Parameter.
- MSTP konfigurieren
- Aktivieren Sie Spanning Tree global, wählen Sie den Modus STP oder RSTP, und konfigurieren Sie die globalen Parameter.
- Gehen Sie zur Seite Spanning Tree > Port Config, aktivieren Sie Spanning Tree für die Ports und konfigurieren Sie die anderen Port-Parameter.
- Gehen Sie zu Spanning Tree > MSTP Instance, konfigurieren Sie die Region und die Instanzparameter.
- Globale Konfiguration
Hier können Sie die Spanning-Tree-Funktion global aktivieren und den Spanning-Tree-Modus auswählen.
Spanning Tree
Enable or disable the spanning tree function globally.
Mode
Select the spanning tree mode.
STP
Set the spanning tree mode as STP. It is the basic spanning tree protocol based on IEEE 802.1d.
RSTP
Set the spanning tree mode as RSTP. RSTP has the same function as STP, but it can speed up the spanning tree convergence.
MSTP
Set the spanning tree mode as MSTP. MSTP can work with VLANs and implement load balancing.
Parameters Config
Here you can configure the global parameters for spanning tree.
CIST Priority
Specify the CIST priority for the switch. CIST priority is a parameter used to determine the root bridge for spanning tree. The switch with the lower value has the higher priority. In STP/RSTP, CIST priority is the priority of the switch in spanning tree. The switch with the highest priority will be elected as the root bridge. In MSTP, CISP priority is the priority of the switch in CIST. The switch with the higher priority will be elected as the root bridge in CIST.
Hello Time
Specify the interval between BPDUs' sending. It works with the MAX Age to test the link failures and maintain the spanning tree.
Max Age
Specify the maximum time that the switch can wait without receiving a BPDU before attempting to regenerate a new spanning tree.
Forward Delay
Specify the interval between the port state transition from listening to learning. It is used to prevent the network from causing temporary loops during the regeneration of spanning tree. The interval between the port state transition from learning to forwarding is also the Forward Delay.
Tx Hold Count
Specify the maximum number of BPDU that can be sent in a second.
Max Hops
Specify the maximum BPDU counts that can be forwarded in a MST region. A switch receives BPDU, then decrements the hop count by one and generates BPDUs with the new value. When the hop reaches zero, the switch will discard the BPDU. This value can control the scale of the spanning tree in the MST region.
STP Config
STP Config
STP Summary
Port Config
A spanning tree is generated by comparing multiple parameters between different switches and ports and determining their roles. For a targeted topology, it is necessary to specify these parameters manually. Port Config
Here you can view and configure the parameters of the ports.
Port
Select one or more ports to configure.
Status
Enable or disable spanning tree function on the desired port.
Priority
Specify the Priority for the desired port. The value should be an integral multiple of 16, ranging from 0 to 240. Ports with lower values have higher priority. When the root path of the port is the same as other ports', the switch will compare the port priorities and select a root port with the highest priority.
Ext-Path Cost
Enter the value of the external path cost. The valid values are from 0 to 2000000. The default setting is Auto, which means the port calculates the external path cost automatically according to the port's link speed. For STP/RSTP, external path cost indicates the path cost of the port in spanning tree. The Port with the lowest root path cost will be elected as the root port of the switch. For MSTP, external path cost indicates the path cost of the port in CST.
Int-Path Cost
Enter the value of the internal path cost. The valid values are from 0 to 2000000. The default setting is Auto, which means the port calculates the internal path cost automatically according to the port's link speed. This parameter is only used in MSTP. For MSTP, internal path cost is used to calculate the path cost in IST. The port with the lowest root path cost will be elected as the root port of the switch in IST.
Edge Port
Select Enable to set the port as an edge port. When the topology is changed, the edge port can transit its state from blocking to forwarding directly. For the quick generation of the spanning tree, it is recommended to set the ports that are connected to the end devices as edge ports.
P2P Link
Select the status of the P2P (Point-to-Point) link to which the ports are connected. During the regeneration of the spanning tree, if the port of P2P link is elected as the root port or the designated port, it can transit its state to forwarding directly.
Auto
The switch automatically checks if the port is connected to a P2P link, then sets the status as Open or Closed.
Open(Force)
A port is set as the one that is connected to a P2P link. You should check the link first.
Closed(Force)
A port is set as the one that is not connected to a P2P link. You should check the link first.
MCheck
Perform MCheck operations on the port. If a port on an RSTP-enabled/MSTP-enabled device is connected to an STP-enabled device, the port will switch to STP compatible mode and send packets in STP format. MCheck is used to switch the mode of the port back to RSTP/MSTP after the port is disconnected from the STP-enabled device. The MCheck function will take effect immediately after clicking Apply. Every time the situation above happens, you need to do the MCheck action manually.
Port Mode
Displays the spanning tree mode of the port.
Port Role
Displays the role that the port plays in the spanning tree.
Root Port
Indicates that the port is the root port in the spanning tree. It has the lowest path cost from the root bridge to this switch and is used to communicate with the root bridge.
Designated Port
Indicates that the port is the designated port in the spanning tree. It has the lowest path cost from the root bridge to this physical network segment and is used to forward data for the corresponding network segment.
Alternate Port
Indicates that the port is the alternate port in the spanning tree. It is the backup of the root port or master port.
Backup Port
Indicates that the port is the backup port in the spanning tree. It is the backup of the designated port.
Master Port
Indicates the port provides the lowest root path cost from the region to the root bridge in CIST. In CIST, each region is regarded as a switch, and the master port is the root port of the corresponding region.
Disabled
Indicates that the port is not participating in the spanning tree.
Port Status
Displays the port status.
Forwarding
The port receives and sends BPDUs, and forwards user traffic.
Learning
The port receives and sends BPDUs. It also receives user traffic, but doesn't forward the traffic.
Blocking
The port only receives and sends BPDUs.
Disconnected
The port is enabled with spanning tree function but not connected to any device.
LAG
Displays the LAG that the port belongs to.
MSTP Instance
MSTP divides the spanning tree into multiple regions and instances to cooperate with different VLANs. The spanning tree consists of multiple MST regions (Multiple Spanning Tree regions) and the MST regions are distinguished by region configuration and VLAN-Instance mapping configuration. Region Config
Here you can configure the region name and the revision level for the MST region.
Region Name
Specify the name for an MST region. It contains 32 characters at most.
Revision Level
Enter the revision level number.
STP Security
Port Protect is used to protect the device against STP attacks.
- Port Protect
Here you can view and configure the Port Protect function.
Port
Select one or more ports to configure.
Loop Protect
Enable or disable Loop Protect. It is recommended to enable this function on root ports and alternate ports. When there are link congestions or link failures in the network, the switch will not receive BPDUs from the upstream device in time. Loop Protect is used to avoid loop caused by the recalculation in this situation. With Loop Protect function enabled, the port will temporarily transit to a blocking state after it does not receive BPDUs in time.
Root Protect
Enable or disable Root Protect. It is recommended to enable this function on the designated ports of the root bridge. Switches with faulty configurations may produce a higher-priority BPDUs than the root bridge's, and this situation will cause recalculation of the spanning tree. Root Protect is used to ensure that the desired root bridge will not lose its position in the scenario above. With root protect enabled, the port will temporarily transit to blocking state when it receives higher-priority BDPUs. After two forward delays, if the port does not receive any other higher-priority BDPUs, it will transit to its normal state.
TC Guard
Enable or disable the TC Guard function. It is recommended to enable this function on the ports of non-root switches. TC Guard function is used to prevent the switch from frequently changing the MAC address table. With TC Guard function enabled, when the switch receives TC-BPDUs, it will not process the TC-BPDUs at once. The switch will wait for a fixed time and process the TC-BPDUs together after receiving the first TC-BPDU, then it will restart timing.
BPDU Protect
Enable or disable the BPDU Protect function. It is recommended to enable this function on edge ports. Edge ports in spanning tree are used to connect to the end devices and it doesn't receive BPDUs in the normal situation. If edge ports receive BPDUs, it may be an attack. BPDU Protect is used to protect the switch from the attack talked above. With BPDU protect function enabled, the edge ports will be shutdown when they receives BPDUs, and will report these cases to the administrator. Only the administrator can restore the state of the ports.
BPDU Filter
Enable or disable BPDU Filter. It is recommended to enable this function on edge ports. With BPDU filter function enabled, the port does not receive or forward BPDUs, but it sends out its own BPDUs. BPDU Filter can prevent the switch from being attacked as with BPDU Protect.
BPDU Forward
Enable or disable BPDU Forward. This function only takes effect when the spanning tree function is disabled globally. With BPDU forward enabled, the port can still forward spanning tree BPDUs when the spanning tree function is disabled.
LAG
Displays the LAG that the port belongs to.