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

2-206 Fabric OS Command Reference Manual
Publication Number: 53-1000240-01
fcrRouterPortCost
2
Note: Enter commands in lowercase only; mixed case is for readability.
fcrRouterPortCost
Displays FC Router route information.
Synopsis fcrrouterportcost [[slotnumber/]portnumber] [cost]
Description Use this command to set or display the cost of the router ports. The cost of the link is a dimensionless
positive number (which can be 0 or 1000 or 10000). The router module chooses the router port path based
on the minimum cost per fid connection. If multiple paths exist with the same minimum cost, there will
be load sharing over these paths.
Every IFL has a default cost. For an EX-Port IFL, the default cost is 1000. For a VEX port, the default
cost is 10000.
If the cost is set to 0, the default cost will be used for that IFL.
To set the cost, user needs to make sure that admin is enabled for the EX-Port/VEX-Port with
portCfgEXPort or portCfgVEXPort. The cost can be set only on a disabled port.
If no operands are specified, this command displays the current link costs for all ports on the switch.
N
ote
The execution of this command is subject to Admin Domain restrictions that may be in place.
Operands This command has the following operands:
slotnumber For bladed systems only, specify the slot number of the port whose cost is to be
displayed or changed, followed by a slash (/).
portnumber Specify the number of the port whose cost is to be displayed or changed. This
value is relative to the slot for bladed systems. Use switchShow for a list of valid
ports. If omitted, this command displays the costs of all ports.
cost Specify the new cost of the link connected to the specified port. This operand is
optional; if omitted, this command displays the cost of the specified port. The cost
of the link can be changed only when the specified port is disabled. Valid values
for cost are 0, 1000 or 10000.
Examples To display the cost of all EX_Ports:
To display the cost of one EX_Port:
fcr:admin> fcrrouterportcost
Port Cost
------------------------
7/3 1000
7/4 1000
7/9 1000
7/10 1000
7/16 10000
10/0 10000
fcr:admin> switch:admin> fcrrouterportcost 7/10
Port Cost
------------------------
7/10 1000