Cli: viewing and configuring snmp community names – HP 2910AL User Manual

Page 343

Advertising
background image

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>]

14-15

[no] snmp-server

14-16

[community <community-str>]

14-16

[host <community-str> <ip-addr>]

14-19

[<none | debug | all | not-info | critical>]

[enable traps <authentication>

14-27

[enable traps link-change <port-list>]

14-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
14-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
14-17.)

Figure 14-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

14-15

Advertising