load-interval 30

Unanswered Question
Oct 22nd, 2007

can anybdy explain this command on router-1700 on E0

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (5 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

Glen

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.

HTH

Rick

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

Jason

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.

HTH

Rick

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

Jason

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.

HTH

Rick

JosephDoherty 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.

Actions

Login or Register to take actions

This Discussion

Posted October 22, 2007 at 5:51 AM
Stats:
Replies:7 Avg. Rating:5
Views:31797 Votes:0
Shares:1
Tags: No tags.

Discussions Leaderboard

Rank Username Points
1 15,007
2 8,150
3 7,725
4 7,083
5 6,742
Rank Username Points
165
82
69
65
55