< Home

display snmp-agent community

Function

The display snmp-agent community command displays the configured community name.

Format

display snmp-agent community [ read | write ] *

Parameters

Parameter Description Value

read

Displays the name of a community with read-only permission.

-

write

Displays the name of a community with read and write permission.

-

Views

All views

Default Level

3: Management level

Usage Guidelines

When configuring a management entity, you can use the display snmp-agent community command to check the community name configured on the current agent.

If the parameter read or write is not specified, the names of all communities are displayed.

You have to configure the community name using the snmp-agent community command before you run the display snmp-agent community command.

Example

# Display the current community name.

<HUAWEI> display snmp-agent community
   Community name: %^%#.T|&Whvyf$<Gd"I,wXi5SP_6~Nakk6<<+3H:N-h@aJ6d,l0md%HCeAY8~>X=>xV\JKNAL=124r839v<*%^%#
       Group name: %^%#.T|&Whvyf$<Gd"I,wXi5SP_6~Nakk6<<+3H:N-h@aJ6d,l0md%HCeAY8~>X=>xV\JKNAL=124r839v<*%^%#
       Alias name:huawei
       Acl:2001
       Storage type: nonVolatile
Table 1 Description of the display snmp-agent community command output

Item

Description

Community name

Name of a community.

Group name

Name of a group.

Alias name

Alias name for a community

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.

Storage type

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

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