16[Sysname-acl-basic-2001] rule deny source any[Sysname-acl-basic-2001] quit[Sysname] snmp-agent sys-info version v2c[Sysname] snmp-agent community write writeaccess acl 2001# Create the read and write community wr-sys-acc so an NMS can use the protocol SNMPv1 orSNMPv2c, community name wr-sys-acc to read and set the MIB objects in the system subtree (OID1.3.6.1.2.1.1). system-view[Sysname] snmp-agent sys-info version v1 v2c[Sysname] undo snmp-agent mib-view ViewDefault[Sysname] snmp-agent mib-view included test system[Sysname] snmp-agent community write wr-sys-acc mib-view testRelated commandssnmp-agent mib-viewsnmp-agent groupUse snmp-agent group to create an SNMP group and specify its access right.Use undo snmp-agent group to delete an SNMP group.SyntaxSNMPv1 and SNMP v2c:snmp-agent group { v1 | v2c } group-name [ read-view view-name ] [ write-view view-name ][ notify-view view-name ] [ acl acl-number | acl ipv6 ipv6-acl-number ] *undo snmp-agent group { v1 | v2c } group-nameSNMPv3:snmp-agent group v3 group-name [ authentication | privacy ] [ read-view view-name ] [ write-viewview-name ] [ notify-view view-name ] [ acl acl-number | acl ipv6 ipv6-acl-number ] *undo snmp-agent group v3 group-name [ authentication | privacy ]DefaultNo SNMP group exists. SNMPv3 groups use the no authentication, no privacy security model if neitherauthentication nor privacy is specified.ViewsSystem viewDefault command level3: Manage levelParametersv1: Specifies SNMPv1.v2c: Specifies SNMPv2c.v3: Specifies SNMPv3.group-name: Specifies a group name, a string of 1 to 32 characters.