HP (Hewlett-Packard) 2520 Switch User Manual


 
Configuring for Network Management Applications
Using SNMP Tools To Manage the Switch
CLI: Viewing and Configuring SNMP Community Names
Community Name Commands Page
show snmp-server [<community-string>] 13-15
[no] snmp-server 13-16
[community <community-str>] 13-16
[host <community-str> <ip-addr>] 13-19
[<none | debug | all | not-info | critical>]
[enable traps <authentication> 13-27
[enable traps link-change <port-list>] 13-28
Listing Community Names and Values. This command lists the data for
currently configured SNMP community names (along with trap receivers and
the setting for authentication traps — refer to “SNMP Notifications” on page
13-17).
Syntax: show snmp-server [<community-string>]
This example lists the data for all communities in a switch; that is, both the
default “public” community name and another community named "blue-team"
Default
Community and
Settings
Non-Default
Community and
Settings
Trap Receiver
Data (See page
13-17.)
Figure 13-8. Example of the SNMP Community Listing with Two Communities
To list the data for only one community, such as the “public” community, use
the above command with the community name included. For example:
ProCurve# show snmp-server public
13-15