CLI Guide - WatchGuard Technologies

CLI Guide - WatchGuard Technologies CLI Guide - WatchGuard Technologies

watchguard.com
from watchguard.com More from this publisher
25.06.2013 Views

CHAPTER 3: Configuration Mode Commands schedule command WG#config WG(config)#schedule [-all| \ -mon|-tue|-wed|-thu|-fri|-sat|-sun] {hr:min-hr:min \ [hr:min-hr:min ][hr:min-hr:min ][hr:minhr:min ]} Effect Use this command to set up a schedule for use in the application of policies. Schedules can be set up for the same hours for every day or for different daily schedules, depending upon the arguments. Arguments Type a short, descriptive name for this schedule. This argument specifies whether this schedule is currently active or not. - This argument defines the days of the week. The values can either be noted as “all” for all seven days, or include any combination of days of the week–mon, tue, wed, thu, fri, sat, and sun. {hour:minute-hour:minute} This argument (which can be repeated for different blocks of time) should note a range of hours, such as “9:00-12:00” (which indicates 9:00am to Noon.) Be sure to wrap the range in curly brackets, as shown in the examples below. Hours must be converted to and noted in military time– according to the 24-hour clock. TIP A midnight start time should be entered as “0:00”. 62 WatchGuard Vclass 5.1

Top-level configuration mode commands Example WG(config)#schedule workdays -mon \ {8:00-12:00 13:00-19:00} (line break) - fri \ {9:00-12:00} enable WG(config)#schedule 24_7 -all {0:00- 24:00} service command WG#config WG(config)#service [+] \ Effect Records a new service entry (individual or group) for use in policies. The service must be noted as either a “single” service, a “range” of port numbers for a single service, or, as a “group” of existing related services. Arguments Enter the name of this new service or group. -single { } Use this argument to note the protocol and port number of a single service. -range { } Use this argument to note the protocol and two or more port numbers for a single service. -group { [ \ ]} WatchGuard Command Line Interface Guide 63

CHAPTER 3: Configuration Mode Commands<br />

schedule command<br />

WG#config<br />

WG(config)#schedule<br />

[-all| \<br />

-mon|-tue|-wed|-thu|-fri|-sat|-sun]<br />

{hr:min-hr:min \<br />

[hr:min-hr:min ][hr:min-hr:min ][hr:minhr:min<br />

]}<br />

Effect<br />

Use this command to set up a schedule for use in<br />

the application of policies. Schedules can be set up<br />

for the same hours for every day or for different<br />

daily schedules, depending upon the arguments.<br />

Arguments<br />

<br />

Type a short, descriptive name for this schedule.<br />

<br />

This argument specifies whether this schedule is<br />

currently active or not.<br />

-<br />

This argument defines the days of the week. The<br />

values can either be noted as “all” for all seven<br />

days, or include any combination of days of the<br />

week–mon, tue, wed, thu, fri, sat, and sun.<br />

{hour:minute-hour:minute}<br />

This argument (which can be repeated for different<br />

blocks of time) should note a range of hours, such<br />

as “9:00-12:00” (which indicates 9:00am to Noon.)<br />

Be sure to wrap the range in curly brackets, as<br />

shown in the examples below. Hours must be<br />

converted to and noted in military time–<br />

according to the 24-hour clock.<br />

TIP<br />

A midnight start time should be entered as “0:00”.<br />

62 <strong>WatchGuard</strong> Vclass 5.1

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!