Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
8-83
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 8 Fibre Channel Commands
fspf cost
fspf cost
To configure FSPF link cost for an FCIP interface, use the fspf cost command. To revert to the default
value, use the no form of the command.
fspf cost link-cost vsan vsan-id
no fspf cost link-cost vsan vsan-id
Syntax Description
Command Default 1000 seconds for 1 Gigabits per second interfaces.
500 seconds for 2 Gigabits per second interfaces.
Command Modes Interface configuration mode
Command History
Usage Guidelines This command is not applicable to virtual Fibre Channel interfaces.
FSPF tracks the state of links on all switches in the fabric, associates a cost with each link in its database,
and then chooses the path with a minimal cost. The cost associated with an interface can be changed
using the fspf cost command to implement the FSPF route selection.
Examples The following example configures the FSPF link cost on an FCIP interface:
switch(config)# interface fc 2/1
switch(config-if)# fspf cost 5000 vsan 1
Related Commands
link-cost Enters FSPF link cost in seconds. The range is 1 to 65535.
vsan vsan-id Specifies a VSAN ID. The range is 1 to 4093.
Release Modification
4.0(0)N1(1a) This command was introduced.
Command Description
show fspf interface Displays information for each selected interface.
show interface fc Displays an interface configuration for a specified Fibre Channel interface.