T3700G-28TQ
 
JetStream 28-Port Gigabit Stackable L3 Managed Switch CLI Guide 
 
209 
designated port, they can transit their states to forwarding rapidly to reduce the 
unnecessary forward delay. 
Command Mode 
Interface Configuration Mode (interface fastEthernet / interface range 
fastEthernet / interface gigabitEthernet / interface range gigabitEthernet / 
interface ten-gigabitEthernet / interface range ten-gigabitEthernet) 
Example 
Enable the STP function of Gigabit Ethernet port 1/0/1, and configure the Port 
Priority as 64, ExtPath Cost as 100, IntPath Cost as 100, and then enable Edge 
Port: 
T3700G-28TQ(config)#interface gigabitEthernet 1/0/1 
T3700G-28TQ(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”: 
T3700G-28TQ(config)#spanning-tree mode mstp