load-interval 30

Unanswered Question
Oct 22nd, 2007

can anybdy explain this command on router-1700 on E0

I have this problem too.
1 vote
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (7 ratings)
glen.grant Mon, 10/22/2007 - 05:58

It gives you the load on a interface over a 30 second period . I think the default is 1 minute normally . This is adjustable to whatever you want to set it to .

Richard Burts Mon, 10/22/2007 - 07:49


Actually the default is 5 minutes.

The IOS calculates statistics (including load) over some interval which can be controlled using the load-interval command. 30 seconds is the smallest interval that can be configured. There may be advantages to longer intervals and advantages to shorter intervals. If you use the longer interval (which is the default) you get more of a big picture of what the router is doing. But the longer interval tends to hide the impact of bursty traffic. By setting the load-interval to a shorter value you may see more easily the impact of bursty traffic but may have more difficulty in seeing the bigger picture of what is happening with the interface. Deciding on which is better depends very much on your local situation and on what you are trying to look at.



jrahm Tue, 04/22/2008 - 12:24

Is lowering the default to 30 seconds impactful to the system, or is it just for display purposes? Thanks.

Richard Burts Tue, 04/22/2008 - 12:34


Since the interface statistics are calculated more frequently one could make an argument that in absolute terms yes it uses more CPU cycles to lower the interval from 5 minutes to 30 seconds. In a practical sense there is no noticeable impact on the router. It certainly does not cause anything to work differently.



jrahm Tue, 04/22/2008 - 12:41

Thanks, Rick. I thought that might be the case, as I couldn't find anything stating it would be impactful, but I did see one post where a user recommended returning the load-interval to default while troubleshooting performance problems. My system is a 4506 w/ Sup IV. I wanted to change to 30 second interval on the trunk ports to access switches (physical and port-channel). Thanks.

Richard Burts Tue, 04/22/2008 - 13:17


It is usually good advice to return things to default values that you changed while troubleshooting.

Depending on how you want to use the interface statistics the default of 5 minutes may be too long to be useful. Especially in the case where there is bursty traffic you probably want more detail to show up with a shorter interval. I do not think that you should worry about changing the load interval on your switch ports.



Joseph W. Doherty Tue, 04/22/2008 - 13:42

"It certainly does not cause anything to work differently."

BTW: I believe OER/PfR bases it link load analysis on the interface's load interval setting. If my belief is correct, interface load interval setting would impact how often OER/PfR might shift routes if it's balancing load.


This Discussion