Zhone 1813 ユーザーガイド

ページ / 135
Command Line Interface User’s Guide 
Video files: 
Video: generic for all video files 
.mpg, .mpeg: video/mpeg (specific) 
-TIMEOFDAY <DAY1> <TIME1> <DAY2> <TIME2> 
This option is used filter the connections using the specified time. We can specify the day and 
time.DAY1 and DAY2 should be in string format like sun, mon, tue, wed, thu, fri, sat. TIME1, 
TIME2 should be in the hh:mm (24:00 hr format). The permissions should be applied between 
the specified times. 
Syntax of days and times are as below: 
DAY1, DAY2: sun/mon/tue/wed/thu/fri/sat 
TIME1, TIME2: Hrs: Mins 
 
EXAMPLE 
addacl httpproxy 3 deny -o -uid 3 
This command configure a user using adduser command. Assume that it returns user id as 3. This 
will add an entry in to the acl rule base. This rule is applied on http traffic, which is pass through 
the httpproxy only. This rule will block the user (user id 3) completely. 
addacl httpproxy 4 allow –o –uid 3 –domain www.yahoo.com 
This rule adds an entry into the acl rule base. This rule will allow the user (user id 3) to access 
the website www.yahoo.com only. Other than this it will not allow the user to access anything. 
 
addacl httpproxy 8 deny –o -dest 202.100.200.20 -timeofday mon 10:00 thu 10:00 
This rule adds an entry into the acl rule base. This rule will block the packets from Monday 10’o 
clock to Thursday 10’o clock destined to 202.100.200.20 
 
5.18.2 
deleteacl 
DELETEACL <MODULE> <RULE-ID> 
This command is used to delete the rule from the acl rule base. We have to specify the module 
name and the rule id to delete the entry from the list. 
 
EXAMPLE 
deleteacl httpproxy 1 
This command deletes the rule 1 from the acl list. 
 
118                                                                                                                                                                      1800-A2-GB20-00