show snmp community

Syntax

show snmp community

Description

Displays a list of all configured SNMPv1/v2c communities.

Command context

Manager (#)

Authority

Administrators or local user group members with execution rights for this command.

Usage

When a user creates a custom community before enabling an SNMP agent, ArubaOS-CX automatically removes the default public community from the system.

Example

Displaying a list of all configured SNMPv1/v2c communities:

Before any community is created by user

switch# show snmp community
---------------------
SNMP communities
---------------------
public

After community is created by user

switch#show snmp community
---------------------
SNMP communities
---------------------
private
private2