ZXA10C300CongurationManual(CLI)
8.1ConguringaStandardACL
ThissectiondescribeshowtocongureastandardACLandapplyittoanEthernet
interface.
CongurationData
Table8-1liststhecongurationdataofthestandardACL.
Table8-1CongurationDataoftheStandardACL
ItemData
TimerangeName:worktime
Range:09:00:00–17:00:00
Day:working-day
ACLnumber3
Rule1Action:deny
Sourceaddress:168.1.1.1/24
Timerange:worktime
Rule2Permitanytrafc
Interfacegei_1/21/1
Steps
1.(Optional)Inglobalcongurationmode,conguretheACLtimerange.
ZXAN(config)#time-rangeworktime09:00:00to17:00:00working-day
2.CreateastandardACL.
ZXAN(config)#aclstandardnumber3
ZXAN(config-std-acl)#
Note:
ThestandardACLnumberrangesfrom1to99.ThestandardACLcanbeappliedto
theEthernetinterfaceonly.
3.ConguretheACLrules.
ZXAN(config-std-acl)#rule1deny168.1.1.10.0.0.255time-rangeworktime
ZXAN(config-std-acl)#rule2permitany
ZXAN(config-std-acl)#exit
8-2
SJ-20130520164529-007|2013-06-30(R1.0)ZTEProprietaryandCondential