3com 8807 Guia De Referência

Página de 1099
186
C
HAPTER
 13: MSTP C
ONFIGURATION
 C
OMMANDS
undo stp interface interface-list [ instance instance-id ] cost
View
System view
Parameter
interface-list: Ethernet port list, containing multiple Ethernet ports and expressed 
as interface-list = { interface-type interface-number [ to interface-type 
interface-number
 ] }&<1-10>. For detail descriptions of interface-type and 
interface-number parameters, refer to the corresponding descriptions in Port 
Command Manual
. &<1-10> means that the preceding parameters can be 
entered up to 10 times.
instance-id: Specifies the spanning tree instance ID, ranging from 0 to 48. The 
instance 0 represents CIST.
cost: Port path cost. Its range depends on the selected standard of path cost.
Description
Use the stp interface cost command to configure the path cost of the specified 
port on the specified MSTI in system view.
Use the undo stp interface cost command to restore the path cost of the 
specified port on the specified MSTI to the default value in system view.
By default, switch automatically calculates the path costs of a port on different 
MSTIs based on corresponding standard.
You may specify the instance-id parameter as 0 to configure CIST path cost of the 
port. The path cost has effect on the port role selection. You can configure 
different path costs for different MSTIs on a port. Thus the traffic from different 
VLANs can run over different physical links, thereby implementing the VLAN-based 
load-balancing. MSTP will recalculate the port role and transit its state, upon the 
port path cost changes.
Related command: stp cost.
Example
# Set the path cost of Ethernet 2/1/3 on MSTI 2 to 400 in system view.
<SW8800>system-view
 
System View: return to User View with Ctrl+Z.
 
[SW8800] stp interface Ethernet 2/1/3 instance 2 cost 400 
stp interface edged-port
Syntax
stp interface interface-list edged-port {enable | disable }
undo stp interface interface-list edged-port
View
System view