Snmp Configuration Examples - H3C S3100 Series Operation Manual

H3c s3100 series ethernet switches operation manual
Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Table 1-7 Display SNMP
Operation
Display the SNMP information about
the current device
Display SNMP packet statistics
Display the engine ID of the current
device
Display group information about the
device
Display SNMP user information
Display Trap list information
Display the currently configured
community name
Display the currently configured MIB
view

SNMP Configuration Examples

SNMP Configuration Examples
Network requirements
An NMS and Switch A (SNMP agent) 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
permission, administrator ID, contact and switch location, and enabling the switch to sent trap
messages.
Thus, the NMS is able to access Switch A and receive the trap messages sent by Switch A.
Network diagram
Figure 1-2 Network diagram for SNMP configuration
Network procedure
# Enable SNMP agent, and set the SNMPv1 and SNMPv2c community names.
<Sysname> system-view
[Sysname] snmp-agent
Command
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 trap-list
display snmp-agent community
[ read | write ]
display snmp-agent mib-view
[ exclude | include | viewname
view-name ]
1-7
Description
Available in any
view.

Advertisement

Chapters

Table of Contents
loading

Table of Contents