Scheduler Allocate Interval

You can use the scheduler interval command to control the CPU time spent on processes versus interrupts. This is helpful when you are under attack or during a worm outbreak. When the router is handling thousands of packets per second, the console or Telnet/SSH access may be slow and it may be almost impossible do anything.

In the following example, process-level tasks will be handled no less frequently than every 500 milliseconds.

myrouter(config)# scheduler interval 500

In newer platforms, the scheduler allocate command is used instead of scheduler interval. The scheduler allocate command is used to configure two intervals:

• Interval with interrupts enabled

• Interval with interrupts masked

The following example includes the scheduler allocate command with the values included in AutoSecure (a Cisco IOS feature explained later in this chapter in the "Cisco IOS AutoSecure" section).

myrouter(config)# scheduler allocate 4000 1000

Cisco recommends these values for most environments.

NOTE The scheduler interval and scheduler allocate commands should not cause negative effects. It is recommended that these two commands be part of your standard router configuration, unless you have a specific reason to avoid using them.

Continue reading here: Infrastructure Protection Access Control Lists iACLs

Was this article helpful?

+4 -1