beautypg.com

Configuring the fspf cost for an interface, Configuring the hello interval for an interface, Configuring the dead interval for an interface – H3C Technologies H3C S5830V2 Series Switches User Manual

Page 77

background image

66

Configuring the FSPF cost for an interface

Each link has a cost. The route selection algorithm uses this value to determine the best route. The smaller

the interface FSPF cost, the smaller the link cost.
To configure the FSPF cost for an interface:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter FC interface or VFC
interface view.

interface { fc | vfc }
interface-number

N/A

3.

Configure the FSPF cost for
the interface in a specific

VSAN.

fspf cost value vsan
vsan-id

The default setting of FC interfaces is
calculated by using this formula:
1.0*1.062e12/baud rate.
The default setting for VFC interfaces are 100.

Configuring the hello interval for an interface

The hello interval specifies the time between the hello packets sent periodically by the switch to discover
and maintain neighbor relationships.

NOTE:

The configured hello interval must be smaller than the dead interval and must be the same at the two ends
of the link.

To configure the hello interval for an interface:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter FC interface or VFC
interface view.

interface { fc | vfc }
interface-number

N/A

3.

Configure the hello interval for
the interface in a specific VSAN.

fspf hello-interval value vsan
vsan-id

The default setting is 20 seconds.

Configuring the dead interval for an interface

After two switches establish a neighbor relationship, they send hello packets at the hello interval to each

other to maintain the neighbor relationship. The dead interval specifies the interval during which at least

one hello packet must be received from a neighbor before the neighbor is considered to be nonexistent

and is removed.

NOTE:

The configured dead interval must be greater than the hello interval and must be the same at the two ends
of the link.

To configure the dead interval for an interface: