8-4Configuration procedure# Define a basic ACL. system-view[Sysname] acl number 2000 match-order config[Sysname-acl-basic-2000] rule 1 permit source 10.110.100.52 0[Sysname-acl-basic-2000] rule 2 permit source 10.110.100.46 0[Sysname-acl-basic-2000] rule 3 deny source any[Sysname-acl-basic-2000] quit# Apply the ACL.[Sysname] user-interface vty 0 4[Sysname-ui-vty0-4] acl 2000 inboundControlling Network Management Users by Source IP AddressesYou can manage a H3C S5120-EI series Ethernet switch through network management software.Network management users can access switches through SNMP.You need to perform the following two operations to control network management users by source IPaddresses.z Defining an ACLz Applying the ACL to control users accessing the switch through SNMPPrerequisitesThe controlling policy against network management users is determined, including the source IPaddresses to be controlled and the controlling actions (permitting or denying).Controlling Network Management Users by Source IP AddressesFollow these steps to control network management users by source IP addresses:To do… Use the command… RemarksEnter system view system-view —Create a basic ACL orenter basic ACL viewacl [ ipv6 ] number acl-number [ match-order{ config | auto } ]As for the aclnumbercommand, theconfig keywordis specified bydefault.Define rules for the ACLrule [ rule-id ] { permit | deny } [ source { sour-addrsour-wildcard | any } | time-range time-name |fragment | logging ]*RequiredQuit to system view quit —Apply the ACL whileconfiguring the SNMPcommunity namesnmp-agent community { read | write }community-name [ mib-view view-name | aclacl-number ]*RequiredAccording to theSNMP version