Method for simulating trap messages of multiple network elements and system

A technology for simulating network elements and trap messages, applied in the field of communication, can solve problems such as inability to test the network management system, and achieve the effect of facilitating network testing

Active Publication Date: 2015-12-30
深圳市华讯方舟光电技术有限公司
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the embodiments of the present invention is to provide a method and system for simulating trap messages of multiple network elemen

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for simulating trap messages of multiple network elements and system
  • Method for simulating trap messages of multiple network elements and system
  • Method for simulating trap messages of multiple network elements and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0047] figure 1 The specific implementation process of the method for simulating trap messages of multiple network elements provided by the embodiment of the present invention is shown. see figure 1 As shown, the method for simulating trap messages of multiple network elements provided by the embodiment of the present invention includes:

[0048] In S101, read a configuration file of the network management system under test to obtain configuration parameters of the network management system under test.

[0049] In the embodiment of the present invention, the configuration parameters of the netwo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method simulating trap messages of multiple network elements and a system and relates to the communication technology field. The method comprises steps that, configuration files of a to-be-measured network management system are read to acquire and store configuration parameters of the to-be-measured network management system; command parameters inputted by a user through a simulation terminal are received and stored, an MAC address and an IP address of the simulation terminal are simultaneously read, an MAC address and an IP address of a simulation network element are generated based on the command parameters, the MAC address and the IP address of the simulation terminal according to predetermined rules; an Snmp trap message of the simulation element is assembled based on the configuration parameters and the MAC address and the IP address of the simulation network element and by employing the raw socket programming technology; the Snmp trap message is sent to the to-be-measured network management system through a raw socket sending function, and performance test on the to-be-measured network management system is carried out according to the Snmp trap message. Through the method, multiple network elements are simulated to send Snmp trap messages to the to-be-measured network management system, networking test on the to-be-measured network management system can be rapidly and conveniently carried out, and reliability and stability of the to-be-measured network management system can be effectively tested.

Description

technical field [0001] The invention belongs to the technical field of communication, in particular to a method and system for simulating trap messages of multiple network elements. Background technique [0002] SNMP (Simple Network Management Protocol, Simple Network Management Protocol) is one of the earliest proposed network management protocols. Due to its simplicity, it has been widely used and supported since it was launched. At present, SNMP has become the working standard in the field of network management, and most network management systems and platforms are implemented based on the SNMP protocol. [0003] With the widespread application of the SNMP protocol, an NSM (Network Management System, Network Management System) manages tens of thousands, even hundreds of thousands of network elements, and in the current network application environment, these network elements are generating alarms at any time The information is sent to the NMS through Trap messages. At thi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L12/24
CPCH04L41/0213H04L41/08
Inventor 蔡磊磊李杰
Owner 深圳市华讯方舟光电技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products