3com S7906E Guide De Référence

Page de 2327
 
1-27 
Default Level 
2: System level 
Parameters 
instance instance-id: Sets the priority of the current port(s) in a particular spanning tree instance. The 
value of instance-id ranges from 0 to 31. The minimum value is 0, representing the CIST.  
priority: Port priority, in the range of 0 to 240 in steps of 16 (0, 16, 32…, for example).  
Description 
Use the stp port priority command to set the priority of the port(s).  
Use the undo stp port priority command to restore the system default.  
By default, the port priority is 128. 
Note that: 
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.  
If you set instance-id to 0, you are setting the priority of the port in the CIST. The priority of a port 
can affect the role selection of the port in the specified MSTI.  
Setting different priorities for the same port in different MSTIs allows different VLAN traffic flows to 
be forwarded along different physical links, thus to enable VLAN-based load balancing.  
When the priority of a port is changed in an MSTI, MSTP will re-compute the role of the port and 
initiate a state transition in the MSTI.  
If you do not provide instance instance-id, your configuration will take effect in the CIST only.  
Examples 
# Set the priority of port GigabitEthernet 2/0/3 in MSTI 2 to 16.  
<Sysname> system-view 
[Sysname] interface GigabitEthernet 2/0/3 
[Sysname-GigabitEthernet2/0/3] stp instance 2 port priority 16 
stp port-log 
Syntax 
stp port-log { all | instance instance-id 
undo stp port-log { all | instance instance-id 
View 
System view 
Default Level 
2: System level