< Home

snmp-agent group (upgrade-compatible command)

Function

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.

Format

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 ]

Parameters

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.
  • authentication: authenticates SNMP messages without encryption.
  • privacy: authenticates and encrypts SNMP messages.

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.

Views

System view

Default Level

3: Management level

Usage Guidelines

This command is available to aid upgrade compatibility. It can only be run during the configuration restoration phase of the upgrade.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
Next topic >