Linkcost - Brocade Communications Systems 8 Command Reference Manual

Fabric os command reference manual supporting fabric
Hide thumbs Also See for 8:
Table of Contents

Advertisement

linkCost

Sets or displays the Fabric Shortest Path First (FSPF) cost of a link.
Synopsis
linkcost [[slot/]port [cost]]
Description
Use this command to set or display the cost of an interswitch link (ISL). The cost of a link is a
dimensionless positive number. The FSPF protocol compares the cost of various paths between a
source switch and a destination switch by adding the costs of all the ISLs along each path. FSPF
chooses the path with minimum cost. If multiple paths exist with the same minimum cost, FSPF
distributes the load among these paths.
Every ISL has a default cost that is inversely proportional to its bandwidth. For a 1 Gbps ISL, the
default cost is 1000. For a 2 Gbps ISL, the default cost is 500. This simple algorithm is not effective
when dealing with trunking ISLs greater than 2 Gbps and less than 1 Gbps bandwidths. Link cost
default values are shown in
TABLE 23
Link type
< 1 Gbps ISL
1 Gbps ISL
2-Gbps ISL
> 2 Gbps trunks
4 Gbps ISL
8 Gbps ISL
10 Gbps ISL
When executed without operands, the command displays the current cost of each port on the
switch, including non-ISLs. An E_PORT suffix is appended to the interface number of active ISLs. If
a static cost is assigned to a port, a STATIC suffix is appended to the link cost. In this case, only the
current link cost displays. Use interfaceShow to display both the default and current link costs.
Notes
This command sets a non-default, "static" cost for any port except EX/VEX ports. Use
fcrRouterPortCost to configure EX/VEX ports.
The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may
be in place. Refer to chapter 1, "Using Fabric OS commands" and Appendix A, "Command
Availability" for details.
This command cannot be executed on a logical ISL (LISL).
Operands
When invoked without operands, this command displays the cost for all ports. The following
operands are optional:
slot
port
Fabric OS Command Reference
53-1001764-02
Table
23.
Link cost defaults
(ISL bandwidth in Mbps)
Link cost
2000
1000
500
500
500
500
500
For bladed systems only, specifies the slot number for which to set or display
the cost, followed by a slash (/).
Specifies the port number for which to set or display the cost, relative to its
slot for bladed systems. Use switchShow to list of valid ports.
2
linkCost
491

Advertisement

Table of Contents
loading

Table of Contents