HP StorageWorks Fabric OS 5.0.0 Command Reference Guide (AA-RW1MA-TE, May 2005)

302 Fabric OS commands
If no operands are specified, the current values for all ports on the (logical) switch are displayed.
Examples
To display the cost of a link and set that cost:
See also
interfaceShow
LSDbShow
topologyShow
urouteShow
switch:admin> linkcost
Slot Interface Cost
--------------------------------------
2 0 500 (STATIC)
2 1 1000
2 2 500 (STATIC)
2 3 200 (STATIC)
2 4 1000
2 5 1000
2 6 1000
2 7 1000
2 8 1000
2 9 1000
2 10 1000
2 11 (E_PORT) 2000 (STATIC)
2 12 1000
2 13 1000
2 14 1000
2 15 1000
switch:admin> linkcost 2/4 500
switch:admin> linkcost 2/4
Slot 2 Interface 4 Cost 500 (STATIC)
switch:admin> linkcost 2/4 0
Slot 2 Interface 4 Cost 1000