Operation Manual – ACLH3C S5600 Series Ethernet Switches Chapter 1 ACL Configuration1-10z If you do not specify the rule-id argument when creating an ACL rule, the rule willbe numbered automatically. If the ACL has no rules, the rule is numbered 0;otherwise, the number of the rule will be the greatest rule number plus one. If thecurrent greatest rule number is 65534, however, the system will display an errormessage and you need to specify a number for the rule.z The content of a modified or created rule cannot be identical with the content ofany existing rules; otherwise the rule modification or creation will fail, and thesystem prompts that the rule already exists.III. Configuration example# Configure ACL 4000 to deny packets sourced from the MAC address 000d-88f5-97ed,destined for the MAC address 0011-4301-991e, and with their 802.1p priority being 3. system-view[Sysname] acl number 4000[Sysname-acl-ethernetframe-4000] rule deny cos 3 source 000d-88f5-97edffff-ffff-ffff dest 0011-4301-991e ffff-ffff-ffff# Display the configuration information of ACL 4000.[Sysname-acl-ethernetframe-4000] display acl 4000Ethernet frame ACL 4000, 1 ruleAcl's step is 1rule 0 deny cos excellent-effort source 000d-88f5-97ed ffff-ffff-ffff dest0011-4301-991e ffff-ffff-ffff1.2.5 Configuring User-defined ACLA user-defined ACL filters packets by comparing specific bytes in packet headers withspecified string.A user-defined ACL can be numbered from 5000 to 5999.I. Configuration prerequisitesTo configure a time range-based user-defined ACL rule, you need to define thecorresponding time ranges first. For information about time range configuration, refer toConfiguring Time Range.II. Configuration procedureFollow these steps to define a user-defined ACL rule:To do... Use the command... RemarksEnter system view system-view —Create a user-definedACL and enteruser-defined ACL viewacl number acl-number Required