Tweaking the interface load interval - PacketLife.net
By default, the load for an interface is calculated over a five-minute interval. This is apparent from the output of a show interface command:
Router# show interface f0/0
FastEthernet0/0 is up, line protocol is up
...
5 minute input rate 87000 bits/sec, 17 packets/sec
5 minute output rate 93000 bits/sec, 19 packets/sec
...
The load interval must be between 30 and 600 seconds, specified in increments of 30 seconds. Below we shrink the load interval to 30 seconds on the interface being monitored to achieve a reading much closer to real-time:
Router(config-if)# load-interval 30
Router(config-if)# ^Z
Router# show interface f0/0
FastEthernet0/0 is up, line protocol is up
...
30 second input rate 235000 bits/sec, 26 packets/sec
30 second output rate 242000 bits/sec, 28 packets/sec
...
No comments:
Post a Comment