Brocade Fabric OS Command Reference Manual Supporting Fabric OS v6.3.0 (53-1001337-01, July 2009)

Fabric OS Command Reference 463
53-1001337-01
linkCost
2
cost Specifies the static cost of the link connected to the specified port. Valid
values are 0 to 65,535. Assigning a value outside this range will fail and
generate an error. A value of 0 removes the static cost and the port reverts to
its default link cost. If cost is not specified, the command displays the current
cost of the specified port.
Examples To display the link costs for all ports on a switch:
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
Type <CR> to continue, Q<CR> to stop:
To set the ISL cost on a port:
switch:admin> linkcost 2/4 500
To display the new cost value on the same port:
switch:admin> linkcost 2/4
Interface2/4 Cost 500 (STATIC)
To delete the cost value and reset to default:
switch:admin> linkcost 2/4 0
To display the change:
switch:admin> linkcost 2/4
Interface2/4 Cost 1000
See Also interfaceShow, lsDbShow, topologyShow, uRouteShow, fcrRouterPortCost