708 BigIron RX Series Configuration Guide53-1001810-01Configuring OSPF25To verify that the route is in the route table, enter the following command at any level of the CLI.This example shows two routes. Both of the routes are directly attached, as indicated in the Typecolumn. However, one of the routes is shown as type “*D”, with an asterisk (*). The asteriskindicates that this route is a candidate default network route.Modify SPF timersThe 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 aShortest Path First (SPF) calculation. By default, the software waits 0 (zero) seconds. You canconfigure the SPF delay to a value from 0 – 65535 seconds. If you set the SPF delay to 0seconds, the software immediately begins the SPF calculation after receiving a topologychange.• SPF hold time – The device waits for a specific amount of time between consecutive SPFcalculations. By default, the device waits ten seconds. You can configure the SPF hold time to avalue from 0 – 65535 seconds. If you set the SPF hold time to 0 seconds, the software doesnot wait between consecutive SPF calculations.You can set the delay and hold time to lower values to cause the device to change to alternatepaths more quickly in the event of a route failure. Note that lower values require more CPUprocessing time.You can change one or both of the timers.To change the SPF delay and hold time, enter commands such as the following.BigIron RX(config-ospf-router)# timers spf 10 20The command in this example changes the SPF delay to 10 seconds and changes the SPF holdtime to 20 seconds.Syntax: timers spf The parameter specifies the SPF delay.The parameter specifies the SPF hold time.To set the timers back to their default values, enter a command such as the following.BigIron RX(config-ospf-router)# no timers spf 10 20Modify redistribution metric typeThe redistribution metric type is used by default for all routes imported into OSPF unless youspecify different metrics for individual routes using redistribution filters. Type 2 specifies a bigmetric (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.BigIron RX(config-ospf-router)# metric-type type1BigIron RX(config)# show ip routeTotal number of IP routes: 2Start index: 1 B:BGP D:Connected R:RIP S:Static O:OSPF *:Candidate defaultDestination Gateway Port Cost Type1 209.157.20.0 0.0.0.0 lb1 1 D2 209.157.22.0 0.0.0.0 4/11 1 *D