Modify spf timers, Modify redistribution metric type – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual
Page 286
NOTE
A Route Map used with the distribute-list command can use either the ip prefix-list command (as
shown in the example) or an ACL to define the routes.
The set distance command that is used in association with a route map configuration.
Modify SPF timers
The device uses the following timers when calculating the shortest path for OSPF routes:
• SPF delay - When the device receives a topology change, the software waits before it starts a
Shortest Path First (SPF) calculation. By default, the software waits 0 (zero) 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 device waits for a specific amount of time between consecutive SPF
calculations. By default, the device waits zero 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 device 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.
device(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.
To set the timers back to their default values, enter a command such as the following.
device(config-ospf-router)# no timers spf 10 20
Syntax: [no] timers spf delay hold-time
The delay parameter specifies the SPF delay.
The hold-time parameter specifies the SPF hold time.
NOTE
OSPF incrementally updates the OSPF routing table when new Type-3 or Type-4 Summary, Type-5
External, or Type-7 External NSSA LSAs are received.
Modify redistribution metric type
The redistribution metric type is used by default for all routes imported into OSPF unless you specify
different metrics for individual routes using redistribution filters. Type 2 specifies a big metric (three
bytes). Type 1 specifies a small metric (two bytes). The default value is type 2.
To modify the default value to type 1, enter the following command.
device(config-ospf-router)# metric-type type1
Syntax: [no] metric-type type1 | type2
Modify SPF timers
286
FastIron Ethernet Switch Layer 3 Routing Configuration Guide
53-1003087-04