1
1-232 EMC Connectrix DS-32B2 and ED-12000B Fabric OS Reference Manual
Telnet Commands
linkCostSet or print the FSPF cost of a link.
Syntax linkCost [slotnumber/][portnumber][, cost]
Availability Admin
Description Use this command to set or display the cost of an inter-switch link
(ISL). The cost of a link is a dimensionless positive number. It is used
by the FSPF path selection protocol to determine the path that a frame
takes going from the source to the destination switch. The chosen
path is the path with minimum cost. The cost of a path is the sum of
the costs of all the ISLs traversed by the path. The cost of a path is also
known as the metric.
FSPF supports load sharing over a number of equal cost paths.
Every ISL has a default cost that is inversely proportional to the
bandwidth of the ISL. For a 1 Gb/s ISL, the default cost is 1000. For a
2 Gb/s ISL, the default cost is 500.
All currently active ISLs have an additional suffix of E_PORT
attached to their interface numbers. If the link has a static cost
assigned to it, then the link cost for that link has a suffix of STATIC
attached to its link cost.
This command changes the actual link cost only; it does not affect the
default cost. The interfaceShow command displays both the default
and the actual cost.
If no operands are specified, the command displays the ac tual cost of
all the ISLs in the (logical) switch. Specify the [slot/]port operand
to view the cost of that specific port. Specify [slot/]port and cost
operand to set the cost of a specific ISL.
Setting the cost to zero removes a static cost from the database and
reverts the cost of the link to its default value.