3com S7906E Installationsanweisungen
1-9
Displaying and Maintaining SNMP
To do…
Use the command…
Remarks
Display SNMP agent system
information, including the
contact, location, and version of
the SNMP
information, including the
contact, location, and version of
the SNMP
display snmp-agent sys-info
[ contact | location | version ]*
[ contact | location | version ]*
Display SNMP agent statistics
display snmp-agent
statistics
statistics
Display the SNMP agent
engine ID
engine ID
display snmp-agent
local-engineid
local-engineid
Display SNMP agent group
information
information
display snmp-agent group
[ group-name ]
[ group-name ]
Display basic information of the
trap queue
trap queue
display snmp-agent trap
queue
queue
Display the modules that can
send traps and whether their
trap sending is enabled or not
send traps and whether their
trap sending is enabled or not
display snmp-agent trap-list
Display SNMPv3 agent user
information
information
display snmp-agent
usm-user [ engineid engineid |
username user-name | group
group-name ] *
usm-user [ engineid engineid |
username user-name | group
group-name ] *
Display SNMPv1 or v2c agent
community information
community information
display snmp-agent
community [ read | write ]
community [ read | write ]
Display MIB view information
for an SNMP agent
for an SNMP agent
display snmp-agent
mib-view [ exclude | include |
viewname view-name ]
mib-view [ exclude | include |
viewname view-name ]
Available in any view
SNMPv1/SNMPv2c Configuration Example
Network requirements
z
As shown in
, 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.
Figure 1-3 Network diagram for SNMPv1/v2c
Configuration procedure
1) Configuring the SNMP agent