CLI Reference Guide SNMP Configuration Commands
snmp-server group
Use this command to set the SNMP user group in global configuration mode. The no form of this
command is used to remove the user group.
snmp-server group groupname { v1 | v2c | v3 { auth | noauth | priv } } [ read readview ] [ write
writeview ] [ access { [ ipv6 ipv6_aclname ] [ aclnum |aclname } ]
no snmp-server group groupname { v1 | v2c | v3 { auth | noauth | priv } }
Authenticate the messages transmitted by the user group without
encryption. This applies to only SNMPv3.
Neither authenticate nor encrypt the messages transmitted by
the user group. This applies to only SNMPv3.
Authenticate and encrypt the messages transmitted by the user
group. This applies to only SNMPv3.
Associate with a read-only view.
Sequence number of the ACL in the range of 1 to 99, which
specifies the IPV4 address range of the NMS that are permitted
to access the MIB.
Name of the ACL, which specifies the IPV4 address range of the
NMS that are permitted to access the MIB.
Name of the IPv6 ACL, which specifies the IPv6 address range of
the NMS that are permitted to access the MIB.
Associate with a read-write view.
Global configuration mode.
The example below sets a user group.
Ruijie(config)# snmp-server group mib2user v3 priv read mib2
Show the SNMP user group configuration.