Reducing OSPF Traffic in Stable Networks

Problem

You have a stable network that doesn’t require all of the overhead of LSA flooding.

Solution

You can reduce the overhead due to OSPF LSA flooding by applying the interface-level command ip ospf flood-reduction:

Router9#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router9(config)#interface Serial0/0
Router9(config-if)#ip address 192.168.10.9 255.255.255.0
Router9(config-if)#ip ospf flood-reduction
Router9(config-if)#exit
Router9(config)#end
Router9#

Discussion

By default, OSPF will flood the area with all known LSAs every 3,600 seconds (1 hour). This is done as a sort of fail-safe to ensure that whatever else might happen to the LSA database, it will be corrected at least once an hour. In most networks this is unnecessary, as OSPF does a good job of forwarding LSA messages whenever there is a change in the network. But it is usually safe and may correct pathological conditions where one or more LSAs have been dropped in the network, which is why the designers of OSPF included the feature. However, if you are concerned about the bandwidth overhead on your network, and if your network is exceptionally stable, you can probably make do without this fail-safe feature. You can see the effect by looking at the show ip ospf interface command:

Router9#show ip ospf interface Serial0/0 Serial0/0 is up, line protocol is up Internet Address 192.168.10.9/24, Area 0 Process ID 1, Router ID 172.19.2.1, Network Type POINT_TO_MULTIPOINT, ...

Get Cisco IOS Cookbook, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.