Modify spf timers – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual
Page 228
200
Multi-Service IronWare Routing Configuration Guide
53-1003033-02
Adding additional parameters
Brocade(config-routemap setdistance)# set distance 200
Brocade(config-routemap setdistance)# exit
Brocade(config)# router ospf
Brocade(config-ospf-router)# area 0
Brocade(config-ospf-router)# area 1
Brocade(config-ospf-router)# distribute-list route-map setdistance in
Brocade(config-ospf-router)# exit
Once this configuration is implemented, the routes identified by the ip prefix-list command and
matched in the Route Map will have their OSPF Admin Distance set to 200. This is displayed in the
output from the show ip route command, as shown in the following.
Brocade# show ip route
Total number of IP routes: 4
Type Codes - B:BGP D:Connected I:ISIS S:Static R:RIP O:OSPF; Cost - Dist/Metric
Destination Gateway Port Cost Type
1 10.1.1.0/24 DIRECT eth 1/1 0/0 D
2 10.100.1.0/24 10.1.1.1 eth 1/1 200/2 O
3 10.100.2.0/24 10.1.1.1 eth 1/1 200/10 O2
4 10.100.6.0/24 10.1.1.1 eth 1/1 110/2 O
Routes 2 and 3 demonstrate the actions of the example configuration as both display an OSPF
Admin Distance value of 200. Note that the value is applied to both OSPF learned routes that
match the route-map configuration: internal (route 2) and external (route 3). The other OSPF
internal route (route 4) that does not match the route-map continues to have the default OSPF
admin distance of 110.
The following is an example of the distribute-list command applied with route-map setdistance set
as the input.
Brocade(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 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.