< Home

display snmp-agent group

Function

The display snmp-agent group command displays information about SNMP user groups.

Format

display snmp-agent group [ group-name ]

Parameters

Parameter Description Value

group-name

Displays information about a specified SNMP user group.

If this parameter is not specified, the system displays information about all SNMP user groups.

The value is a string of 1 to 32 case-sensitive characters, spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

3: Management level

Usage Guidelines

Usage Scenario

When configuring a management object according to the SNMP user group, you can run the display snmp-agent group command to view information about the SNMP user group, such as the group name and security model.

Prerequisites

An SNMP user group has been configured using the snmp-agent group command.

Example

# Display information about all SNMP user groups.
<HUAWEI> display snmp-agent group
   Group name: testgroup                                                        
       Security model: v3 AuthPriv                                                  
       Readview: ViewDefault                                                        
       Writeview: dnsmib                                                            
       Notifyview: dnsmib                                                           
       Storage type: nonVolatile                                                    
       Acl: 2001                                                                    
Table 1 Table 1 Description of the display snmp-agent group command output

Item

Description

Group name

Name of the SNMP user group.

Security model

Security mode of the SNMP user group:
  • v3 AuthPriv: SNMP packets need to be authenticated and encrypted.
  • v3 AuthnoPriv: SNMP packets only need to be authenticated.
  • v3 noAuthnoPriv: SNMP packets neither need to be authenticated nor encrypted.

Readview

Name of a MIB view with read-only permission of the SNMP user group.

Writeview

Name of a MIB view with read and write permission of the SNMP user group.

Notifyview

Name of a MIB view name with notification permission of the SNMP user group.

Storage-type

Mode in which information is stored. Only nonVolatile is supported currently. In this mode, configuration can be restored after the device restarts.

Acl

The ACL takes effect on both IPv4 and IPv6 networks.

Ipv4 acl

The ACL takes effect on only IPv4 network.

Ipv6 acl

The ACL takes effect on only IPv6 network.

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