Brocade Fabric OS Command Reference Manual - Supporting Fabric OS v5.3.0 (53-1000436-01, June 2007)

Fabric OS Command Reference Manual 345
53-1000436-01
linkCost
2
cost 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.
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:
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:
switch:admin> linkcost 2/4 500
switch:admin> linkcost 2/4
Interface2/4 Cost 500 (STATIC)
switch:admin> linkcost 2/4 0
switch:admin> linkcost 2/4
Interface2/4 Cost 1000
See Also interfaceShow, lsDbShow, topologyShow, uRouteShow, fcrRouterPortCost