
ZXA10 C300 Configuration Manual (CLI)
8.1 Configuring a Standard ACL
This section describes how to configure a standard ACL and apply it to an Ethernet
interface.
Configuration Data
lists the configuration data of the standard ACL.
Table 8-1 Configuration Data of the Standard ACL
Item
Data
Time range
Name: worktime
Range: 09:00:00–17:00:00
Day: working-day
ACL number
3
Rule 1
Action: deny
Source address: 168.1.1.1/24
Time range: worktime
Rule 2
Permit any traffic
Interface
gei_1/21/1
Steps
1.
(Optional) In global configuration mode, configure the ACL time range.
ZXAN(config)#time-range worktime 09:00:00 to 17:00:00 working-day
2.
Create a standard ACL.
ZXAN(config)#acl standard number 3
ZXAN(config-std-acl)#
Note:
The standard ACL number ranges from 1 to 99. The standard ACL can be applied to
the Ethernet interface only.
3.
Configure the ACL rules.
ZXAN(config-std-acl)#rule 1 deny 168.1.1.1 0.0.0.255 time-range worktime
ZXAN(config-std-acl)#rule 2 permit any
ZXAN(config-std-acl)#exit
8-2
SJ-20130520164529-007|2013-06-30 (R1.0)
ZTE Proprietary and Confidential