Snmp Configuration Example - H3C S5600 Series Operation Manual

Hide thumbs Also See for S5600 Series:
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
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 AES
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 ]
1-8
Remarks

Hide quick links:

Advertisement

Chapters

Table of Contents
loading

This manual is also suitable for:

S5600-26cS5600-26c-pwrS5600-26fS5600-50cS5600-50c-pwr

Table of Contents