R211x-HP Flexfabric 11900 FCoE Command Reference
67
Usage guidelines
Static routes are routes that are manually configured by an administrator. After an administrator
configures a static route, an FC frame to the specified destination is forwarded along the static route.
In a simple network, static routes are enough for implementing network connectivity. When the network
fails or the network topology changes, you must manually modify the static routes.
Static routes support equal-cost routes. When you configure multiple equal-cost static routes to the same
destination but with different outgoing interfaces, equal-cost routes are generated.
Examples
# Add a static FC route, whose destination FC address is 0x010000, mask is 8, outgoing interface is
VFC 4, and cost is 20.
<Sysname> system-view
[Sysname] vsan 5
[Sysname-vsan5] fc route-static 010000 8 vfc 4 cost 20
Related commands
display fc routing-table
fspf cost
Use fspf cost to configure the FSPF cost for the interface in a specified VSAN.
Use undo fspf cost to restore the default.
Syntax
fspf cost value vsan vsan-id
undo fspf cost vsan vsan-id
Default
The FSPF cost for VFC interfaces is 100.
Views
VFC interface view
Predefined user roles
network-admin
mdc-admin
Parameters
value: Specifies the FSPF cost of the interface, in the range of 1 to 65535.
vsan vsan-id: Specifies the VSAN to which the interface belongs, in the range of 1 to 3839.
Usage guidelines
Each link has a different cost. The route selection algorithm uses this value to determine the best route. The
smaller the interface FSPF cost, the smaller the link cost.
Examples
# Configure the FSPF cost of interface VFC 1 in VSAN 4 as 1000.
<Sysname> system-view
[Sysname] interface vfc 1










