Modifying spf timers – Brocade Communications Systems Layer 3 Routing Configuration ICX 6650 User Manual

Page 224

Advertising
background image

206

Brocade ICX 6650 Layer 3 Routing Configuration Guide

53-1002603-01

Configuring OSPF

To disable the feature, enter the no default-information-originate command.

Brocade(config-ospf-router)#no default-information-originate

Syntax: [no] default-information-originate [always] [metric value] [metric-type type]

The always parameter advertises the default route regardless of whether the router has a default
route. This option is disabled by default.

The metric value parameter specifies a metric for the default route. If this option is not used, the
default metric is used for the route.

The metric-type type parameter specifies the external link type associated with the default route
advertised into the OSPF routing domain. The type can be one of the following:

1 – Type 1 external route

2 – Type 2 external route

If you do not use this option, the default redistribution metric type is used for the route type.

NOTE

If you specify a metric and metric type, the values you specify are used even if you do not use the
always option.

Modifying SPF timers

The Layer 3 Switch uses the following timers when calculating the shortest path for OSPF routes:

SPF delay – When the Layer 3 Switch receives a topology change, the software waits before it
starts a Shortest Path First (SPF) calculation. By default, the software waits five seconds. You
can configure the SPF delay to a value from 0 through 65535 seconds. If you set the SPF delay
to 0 seconds, the software immediately begins the SPF calculation after receiving a topology
change.

SPF hold time – The Layer 3 Switch waits for a specific amount of time between consecutive
SPF calculations. By default, the Layer 3 Switch waits ten seconds. You can configure the SPF
hold time to a value from 0 through 65535 seconds. If you set the SPF hold time to 0 seconds,
the software does not wait between consecutive SPF calculations.

You can set the delay and hold time to lower values to cause the Layer 3 Switch to change to
alternate paths more quickly in the event of a route failure. Note that lower values require more
CPU processing time.

You can change one or both of the timers. To do so, enter commands such as the following.

Brocade(config-ospf-router)#timers spf 10 20

The command in this example changes the SPF delay to 10 seconds and changes the SPF hold
time to 20 seconds.

Syntax: timers spf delay hold-time

The delay parameter specifies the SPF delay.

The hold-time parameter specifies the SPF hold time.

To set the timers back to their default values, enter a command such as the following.

Brocade(config-ospf-router)#no timers spf 10 20

Advertising