Configuring OSPF
December 2000
17 - 35
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 do so, use the following CLI method.
USING THE CLI
To change the SPF delay and hold time, enter commands such as the following:
BigIron(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:
BigIron(config-ospf-router)# no timers spf 10 20
USING THE WEB MANAGEMENT INTERFACE
You cannot configure the SPF timers using the Web management interface.
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.
USING THE CLI
To modify the default value to type 1, enter the following command:
BigIron(config-ospf-router)# metric-type type1
Syntax:
metric-type type1 | type2
The default is
type2
.
USING THE WEB MANAGEMENT INTERFACE
To modify the default metric type:
1.
Log on to the device using a valid user name and password for read-write access. The System configuration
panel is displayed.
2.
Click on the plus sign next to Configure in the tree view to expand the list of configuration options.
3.
Click on the plus sign next to OSPF in the tree view to expand the list of OSPF option links.
4.
Click on the General link to display the OSPF configuration panel.
5.
Select either Type 1 or Type 2 for the redistribution metric type.
Summary of Contents for Switch and Router
Page 2: ...December 2000 Copyright 2000 by Foundry Networks Inc ...
Page 26: ...Foundry Switch and Router Installation and Configuration Guide xxvi December 2000 ...
Page 64: ...Foundry Switch and Router Installation and Configuration Guide 2 34 December 2000 ...
Page 162: ...Foundry Switch and Router Installation and Configuration Guide 5 38 December 2000 ...
Page 196: ...Foundry Switch and Router Installation and Configuration Guide 6 34 December 2000 ...
Page 208: ...Foundry Switch and Router Installation and Configuration Guide 7 12 December 2000 ...
Page 236: ...Foundry Switch and Router Installation and Configuration Guide 8 28 December 2000 ...
Page 258: ...Foundry Switch and Router Installation and Configuration Guide 9 22 December 2000 ...
Page 420: ...Foundry Switch and Router Installation and Configuration Guide 13 32 December 2000 ...
Page 442: ...Foundry Switch and Router Installation and Configuration Guide 14 22 December 2000 ...
Page 554: ...Foundry Switch and Router Installation and Configuration Guide 15 112 December 2000 ...
Page 574: ...Foundry Switch and Router Installation and Configuration Guide 16 20 December 2000 ...
Page 626: ...Foundry Switch and Router Installation and Configuration Guide 17 52 December 2000 ...
Page 682: ...Foundry Switch and Router Installation and Configuration Guide 18 56 December 2000 ...
Page 826: ...Foundry Switch and Router Installation and Configuration Guide 20 20 December 2000 ...
Page 994: ...Foundry Switch and Router Installation and Configuration Guide 26 10 December 2000 ...
Page 1004: ...Foundry Switch and Router Installation and Configuration Guide B 6 December 2000 ...
Page 1044: ...Foundry Switch and Router Installation and Configuration Guide C 40 December 2000 ...
Page 1048: ...Foundry Switch and Router Installation and Configuration Guide D 4 December 2000 ...
Page 1070: ...Foundry Switch and Router Installation and Configuration Guide Index 18 December 2000 ...