The snmp-agent group command creates an SNMP group by mapping SNMP users to SNMP views.
The undo snmp-agent group command deletes a specified SNMP user group.
By default, no SNMP group is configured.
snmp-agent group v3 group-name [ authentication | privacy ] [ read-view read-view | write-view write-view | notify-view notify-view ] * [ acl acl-number ]
undo snmp-agent group v3 group-name [ authentication | privacy ]
Parameter | Description | Value |
---|---|---|
v3 | Indicates that the SNMP group uses the security mode in SNMPv3. | - |
group-name | Specifies the name of an SNMP group. | It is a string of 1 to 32 case-sensitive characters without spaces. |
authentication | privacy | Indicates the security level of
the SNMP group.
|
To ensure security, it is recommended that you set the security level of the SNMP group to privacy. |
read-view read-view | Specifies a read-only view. | It is a string of 1 to 32 case-sensitive characters without spaces. read-view specified by the snmp-agent mib-view command. |
write-view write-view | Specifies a read-write view. | It is a string of 1 to 32 case-sensitive characters without spaces. write-view is specified by the snmp-agent mib-view command. |
notify-view notify-view | Specifies a notify view. | It is a string of 1 to 32 case-sensitive characters without spaces. notify-view is specified by the snmp-agent mib-view command. |
acl acl-number | Specifies a basic ACL. NOTE:
The ACL configured by the acl acl-number parameter takes effect on both IPv4 and IPv6 networks. |
The value is an integer that ranges from 2000 to 2999. |