3com S7906E Guide De Référence

Page de 2327
 
1-14 
stp 
Syntax 
stp enable | disable } 
undo stp 
View 
System view, Ethernet port view, port group view, Layer-2 aggregate port view 
Default Level 
2: System level 
Parameters 
enable: Enables the MSTP feature.  
disable: Disables the MSTP feature.  
Description 
Use the stp command to enable or disable the MSTP feature globally or on the port(s).  
Use the undo stp command to restore the default MSTP status.  
By default, MSTP is disabled globally. When you enable MSTP globally, it is enabled automatically on 
all the ports on the device.  
Note that: 
To control MSTP flexibly, you can disable the MSTP feature for certain ports so that they will not 
take part in spanning tree calculation and thus to save the device’s CPU resources. 
After you enable MSTP, the device determines whether to work in STP-compatible mode, in RSTP 
mode or in MSTP mode according to your MSTP work mode setting. After MSTP is disabled, the 
device becomes a transparent bridge.   
After being enabled, MSTP dynamically maintains spanning tree status of the corresponding 
VLANs based on the received configuration BPDUs. After being disabled, it stops maintaining the 
spanning tree status. 
Configured in system view, the setting takes effect for the device globally; configured in port view, 
the setting takes effect on the current port only; configured in port group view, the setting takes 
effect on all ports in the port group.  
Configured in Layer-2 aggregate port view, the setting takes effect only on the aggregate port. 
Configured on the member port in an aggregation group, the setting can take effect only after the 
port leaves the aggregation group. For detailed information about link aggregation, refer to Link 
Aggregation Configuration in the Access Volume.  
Related commands: stp mode.  
Examples 
# Enable the MSTP feature globally.  
<Sysname> system-view 
[Sysname] stp enable 
# Disable MSTP on port GigabitEthernet 2/0/1.  
<Sysname> system-view