Command files are commonly used to change the partition sizes and/or policies of specific classes by time of day and day of week.
For example, a university network administrator may limit Gnutella traffic to a 200K partition during normal business hours and open up the partition to 800K at night and on weekends.
In this example, you would want to create two command files:
1. A command file (gnutday.cmd) for business hours, containing the CLI commands for creating a 200K partition for Gnutella.
2. A command file (gnutnite.cmd) for after hours, containing the CLI commands for creating an 800K partition.
The gnutday.cmd file should be scheduled to run on weekdays only, starting at 8:00am. The gnutnite.cmd file should be scheduled twice: for weekdays only, starting at 6:00pm, and for weekends only.
For step-by-step instructions, see the following pages in PacketGuide: