H3C S7500 Series Ethernet Switches Operation Manual
Operation Manual – SNMP and RMON
H3C S7500 Series Ethernet Switches Chapter 1
SNMP Configuration
1-7
To do… Use the command… Remarks
Set aging time for trap
messages
snmp-agent trap life seconds
Optional
The default
aging time for
trap messages
is 120
seconds.
1.4 Displaying SNMP
To do… Use the command… Remarks
Display system
information of the current
SNMP device
display snmp-agent sys-info [ contact
| location | version ]*
Display statistics on
SNMP packets
display snmp-agent statistics
Display the engine ID of
the current device
display snmp-agent { local-engineid |
remote-engineid }
Display group information
about the device
display snmp-agent group
[ group-name ]
Display SNMP user
information
display snmp-agent usm-user
[ engineid engineid | username
user-name | group group-name ]
Display the currently
configured community
name
display snmp-agent community [ read
| write ]
Display the currently
configured MIB view
display snmp-agent mib-view
[ exclude | include | viewname
view-name ]
Available in
any view
1.5 SNMP Configuration Example
1.5.1 SNMP Configuration Example
I. Network requirements
z An NMS and Switch A are connected through the Ethernet. The IP address of the
NMS is 10.10.10.1 and that of the VLAN interface on Switch A is 10.10.10.2.
z Perform the following configuration on Switch A: setting the community name and
access right, administrator ID, contact and switch location, and enabling the switch
to sent trap messages.