Brocade Fabric OS Command Reference Manual (53-1000240-01, November 2006)

Fabric OS Command Reference Manual 2-329
Publication Number: 53-1000240-01
linkCost
2
Note: Enter commands in lowercase only; mixed case is for readability.
Operands This command has the following operands:
slotnumber For bladed systems only, specify the slot number of the port to display, followed
by a slash (/).
portnumber Specify the port number to display, relative to its slot for bladed systems. Use
switchShow to list valid ports. This operand is optional; if omitted, the cost of all
ports is displayed.
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:
See Also interfaceShow, lsDbShow, topologyShow, uRouteShow, fcrRouterPortCost
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