H3C Servers UniSystem Configuration Examples-6W100

HomeSupportConfigure & DeployConfiguration ExamplesH3C Servers UniSystem Configuration Examples-6W100
05-H3C UniSystem SNMP Configuration Examples
Title Size Download
05-H3C UniSystem SNMP Configuration Examples 1.78 MB

H3C UniSystem

SNMP Configuration Examples

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Copyright © 2023 New H3C Technologies Co., Ltd. All rights reserved.

No part of this manual may be reproduced or transmitted in any form or by any means without prior written consent of New H3C Technologies Co., Ltd.

Except for the trademarks of New H3C Technologies Co., Ltd., any trademarks that may be mentioned in this document are the property of their respective owners.

The information in this document is subject to change without notice.



Introduction

This document provides UniSystem Simple Network Management Protocol (UniSystem SNMP) configuration examples.

 

NOTE:

Starting from version 2.59, FIST software has been renamed as UniSystem.

 

Prerequisites

Procedures and information in the examples might be slightly different depending on the software or hardware version of the products.

The configuration was created and verified in a lab environment, and all the servers and software were started with the factory default configuration. If the device has been configured, ensure that the existing configuration does not conflict with the configuration in the following example.

The following information is provided based on the assumption that you have basic knowledge of the SNMP alarm forwarding feature of UniSystem.

Configuration example

 

 

NOTE:

·     The configuration procedure is the same for SNMPv1 and SNMPv2c. This example uses SNMPv2c.

·     The configuration procedure is not the same for SNMPv3 and SNMPv2c. This document will introduce the different parts of the two, and will not describe the same or similar parts of the two.

 

Network configuration

As shown in Figure 1, the UniSystem server (acting as the SNMP agent) is connected to UniSystem-managed Server A and Server B, and the PC with management software installed (acting as SNMP NMS) through a switch. All of them can communicate with each other. The SNMP NMS uses SNMP to manage the agent (UniSystem server), and the UniSystem server automatically sends an alarm to the NMS in case of Server A failure or Server B failure.

·     UniSystem management IP addresses: 192.168.0.12/16

·     Server HDM management IP addresses:192.168.49.51/16, 192.168.47.51/16

·     IP addresses of the PC with MibBrowser: 192.168.0.235/16

Figure 1 UniSystem SNMP network diagram

 

 

Analysis

1.     Prepare the NMS network management software for receiving trap messages.

2.     By configuring SNMP on UniSystem, the NMS software can receive the trap alarm information from UniSystem so that UniSystem can forward the server's alarm trap to the specified destination.

Software versions used

This example was created and verified on UniSystem-2.42.

Restrictions and guidelines

·     For the NMS to receive the alarm information of the agent, the SNMP version number and community name on the agent and the NMS must match.

·     The NMS software configuration varies by vendor. For information about configuring the NMS, see the NMS manual.

·     Only when the UniSystem listening setting is enabled can the UniSystem server receive traps sent from managed servers.

·     If you have set the alarm level in the HDM, the UniSystem SNMP filters the alarms based on the set alarm level (the level of alarms forwarded by UniSystem is higher than or equal to the level set in the HDM).

Procedures

Add the servers to UniSystem.

1.     Open the browser of the UniSystem client, enter the system IP 192.168.0.12 of the UniSystem server in the address bar, and press Enter to access the UniSystem login page, as shown in Figure 2.

2.     On the login page, enter the username (admin by default) and password (Password@_ by default), and then click Log In.

Figure 2 UniSystem Web login page

 

3.     Click Menu > Devices > Server List. On the server list page that opens, click Add. In the Method dialog box, select a server addition method, as shown in Figure 3.

Figure 3 Selecting the method of adding the server

 

4.     Three methods are available. In this example, Add manually is selected. Click Add manually. In the dialog box that opens, add the server information of the two servers to be added, as shown in Figure 4.

Figure 4 Manually adding the server

 

¡     Server Type: Select HDM.

¡     IP Address: Specify the HDM IP address of the server to be added, which is 192.168.49.51.

¡     Username: Specify the HDM login username of the server to be added, which is admin.

¡     Password: Specify the HDM password of the server to be added, which is Password@_.

¡     Device Name: Specify the name of the server to be displayed on UniSystem. This parameter is optional.

Add another server in the same way.

 

 

NOTE:

If more than three servers need to be added, select a method based on the actual requirements.

 

Enabling the listening function

1.     Click Menu > Monitor > Alarm Forwarding to enter the page as shown in Figure 5.

Figure 5 Alarm forwarding

 

2.     Click Configure in the Listening Settings column. In the dialog box that opens, configure the following settings, as shown in Figure 6.

¡     Listening Settings: Select On.

¡     Listening IP: Specify the IP address of the UniSystem server.

¡     Listening Port: Enter 161. (Specify the port that is not occupied while UniSystem is running, with a port range of 1 to 65535. If the port is occupied, UniSystem will report an error)

Figure 6 Configuring listening settings

 

3.     Click OK.

Configuring SNMP (SNMPv2c)

1.     Click Menu > Monitor > Alarm Forwarding. On the alarm forwarding page, click the SNMP Settings tab to enter the page as shown in Figure 7.

