display snmp-agent group

Function

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

Format

display snmp-agent group [ group-name ]

Parameters

Parameter Description Value
group group-name

Displays the name of an SNMP agent group.

This parameter is specified using the snmp-agent group command.

The value is a string of 1 to 32 case-sensitive characters, spaces not supported.

When quotation marks are used around the string, spaces are allowed in the string.

Views

All views

Default Level

3: Management level

Task Name and Operations

Task Name Operations
snmp read

Usage Guidelines

Usage Scenario

When you configure a management object based on the SNMPv3 group information, to view information about the SNMP agent group, run the display snmp-agent group command.

If no parameter is specified in the command, information about all groups is displayed, such as the group name, security model, and storage type.

Prerequisites

The SNMP agent group has been created using the snmp-agent group command.

Example

The actual command output varies according to the device. The command output here is only an example.

# Display the name and security model of an SNMP agent group.
<HUAWEI> display snmp-agent group
   Group name: mygroup
       Security model: USM noAuthNoPriv
       Readview: ViewDefault
       Writeview: <no specified>
       Notifyview: <no specified>
       Storage-type: nonVolatile
       Acl: 2000
Table 1 Description of the display snmp-agent group command output
Item Description
Group name

Name of an SNMP agent group.

Security model

Security model of the group.

Readview

Read-only MIB of the group view.

Writeview

Read-write MIB of the group view.

Notifyview

Notify MIB of the group view.

Storage-type

Standard type of saving a row to memory:

  • other (1).
  • volatile (2): A row is saved to volatile memory. The row will be lost once the device is restarted. If the storage type of a row is set to volatile (2), you cannot change it to permanent (4) or readOnly (5).
  • nonVolatile (3): A row is saved to non-volatile memory, such as Non Volatile Random Access Memory (NVRAM). The row can be restored after the device is restarted. If the storage type of a row is set to nonVolatile (3), you cannot change it to permanent (4) or readOnly (5).
  • permanent (4): A permanent row is saved to non-volatile memory, such as Read-only Memory (ROM). If the storage type of a row is permanent (4), you cannot change it to other storage types.
  • readOnly (5): A read-only row is saved to non-volatile memory, such as ROM. If the storage type of a row is readOnly (5), you cannot change it to other storage types. In addition, you cannot delete the row.

    Only nonVolatile (3) is available.

Acl

Either ACL name or number.

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