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

Скачать
Страница из 169
 
115
 
Chapter 19  MSTP Commands 
MSTP (Multiple Spanning Tree Protocol), compatible with both STP and RSTP and subject to 
IEEE 802.1s, can disbranch a ring network. STP is to block redundant links and backup links as 
well as optimize paths. 
spanning-tree(global) 
Description 
The  spanning-tree  command is used to enable STP function globally. To 
disable the STP function, please use no spanning-tree command. 
Syntax 
spanning-tree 
no spanning-tree   
Command Mode 
Global Configuration Mode 
Example 
Enable the STP function: 
TL-SG2008(config)# spanning-tree 
spanning-tree(interface) 
Description 
The  spanning-tree  command is used to enable STP function for a port. To 
disable the STP function, please use no spanning-tree command. 
Syntax 
spanning-tree 
no spanning-tree   
Command Mode 
Interface Configuration Mode (interface gigabitEthernet / interface range 
gigabitEthernet) 
Example 
Enable the STP function for port 1/0/2: 
TL-SG2008(config)# interface gigabitEthernet 1/0/2