beautypg.com

Displaying the snmp settings, Snmpv1/snmpv2c configuration example, Network requirements – H3C Technologies H3C MSR 5600 User Manual

Page 129: Configuration procedure

background image

116

Displaying the SNMP settings

Execute display commands in any view.

Task Command

Display SNMP agent system information, including
the contact, physical location, and SNMP version.

display snmp-agent sys-info [ contact | location |
version ]

Display SNMP agent statistics.

display snmp-agent statistics

Display the local engine ID.

display snmp-agent local-engineid

Display SNMP group information.

display snmp-agent group [ group-name ]

Display remote engine IDs.

display snmp-agent remote [ ip-address
[ vpn-instance vpn-instance-name ] | ipv6

ipv6-address [ vpn-instance vpn-instance-name ] ]

Display basic information about the notification
queue.

display snmp-agent trap queue

Display the modules that can generate notifications
and their notification status (enable or disable).

display snmp-agent trap-list

Display SNMPv3 user information.

display snmp-agent usm-user [ engineid engineid |
username user-name | group group-name ] *

Display SNMPv1 or SNMPv2c community
information. (This command is applicable only to

non-FIPS mode.)

display snmp-agent community [ read | write ]

Display MIB view information.

display snmp-agent mib-view [ exclude | include |
viewname view-name ]

Display SNMP MIB node information.

display snmp-agent mib-node [ details | index-node
| trap-node | verbose ]

SNMPv1/SNMPv2c configuration example

SNMPv1 configuration procedure is the same as the SNMPv2c configuration procedure. This example

uses SNMPv1, and is available only for non-FIPS mode.

Network requirements

As shown in

Figure 43

, the NMS (1.1.1.2/24) uses SNMPv1 to manage the SNMP agent (1.1.1.1/24), and

the agent automatically sends notifications to report events to the NMS.

Figure 43 Network diagram

Configuration procedure

1.

Configure the SNMP agent:

This manual is related to the following products: