3com 5500-ei pwr Guia De Referência

Página de 1314
 
1-32 
[Sysname] stp interface Ethernet 1/0/2 to Ethernet 1/0/4 point-to-point force-true 
stp port priority 
Syntax 
Ethernet port view: 
stp [ instance instance-id ] port priority priority 
undo stp [ instance instance-id ] port priority 
System view: 
stp interface interface-list instance instance-id port priority priority 
undo stp interface interface-list instance instance-id port priority 
View 
System view, Ethernet port view 
Parameters 
instance-id: MSTI ID ranging from 0 to 16. The value of 0 refers to the CIST. 
port priority priority: Sets the port priority. The priority argument ranges from 0 to 240 and must be a 
multiple of 16 (such as 0, 16, and 32).  
interface-list: Ethernet port list. You can specify multiple Ethernet ports by providing this argument in the 
form of interface-list = interface-type interface-number to interface-type interface-number ] } &<1-10>, 
where &<1-10> means that you can provide up to 10 port indexes/port index ranges for this argument. 
Description 
Use the stp port priority command to set the port priority of the current port in the specified MSTI. 
Use the undo stp port priority command to restore the default port priority of the current port in 
the specified MSTI. 
Use the stp interface port priority command to set a port priority for the specified ports in the 
specified MSTI in system view. Use the undo stp interface port priority command to restore the 
default priority of the specified ports in the specified MSTI in system view. 
The default port priority of a port in any MSTI is 128. 
If you specify the instance-id argument to 0 or do not specify the argument, the two commands apply to 
the port priorities of ports on the CIST. The role a port plays in a MSTI is determined by the port priority 
in the instance. A port on a MSTP-enabled switch can have different port priorities and play different 
roles in different MSTIs. This enables packets of different VLANs to be forwarded along different 
physical links, so as to implement VLAN-based load balancing. Changing port priorities result in port 
role recalculation and state transition. 
Examples 
# Set the port priority of Ethernet 1/0/1 in MSTI 2 to 16. 
Set the port priority of Ethernet 1/0/1 in MSTI 2 to 16 in Ethernet port view. 
<Sysname> system-view  
System View: return to User View with Ctrl+Z. 
[Sysname] interface Ethernet 1/0/1 
[Sysname-Ethernet1/0/1] stp instance 2 port priority 16