Fabric OS Administrator's Guide v7.0.0 (53-1002148-02, June 2011)

Fabric OS Administrator’s Guide 479
53-1002148-02
FC Router port cost configuration
23
Setting router port cost for an EX_Port
The router port cost value for an EX_Port is set automatically when the EX_Port is created. However,
you can modify the cost for that port. You can configure the EX_ or VEX_Port with values of either
1000 or 10,000. If you want to differentiate between two EX_Port links with different speeds, you
can assign 1000 to one link and 10,000 to the other link.
For details about the use of any of the following commands, see the Fabric OS Command
Reference.
1. Enter the portDisable command to disable any port on which you want to set the router port
cost.
switch:admin> portdisable 7/10
2. Enable EX_Port or VEX_Port mode with the portCfgEXPort or portCfgVEXPort command.
switch:admin> portcfgexport 7/10 -a 1
3. Enter the fcrRouterPortCost command to display the router port cost for each EX_Port.
switch:admin> fcrrouterportcost
Port Cost
------------------------
7/3 1000
7/4 1000
7/9 1000
7/10 1000
7/13 1000
10/0 1000
You can also use the fcrRouteShow command to display the router port cost.
4. Enter the fcrRouterPortCost command with a port and slot number, to display the router port
cost for a single EX_Port.
switch:admin> fcrrouterportcost 7/10
Port Cost
------------------------
7/10 1000
5. Enter the appropriate form of the fcrRouterPortCost command based on the task you want to
perform:
To set the router port cost for a single EX_Port, enter the command with a port and slot
number and a specific cost:
switch:admin> fcrrouterportcost 7/10 10000
To set the cost of the EX_Port back to the default, enter a cost value of 0:
switch:admin> fcrrouterportcost 7/10 0
6. Enter the portEnable command to enable the ports that you disabled in step 1.
switch:admin> portenable 7/10