show snmp community

Syntax

show snmp community

Description

显示所有已配置的列表SNMPv1 / v2c美军陆军nities.

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,AOS-CXautomatically removes the defaultpubliccommunity 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