Brocade Fabric OS Command Reference Guide v6.1.0 (53-1000599-02, June 2008)

Table Of Contents
182 Fabric OS Command Reference
53-1000599-02
fcrRouterPortCost
2
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, the load is shared 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 is used for that IFL.
To set the cost, 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.
Note The execution of this command is subject to Admin Domain restrictions that may be in place. Refer
to chapter 1, “Understanding Admin Domain Restrictions” and Appendix A, “Command Availability”
for details.
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:
switch:admin> fcrrouterportcost
Port Cost
------------------------
7/3 1000
7/4 1000
7/9 1000
7/10 1000
7/16 10000
10/0 10000