Limiting WAN Traffic to Hours You Select

WAN Traffic Manager comes with two predefined WAN Policy groups that limit traffic to specific hours. You can modify these policies to limit traffic to any span of hours you select. The instructions below are for modify the 1-3am group, but you can use a parallel method to accomplish the same thing with the 7am-6pm group.

  1. Highlight the server or LAN Area object whose WAN traffic you want to restrict to a range of hours.

  2. Right click and select Details > WAN Policies.

  3. Click the Predefined Policy Groups text box to display a drop-down list of policy groups.

  4. Choose the policy group 1-3am and click Load Group.

    The Policy Load Results box displays the policies in the group and confirms that no errors were found in the policies. Two policies will load: 1-3am and 1-3am, NA. If you plan to manage backlink traffic you will need to follow steps below for 1-3am, NA as well as 1-3am

  5. Click Advanced and then OK.

  6. In the Policies dialog, highlight the 1-3am policy and click Edit.

    The policy is displayed in a simple text editor, which allows you to make changes. For example, if you want to limit traffic to 2 am to 5 pm rather than from 1 am to 3 am, change the top line in each of the following pairs to the bottom line:

     /* This policy limits all traffic to between 1 and 3 am*/ /* This policy limits all traffic to between 2 am and 5 pm*/ Selected := Now.hour > 1 AND Now.hour < 3; Selected := Now.hour > 2 AND Now.hour < 17; /* Between 1am and 3am this policy has a high priority */ /* Between 2am and 5pm this policy has a high priority */ /* Between 1am and 3am, send*/ /* Between 2am and 5pm, send*/

    Notice that in the comment lines (set off with /* and */), the hour can be designated using a.m and p.m. In the active code, however, it must be designated using 24-hour format. In that case, 5 p.m. becomes 17.

    To better understand the structure of a WAN policy, see WAN Policy Structure.

    To better understand the syntax of a WAN policy, see Constructions Used within Policy Sections.

  7. Choose Policy > Check Policy.

    This will identify errors in syntax or structure. WAN Traffic Manager will not run policies with errors.

  8. Choose Save As under the drop down menu and save the edited policy under the name 2am-5pm or under a similar name that will indicate the function of the policy; then click Policy > Close.

  9. Choose and delete the original 1-3am policy; then click Close in the Policies dialog.

    If you want to keep the original 1-3am policy, you may add the new policy under a different name.

  10. Click OK on the WAN Policies page.



Previous | Next