TP-Link TL-SG2424 Switch User Manual


 
point-to-point —— The P2P link status, with auto, open and close options. By
default, the option is auto. If the two ports in the P2P link are root port or
designated port, they can transit their states to forwarding rapidly to reduce the
unnecessary forward delay.
Command Mode
Interface Configuration Mode (interface gigabitEthernet / interface range
gigabitEthernet)
Example
Enable the STP function of port 1, and configure the Port Priority as 64, ExtPath
Cost as 100, IntPath Cost as 100, and then enable Edge Port:
TL-SG2424(config)# interface gigabitEthernet 1/0/1
TL-SG2424(config-if)# spanning-tree common-config port-priority 64
ext-cost 100 int-cost 100 portfast enable point-to-point open
spanning-tree mode
Description
The spanning-tree mode command is used to configure the STP mode of the
switch. To return to the default configurations, please use no spanning-tree
mode command.
Syntax
spanning-tree mode { stp | rstp | mstp }
no spanning-tree mode
Parameter
stp ——Spanning Tree Protocol, the default value.
rstp ——Rapid Spanning Tree Protocol
mstp ——Multiple Spanning Tree Protocol
Command Mode
Global Configuration Mode
Example
Configure the spanning-tree mode as mstp:
TL-SG2424(config)# spanning-tree mode mstp
143