HP StorageWorks Fabric OS 6.x administrator guide (5697-7344, March 2008)

Fabric OS 6.x administrator guide 231
The FCR router port cost settings are 0, 1000, or 10,000. If the cost is set to 0, the default cost will be
used for that IFL. The FC router port cost is persistent and is saved in the existing port configuration file.
Router port cost is passed to other routers in the same backbone. Link costs from the front domain to the
translate (xlate) domain remain at 10,000. You can use the lsDbShow from the edge fabric to display
these link costs.
Using router port cost
Initially, the router port cost value for an EX_Port is set automatically when the EX_Port is created with the
portCfgExport command. However, you can use the fcrRouterPortCost to modify the cost for that
port. You can configure the EX_ or VEX_Port with either 1000 or 10,000 values. If you wish 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.
To make any changes to an EX_ and VEX_Port, the -a admin option must be enabled using the
portcfgexport or portcfgvexport command. However, to make changes to the router port cost, the
port must be disabled using portdisable.
To set the cost of an EX_Port:
switch:admin> fcrrouterportcost 7/10 10000
To set and display the router port cost:
1. Disable any port on which you want to set the router port cost.
2. Enable admin for the EX_Port or VEX_Port with portCfgExport or portCfgVexport command.
3. Enter the fcrRouterPortCost command to display the router port cost per 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_06> fcrrouterportcost 7/10
Port Cost
------------------------
7/10 1000
5. Enter the fcrRouterPortCost command with a port and slot number and a specific cost, to set the
router port cost for a single EX_Port.
switch:admin_06> fcrrouterportcost 7/10 10000
6. Enter the fcrRouterPortCost command, to set the cost of the EX_Port back to the default.
switch:admin_06> fcrrouterportcost 7/10 0
Upgrade, downgrade, and HA considerations
For HA, the router port cost is synchronized to the standby CP.
Legacy routers in the backbone fabric program all the router ports without considering router port cost.
Fabric OS 5.2.0 or later considers the legacy router port cost as 1000 for both EX or VEX_Ports.