ZXR10 2900 Series User Manual
Command
Function
zte(cfg)#
set time-range
<
name
>
acl
<
acl-number
>
rule
<
rule-id
>{
enable
|
disable
}
This binds ACL rule
with the time-range.
22. To clear the configuration of time-range, use the following com-
mand.
Command
Function
zte(cfg)#
clear time-range
<
name
>
This clears the
configuration of
time-range.
23. To display the configuration of time-range, use the following
command.
Command
Function
zte(cfg)#
show time-range
[<
name
>]
This displays the
configuration of
time-range.
24. To configure the name of ACL instance, use the following com-
mand.
Command
Function
zte(cfg)#
set acl-name
<
acl-number
>
name
<
word
>
This sets ACL name.
25. To clear the name of ACL instance, use the following command.
Command
Function
zte(cfg)#
clear acl-name
<
acl-number
>
This clears ACL name.
ACL Configuration Example
As shown in
Figure 68
, configure ACL in the switch to realize the
following functions. Forbid the users to access the exterior net
through the gateway from 9:00 to 18:00. The gateway connects
with the switch on port 26. The client PC connects switch on port
1-24. All the users access the exterior network through the gate-
way 192.168.0.1.
154
Confidential and Proprietary Information of ZTE CORPORATION