Figure 7 SNMP settings

 

2.     Click Add Trap Destination. In the dialog box that opens, configure the following settings, as shown in Figure 8.

¡     Destination IP: Specify 192.168.0.235 (The IP address of NMS. If NMS is installed on a local PC, the destination IP is the local PC IP)

¡     Destination Port: Specify 162 (the default SNMP trap service port).

¡     Version: Select v2c.

¡     Community: Specify public.

¡     Output Trap Level: Select Info (This level is used for UniSystem filtering the message level sent by HDM, not to set the output trap level of HDM).

Figure 8 Adding a trap destination

 

3.     After configuring the trap destination, click OK and the configuration of the SNMP v2c trap alarm forwarding is complete, as shown in Figure 9.

Figure 9 Addition of the SNMP v2c trap destination completed

 

4.     To send a test alarm message to a trap destination, click Test in the Actions column of the trap destination.

Configuring SNMP (SNMPv3)

1.     Click Menu > Monitor > Alarm Forwarding. On the alarm forwarding page, click the SNMP Settings tab to enter the page as shown in Figure 10.

Figure 10 SNMP settings

 

2.     Click Add SNMP User. In the dialog box that opens, configure the following settings, as shown in Figure 11.

¡     Username: test

¡     Security Level: Select Authentication and Privacy.

¡     Authentication Protocol: Select MD5.

¡     Authentication Password: Specify Password@_.

¡     Privacy Protocol: Select DES.

¡     Privacy Password: Specify Password@_.

Figure 11 Adding an SNMP user

 

3.     Click OK and then the SNMP user is added, as shown in Figure 12.

Figure 12 Addition of the SNMP user completed

 

4.     Click Menu > Monitor > Alarm Forwarding >SNMP Settings. On the SNMP settings page, click Add Trap Destination. In the dialog box that opens, configure the following settings, as shown in Figure 13.

¡     Destination IP: Specify 192.168.0.235 (The IP address of NMS. If NMS is installed on a local PC, the destination IP is the local PC IP)

¡     Destination Port: Specify 162 (the default SNMP trap service port).

¡     Version: Select v3.

¡     Username: test

¡     Output Trap Level: Select Info (This level is used for UniSystem filtering the message level sent by HDM, not to set the output trap level of HDM).

Figure 13 Adding a trap destination

 

5.     After configuring the trap destination, click OK and the configuration of the SNMP v3 trap alarm forwarding is complete, as shown in Figure 14.

Figure 14 Addition of the SNMP v3 trap destination completed

 

6.     To send a test alarm message to a trap destination, click Test in the Actions column of the trap destination.

Configuring the NMS

Installing NMS management software

Download and install the ManageEngine MibBrowser 5 management software of the NMS by yourself.

Obtain the MIB file

The MIB file of the HDM version is released with the version. http://www.h3c.com/en/ To get the MIB file, open a browser, access H3C's official website, and navigate to Support > Resource Center > Software Download > Servers. Select a product to enter the firmware download page, select the target HDM version, and download the target MIB file, as shown in Figure 15.

Figure 15 Downloading the MIB file

 

Load MIB files

1.     Open the management software ManageEngine MibBrowser 5 of the NMS, as shown in Figure 16.

Figure 16 Opening the management software

 

2.     From the menu of the NMS management software, select File > Load Mib, select all files with the suffix mib in the decompressed folder MIB > HH3C > MIB Files, and then click Open, as shown in Figure 17.

Figure 17 Load MIB files

 

3.     After the files are loaded, three items with the prefix HH3C are displayed under the Loaded MibModules box on the left of the SNMP NMS management software, as shown in Figure 18.

Figure 18 Loading MIB files successfully

 

Configure the SNMP NMS management software parameters

1.     From the menu of the SNMP NMS management software, select Edit > Settings. On the settings page that opens, select v2c for SNMP Version, keep the default settings for other parameters, as shown in Figure 19, and then click OK.

Figure 19 Selecting the SNMP NMS version

 

Configure trap viewer through the management software

From the menu of the management software, select View > Trap Viewer. In the dialog box that opens, configure the following settings, and then click Start to enable the trap alarm receiving feature, as shown in Figure 20.

·     Authenticate v1/v2c traps(Community): Select this checkbox.

·     Port: 162

·     Community: public

Figure 20 Configuring trap viewer

 

Verifying configuration

1.     On the UniSystem Web interface, click Menu > Devices > Server List. Select the target servers, click More, select Power Control, and then select the Force System Restart option, as shown in Figure 21.

Figure 21 Restarting the device

 

2.     In the dialog box that opens, confirm the device list, select I have read and understood the consequences of this operation, and then click OK, as shown in Figure 22.

Figure 22 Confirming the devices to be restarted

 

3.     On the TrapViewer section of the SNMP NMS management software, you can view the trap alarm information sent by UniSystem, as shown in Figure 23.     

Figure 23 Trap alarm information received in TrapViewer

 

4.     Select the trap information, and click Show Details in TrapViewer to view the detailed information of the alarm, as shown in Figure 24 and Figure 25.

Figure 24 Alarm information sent from Server A

 

Figure 25 Alarm information sent from Server B

 

Related documentation

H3C Servers UniSystem User Guide

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网