HP 6125XLG R2306-HP 6125XLG Blade Switch FCoE Command Reference - Page 55

fspf cost

Page 55 highlights

Syntax fc route-static fcid { mask | mask-length } interface-type interface-number [ cost cost-value ] undo fc route-static fcid { mask | mask-length } interface-type interface-number Default No static FC route exists. Views VSAN view Predefined user roles network-admin Parameters fcid: Destination FC address of the static FC route, in the range of 0x010000 to 0xFFFFFF (hexadecimal). mask: Hexadecimal mask of the FC address. This argument is used together with the fcid argument. The value of this argument can be 0xFF0000, 0xFFFF00, or 0xFFFFFF. mask-length: Decimal mask of the FC address. This argument is used together with the fcid argument. The value of this argument can be 8, 16, or 24. interface-type interface-number: Specifies the outgoing interface of the static FC route, which must be an existing VFC interface on the FCF switch. cost cost-value: Specifies the cost of the route, in the range of 0 to 65535 and defaulting to 0. 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. 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 50

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97

50
Syntax
fc route-static
fcid
{
mask
|
mask-length
}
interface-type interface-number
[
cost
cost-value
]
undo fc route-static
fcid
{
mask
|
mask-length
}
interface-type interface-number
Default
No static FC route exists.
Views
VSAN view
Predefined user roles
network-admin
Parameters
fcid
: Destination FC address of the static FC route, in the range of 0x010000 to 0xFFFFFF (hexadecimal).
mask
: Hexadecimal mask of the FC address. This argument is used together with the
fcid
argument. The
value of this argument can be 0xFF0000, 0xFFFF00, or 0xFFFFFF.
mask-length
: Decimal mask of the FC address. This argument is used together with the
fcid
argument. The
value of this argument can be 8, 16, or 24.
interface-type interface-number
: Specifies the outgoing interface of the static FC route, which must be an
existing VFC interface on the FCF switch.
cost
cost-value
: Specifies the cost of the route, in the range of 0 to 65535 and defaulting to 0.
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