beautypg.com

Displaying and maintaining snmp, Snmpv1/snmpv2c configuration example, Network requirements – H3C Technologies H3C S5120 Series Switches User Manual

Page 584

background image

1-8

z

An extended linkUp/linkDown trap is the standard linkUp/linkDown trap (defined in RFC) appended

with interface description and interface type information. If the extended messages are not

supported on the NMS, disable this function to let the device send standard linkUp/linkDown traps.

z

If the sending queue of traps is full, the system will automatically delete some oldest traps to

receive new traps.

z

The system will automatically delete the traps whose holding time expires.

Displaying and Maintaining SNMP

To do…

Use the command…

Remarks

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

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

Display SNMP agent statistics

display snmp-agent
statistics

Display the SNMP agent
engine ID

display snmp-agent
local-engineid

Display SNMP agent group
information

display snmp-agent group
[ group-name ]

Display basic information of the
trap queue

display snmp-agent trap
queue

Display the modules that can
send traps and whether their
trap sending is enabled or not

display snmp-agent trap-list

Display SNMPv3 agent user
information

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

Display SNMPv1 or v2c agent
community information

display snmp-agent
community
[ read | write ]

Display MIB view information
for an SNMP agent

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

Available in any view

SNMPv1/SNMPv2c Configuration Example

Network requirements

z

As shown in

Figure 1-3

, the NMS connects to the agent through an Ethernet.

z

The IP address of the NMS is 1.1.1.2/24.

z

The IP address of the agent is 1.1.1.1/24.

z

The NMS monitors and manages the agent using SNMPv1 or SNMPv2c. The agent reports errors

or faults to the NMS.