3Com 4210 PWR Configuration Manual page 172

9/18/26 port and pwr 9/18/26 port 4210 series switch
Table of Contents

Advertisement

170
C
14: MSTP C
HAPTER
n
ONFIGURATION
whereas the 802.1T standard does. The following formula is used to calculate the
path cost of an aggregated link:
Path cost = 200,000/ link transmission speed,
where 'link transmission speed" is the sum of the speeds of all the unblocked
ports on the aggregated link measured in 100 Kbps.
Configure the path cost for specific ports
Table 124 Configure the path cost for specified ports in system view
Operation
Enter system view
Configure the path cost for
specified ports
Table 125 Configure the path cost for a port in Ethernet port view
Operation
Enter system view
Enter Ethernet port view
Configure the path cost for
the port
Changing the path cost of a port may change the role of the port and put it in
state transition. Executing the stp cost command with the instance-id argument
being 0 sets the path cost on the CIST for the port.
The range of the path cost of an Ethernet port varies by the standard used for path
cost calculation as follows:
With the IEEE 802.1d-1998 standard adopted, the path cost ranges from 1 to
65535.
With the IEEE 802.1t standard adopted, the path cost ranges from 1 to
200000000.
With the proprietary standard adopted, the path cost ranges from 1 to
200000.
Configuration example (A)
# Configure the path cost of Ethernet 1/0/1 in spanning tree instance 1 to be
2,000.
1 Perform this configuration in system view
<4210> system-view
[4210] stp interface Ethernet1/0/1 instance 1 cost 2000
2 Perform this configuration in Ethernet port view
Command
System-view
stp interface interface-list [
instance instance-id ] cost
cost
Command
System-view
interface interface-type
interface-number
stp [ instance instance-id ]
cost cost
Description
-
Required
An MSTP-enabled switch can
calculate path costs for all its
ports automatically.
Description
-
-
Required
A MSTP-enabled switch can
calculate path costs for all its
ports automatically.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents