Snmp Configuration Example - 3Com 5500-EI PWR Install Manual

Hide thumbs Also See for 5500-EI PWR:
Table of Contents

Advertisement

To do...
Display trap list information
Display the currently configured
community name
Display the currently configured
MIB view

SNMP Configuration Example

SNMP Configuration Example
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 traps.
Thus, the NMS is able to access Switch A and receive the traps sent by Switch A.
Network diagram
Figure 1-2 Network diagram for SNMP configuration
Switch A
10.10.10.2/16
Network procedure
# Enable SNMP agent, and set the SNMPv1 and SNMPv2c community names.
<Sysname> system-view
[Sysname] snmp-agent
[Sysname] snmp-agent sys-info version all
[Sysname] snmp-agent community read public
[Sysname] snmp-agent community write private
# Set the access right of the NMS to the MIB of the SNMP agent.
[Sysname] snmp-agent mib-view include internet 1.3.6.1
# For SNMPv3, set:
SNMPv3 group and user
security to the level of needing authentication and encryption
authentication protocol to HMAC-MD5
authentication password to passmd5
encryption protocol to DES
encryption password to cfb128cfb128
[Sysname] snmp-agent group v3 managev3group privacy write-view internet
Use the command...
display snmp-agent trap-list
display snmp-agent community [ read |
write ]
display snmp-agent mib-view [ exclude |
include | viewname view-name ]
NMS
10.10.10.1/16
1-7
Remarks

Advertisement

Table of Contents
loading

This manual is also suitable for:

5500-ei series

Table of Contents