cost
If no operands are specified, the current link costs for all ports on the switch.
Examples
To display the cost of a link and set that cost:
See Also
interfaceShow, lsDbShow, topologyShow, uRouteShow, fcrRouterPortCost
Fabric OS Command Reference Manual
53-1000436-01
Specify the new cost of the link connected to the specified port number. If
cost is 0, this port will then revert to its default link cost. This operand is
optional. If omitted, this command displays the cost of the specified port.
switch:admin> linkcost
Slot
Interface
--------------------------------------
2
0
2
1
2
2
2
3
2
4
2
5
2
6
2
7
2
8
2
9
2
10
2
11 (E_PORT)
2
12
2
13
2
14
2
15
Type <CR> to continue, Q<CR> to stop:
switch:admin> linkcost 2/4 500
switch:admin> linkcost 2/4
Interface2/4
switch:admin> linkcost 2/4 0
switch:admin> linkcost 2/4
Interface2/4
Cost
500 (STATIC)
1000
500 (STATIC)
200 (STATIC)
1000
1000
1000
1000
1000
1000
1000
2000 (STATIC)
1000
1000
1000
1000
Cost
500 (STATIC)
Cost
1000
2
linkCost
345