郭斯彥臺灣大學:電機工程學研究所王俊傑Wang, Chun-ChiehChun-ChiehWang2007-11-262018-07-062007-11-262018-07-062006http://ntur.lib.ntu.edu.tw//handle/246246/53023Nowadays network management for IP devices is very important to device vendors and system integrators. They may use their own protocols, or, use the most popular protocol: SNMP. Popularity of SNMP is especially important to system integrators. Because SNMP is a standard protocol, system integrators can easily integrate several components developed by different vendors. If the IP devices understand SNMP protocol, they can be managed by SNMP-compatible software. There are many SNMP-compatible software, but there are few web-based SNMP management system. This thesis is focused on how to develop a web-based SNMP management system. All needed background knowledge, software, library, etc. are covered before the main dish, such that readers can know the necessary background for develop such a system.Table of Contents iii 1 Introduction 1 1.1 Background and Motivation . . . . . . . . . . . . . . . . . . . . . 1 1.2 Goal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 1.3 Thesis Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2 2 SNMP 5 2.1 Introduction to SNMP . . . . . . . . . . . . . . . . . . . . . . . . 5 2.1.1 Why and What Is SNMP? . . . . . . . . . . . . . . . . . . 5 2.1.2 Managers and Agents . . . . . . . . . . . . . . . . . . . . 6 2.1.3 Structure of Management Information . . . . . . . . . . . 7 2.1.4 Management Information Base . . . . . . . . . . . . . . . 8 2.2 SNMPv1 and SNMPv2 . . . . . . . . . . . . . . . . . . . . . . . . 8 2.2.1 SNMP and UDP . . . . . . . . . . . . . . . . . . . . . . . 8 2.2.2 SNMP Communities . . . . . . . . . . . . . . . . . . . . . 9 2.2.3 SMI . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 2.2.4 SNMP Operations . . . . . . . . . . . . . . . . . . . . . . 11 3 Related Works 21 3.1 libsmi . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 3.1.1 Library . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 3.1.2 Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 3.1.3 What I Need from Libsmi? . . . . . . . . . . . . . . . . . 23 3.1.4 Where can I get libsmi? . . . . . . . . . . . . . . . . . . . 24 3.2 SNMP++ .NET . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.3 Internet Explorer Web Controls . . . . . . . . . . . . . . . . . . . 24 3.3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . 24 3.3.2 Tour of the WebControls . . . . . . . . . . . . . . . . . . 25 3.3.3 Download and Install . . . . . . . . . . . . . . . . . . . . 26 4 Implementation 27 4.1 MIB To XML Converter : smidump . . . . . . . . . . . . . . . . 28 4.1.1 smidump usage . . . . . . . . . . . . . . . . . . . . . . . . 28 4.1.2 tracing smidump . . . . . . . . . . . . . . . . . . . . . . . 30 4.2 Web-Based Configuration Manager . . . . . . . . . . . . . . . . . 31 4.2.1 Left Frame . . . . . . . . . . . . . . . . . . . . . . . . . . 32 4.2.2 Right Frame . . . . . . . . . . . . . . . . . . . . . . . . . 38 iii iv TABLE OF CONTENTS 4.2.3 Dynamic Template Column of DataGrid . . . . . . . . . . 41 5 Conclusion 49 Bibliography 51 A RFCs 531189988 bytesapplication/pdfen-US組態管理SNMPSNMP組態管理系統之實作Implementation of SNMP Configuration Systemthesishttp://ntur.lib.ntu.edu.tw/bitstream/246246/53023/1/ntu-95-R93921112-1.pdf