Displaying Snmp; Snmp Configuration Example - H3C S7500 Series Operation Manual

Hide thumbs Also See for S7500 Series:
Table of Contents

Advertisement

Operation Manual – SNMP and RMON
H3C S7500 Series Ethernet Switches
Set aging time for trap
messages

1.4 Displaying SNMP

Display system
information of the current
SNMP device
Display statistics on
SNMP packets
Display the engine ID of
the current device
Display group information
about the device
Display SNMP user
information
Display the currently
configured community
name
Display the currently
configured MIB view

1.5 SNMP Configuration Example

1.5.1 SNMP Configuration Example
I. Network requirements
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.
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.
To do...
snmp-agent trap life seconds
To do...
display snmp-agent sys-info [ contact
| location | version ]*
display snmp-agent statistics
display snmp-agent { local-engineid |
remote-engineid }
display snmp-agent group
[ group-name ]
display snmp-agent usm-user
[ engineid engineid | username
user-name | group group-name ]
display snmp-agent community [ read
| write ]
display snmp-agent mib-view
[ exclude | include | viewname
view-name ]
Use the command...
Use the command...
1-7
Chapter 1 SNMP Configuration
Remarks
Optional
The default
aging time for
trap messages
is 120
seconds.
Remarks
Available in
any view

Advertisement

Table of Contents
loading

Table of Contents