1-7Configuration example# Configure ACL 2000 to deny packets whose source IP addresses are 192.168.0.1. system-view[Sysname] acl number 2000[Sysname-acl-basic-2000] rule deny source 192.168.0.1 0# Display the configuration information of ACL 2000.[Sysname-acl-basic-2000] display acl 2000Basic ACL 2000, 1 ruleAcl's step is 1rule 0 deny source 192.168.0.1 0Configuring Advanced ACLAn advanced ACL can filter packets by their source and destination IP addresses, theprotocols carried by IP, and protocol-specific features such as TCP/UDP source anddestination ports, ICMP message type and message code.An advanced ACL can be numbered from 3000 to 3999. Note that ACL 3998 and ACL 3999cannot be configured because they are reserved for cluster management.Advanced ACLs support analysis and processing of three packet priority levels: type ofservice (ToS) priority, IP priority and differentiated services codepoint (DSCP).Using advanced ACLs, you can define classification rules that are more accurate, moreabundant, and more flexible than those defined for basic ACLs.Configuration prerequisitesz To configure a time range-based advanced ACL rule, you need to create thecorresponding time ranges first. For information about of time range configuration,refer to Configuring Time Range.z The settings to be specified in the rule, such as source and destination IP addresses,the protocols carried by IP, and protocol-specific features, are determined.Configuration procedureFollow these steps to define an advanced ACL rule:To do... Use the command... RemarksEnter system view system-view —Create an advancedACL and enter advancedACL viewacl number acl-number[ match-order { auto |config } ]Requiredconfig by defaultDefine an ACL rule rule [ rule-id ] { permit | deny }protocol [ rule-string ]RequiredFor information aboutprotocol and rule-string,refer to ACL Commands.