Linkcost - HP StorageWorks 2/64 - Core Switch Command Reference Manual

Hp storageworks fabric os 5.x command reference guide (aa-rvhvb-te, september 2005)
Hide thumbs Also See for StorageWorks 2/64 - Core Switch:
Table of Contents

Advertisement

linkCost

Sets or displays the fabric shortest path first (FSPF) cost of a link.
Synopsis
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. The FSPF protocol compares the cost of various paths between a source switch and a
destination switch by adding the costs of all the ISL's along each path. FSPF chooses the path with
minimum cost. If multiple paths exist with the same minimum cost, FSPF employs load sharing over these
paths.
Every ISL has a default cost that is inversely proportional to its bandwidth. For a 1-Gb/s ISL, the default
cost is 1000. For a 2-Gb/s ISL, the default cost is 500.
This command can be used to set a non-default, static cost for any port.
When executed without arguments, this command displays the current cost of each port on the switch,
even those are not ISL's. Active ISLs have an additional suffix of E_PORT attached to their interface
number. If the port has a static cost assigned to it, then the suffix of STATIC is appended to the link cost. In
this case, only the current link cost is displayed.
Use
interfaceShow
To remove a static cost from the database, execute this command with a cost of zero on the desired port.
This port will then revert to its default link cost.
NOTE:
Valid cost values are 0 to 32767. Assigning a value outside this range saves and displays an
abnormal linkcost.
Operands
This command has the following optional operands:
slotnumber
portnumber
cost
If no operands are specified, the current values for all ports on the (logical) switch are displayed.
to display both the default and current link costs.
For bladed systems only, specify the slot number of the port to
display, followed by a slash (/).
Specify the port number to display, relative to its slot for bladed
systems. Use
switchShow
optional; if omitted, the cost of all ports is displayed.
Specify the new cost of the link connected to the specified port
number.
to list valid ports. This operand is
Fabric OS 5.x command reference guide 327

Advertisement

Table of Contents
loading

This manual is also suitable for:

Storageworks fabric os 5

Table of Contents