Справочное Руководство для TP-LINK TL-SG2008

Скачать
Страница из 169
 
117
 
Command Mode 
Interface Configuration Mode (interface gigabitEthernet / interface range 
gigabitEthernet) 
Example 
Enable the STP function of port 1/0/1, and configure the Port Priority as 64, 
ExtPath Cost as 100, IntPath Cost as 100, and then enable Edge Port: 
TL-SG2008(config)# interface gigabitEthernet 1/0/1 
TL-SG2008(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-SG2008(config)# spanning-tree mode mstp 
spanning-tree mst configuration 
Description 
The  spanning-tree mst configuration command is used to access MST 
Configuration Mode from Global Configuration Mode, as to configure the 
VLAN-Instance mapping, region name and revision level. To return to the