Modify spf timers – Brocade Virtual ADX Switch and Router Guide (Supporting ADX v03.1.00) User Manual

Page 146

Advertising
background image

132

Brocade Virtual ADX Switch and Router Guide

53-1003246-01

Configuring OSPF

6

To disable the feature, enter the following command.

Virtual ADX(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.

Modify 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 – 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 – 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 change the SPF delay and hold time, enter commands
such as the following.

Virtual ADX(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.

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

Advertising