Modify Spf Timers - Brocade Communications Systems FastIron SX 800 Configuration Manual

Hide thumbs Also See for FastIron SX 800:
Table of Contents

Advertisement

OSPF distribute list
Once this configuration is implemented, the routes identified by the ip prefix-list command and matched in the route map will have their
OSPF administrative distance to 200. This is displayed in the output from the show ip route command, as shown in the following.
device# show ip route
Total number of IP routes: 4
Type Codes - B:BGP D:Connected O:OSPF R:RIP S:Static; Cost - Dist/Metric
BGP
Codes - i:iBGP e:eBGP
OSPF Codes - i:Inter Area 1:External Type 1 2:External Type 2
Destination
1
10.0.0.2/32
2
10.102.1.0/24
3
10.102.6.0/24
4
10.102.8.0/30
Routes 1 and 2 demonstrate the actions of the example configuration as both display an OSPF administrative distance value of 200.
Note that the value is applied to both OSPF learned routes that match the route-map instance containing the set distance clause. The
other OSPF route (route 3), which does not match the relevant instance, continues to have the default OSPF administrative distance of
110.
The following is an example of the distribute-list command applied with route-map "setdistance" set as the input.
device(config-ospf-router)# distribute-list route-map setdistance in
Syntax: [no] distribute-list route-map routemap-name in
The routemap-name variable specifies the name of the route map being used to define the OSPF distribute list.
The distribute-list command is applied to all OSPF LSAs on the router where it is executed.
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 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.
262
Gateway
Port
10.1.1.2
ve 100
10.1.1.2
ve 100
10.1.1.2
ve 100
DIRECT
ve 100
Cost
Type Uptime
200/501
O
1h3m
200/2
O
1h3m
110/2
O
1h3m
0/0
D
1h4m
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents