Revised Spring 2006 Rudimentary NMS Software Components 1 Rudimentary NMS Software Components (Chapter 7) Network Management, MIBs, and MPLS Stephen B.

Slides:



Advertisements
Similar presentations
--- IT Acumens. COMIT Acumens. COM SNMP Project. AIM The aim of our project is to monitor and manage the performance of a network. The aim of our project.
Advertisements

Supporting SNMP In MOM and WMI
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: Monitoring the Network Connecting Networks.
Chapter 19: Network Management Business Data Communications, 5e.
CIS : Network Management. Introduction Network, associated resources and distributed applications indispensable Complex systems —More things can.
CSS Central: Central Management Utility Screen View Samples Next.
XP Tutorial 9 New Perspectives on Microsoft Windows XP 1 Microsoft Windows XP Exploring Your Network Tutorial 9.
Chapter 9 Chapter 9: Managing Groups, Folders, Files, and Object Security.
Exploring Microsoft Access Chapter 8 Creating More Powerful Applications: Introduction to VBA By Robert T. Grauer Maryann Barber.
Manajemen Jaringan dan Network Security Pertemuan 26 Matakuliah: H0484/Jaringan Komputer Tahun: 2007.
Introduction to Network Administration. Objectives.
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
14.1 © 2004 Pearson Education, Inc. Exam Planning, Implementing, and Maintaining a Microsoft Windows Server 2003 Active Directory Infrastructure.
1 ITC242 – Introduction to Data Communications Week 12 Topic 18 Chapter 19 Network Management.
A Guide to Oracle9i1 Introduction To Forms Builder Chapter 5.
Exploring Office Grauer and Barber 1 Creating More Powerful Applications: Introduction to VBA(Wk9)
Chapter 15 Chapter 15: Network Monitoring and Tuning.
CSEE W4140 Networking Laboratory Lecture 11: SNMP Jong Yul Kim
Hands-On Microsoft Windows Server 2003 Administration Chapter 5 Administering File Resources.
1 Pertemuan 26 Manajemen Jaringan dan Network Security Matakuliah: H0174/Jaringan Komputer Tahun: 2006 Versi: 1/0.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
COMP4690, by Dr Xiaowen Chu, HKBU
1 Network Management and SNMP  What is Network Management?  ISO Network Management Model (FCAPS)  Network Management Architecture  SNMPv1 and SNMPv2.
SNMP Simple Network Management Protocol
Guide to TCP/IP, Third Edition Chapter 11: Monitoring and Managing IP Networks.
Copyright Kenneth M. Chipps Ph.D. How to Use SNMP to Collect Network Data Last Update
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
Hands-On Microsoft Windows Server 2008 Chapter 11 Server and Network Monitoring.
Chapter 6 Overview Simple Network Management Protocol
McGraw-Hill The McGraw-Hill Companies, Inc., 2000 SNMP Simple Network Management Protocol.
Windows Server 2008 Chapter 11 Last Update
5 Copyright © 2009, Oracle. All rights reserved. Defining ETL Mappings for Staging Data.
HiVision SNMP Software.
Emanuele Pasqualucci Extending AppManager Monitoring with the SNMP Toolkit.
SNMP (Simple Network Management Protocol)
Network Protocols UNIT IV – NETWORK MANAGEMENT FUNDAMENTALS.
SNMP ( Simple Network Management Protocol ) based Network Management.
1 Guide to Novell NetWare 6.0 Network Administration Chapter 11.
SNMP Simple Network Management Protocol Team: Matrix CMPE-208 Fall 2006.
C Copyright © 2009, Oracle. All rights reserved. Appendix C: Service-Oriented Architectures.
Microsoft Internet Security and Acceleration (ISA) Server 2004 is an advanced packet checking and application-layer firewall, virtual private network.
Automating Tasks with Visual Basic. Introduction  When can’t find a readymade macro action that does the job you want, you can use Visual Basic code.
Basic tasks that fall under this category are: What is Network Management? Fault Management Dealing with problems and emergencies in the network (router.
Communication and Functional Models
BAI513 - PROTOCOLS SNMP BAIST – Network Management.
Lec 3: Infrastructure of Network Management Part2 Organized by: Nada Alhirabi NET 311.
Chapter Two Defining Network Objects. Chapter Objectives Describe how a workstation communicates with the network, and list the software components required.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 4 v3.1 Module 6 Introduction to Network Administration.
CCNA 4 Module 6 Introduction to network Administration.
Lecture Note 1: Getting Started With ASP.  Introduction to ASP  Introduction to ASP An ASP file can contain text, HTML tags and scripts. Scripts in.
Version How to Use Packet Tracer MarinaMD.
Exploring Microsoft Access Chapter 8 Creating More Powerful Applications: Introduction to VBA.
“ Vulnerabilities in SNMP Implementations ” CSCI Web Security Instructor: Dr. Andrew Yang Presented By: Harini Varatharajan.
SMS Software Distribution. Overview  Explaining How SMS Distributes Software  Managing Distribution Points  Configuring Software Distribution and the.
3 Copyright © 2004, Oracle. All rights reserved. Working in the Forms Developer Environment.
NetTech Solutions Microsoft Outlook and Outlook Express Lesson Four.
Module 8: Managing Software Distribution. Collections Packages Programs Advertisements Collections Packages Programs Advertisements How Software.
1 Installing Java on Your PC. Installing Java To develop Java programs on your PC: Install JDK (Java Development Kit) Add the directory where JDK was.
1 Chapter Overview Monitoring Access to Shared Folders Creating and Sharing Local and Remote Folders Monitoring Network Users Using Offline Folders and.
Active-HDL Server Farm Course 11. All materials updated on: September 30, 2004 Outline 1.Introduction 2.Advantages 3.Requirements 4.Installation 5.Architecture.
Chapter 27 Network Management Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
How to develop a VoIP softphone in C# by using OZEKI VoIP SIP SDK This presentation demonstrates the first steps concerning to how to develop a fully-functional.
Lec 3: Infrastructure of Network Management Part2 Organized by: Nada Alhirabi NET 311.
1 Remote Installation Service Windows 2003 Server Prof. Abdul Hameed.
Working in the Forms Developer Environment
Hands-On Microsoft Windows Server 2008
Objectives Differentiate between the different editions of Windows Server 2003 Explain Windows Server 2003 network models and server roles Identify concepts.
CONFIGURING HARDWARE DEVICE & START UP PROCESS
Accessing Databases with ADO.NET, Handling Exceptions, and Printing
CCNA 4 v3.1 Module 6 Introduction to Network Administration
Presentation transcript:

Revised Spring 2006 Rudimentary NMS Software Components 1 Rudimentary NMS Software Components (Chapter 7) Network Management, MIBs, and MPLS Stephen B. Morris

Revised Spring 2006 Rudimentary NMS Software Components2 Overview How to build and use Simple Network Management Protocol (SNMP) code components How to build and use Simple Network Management Protocol (SNMP) code components Two commercial Application Programming Interfaces (APIs) Two commercial Application Programming Interfaces (APIs) Microsoft Visual C++ version 6.0 Microsoft Visual C++ version 6.0 Sun Microsystems Java Development Management Kit (JDMK) version 4.2 Sun Microsystems Java Development Management Kit (JDMK) version 4.2

Revised Spring 2006 Rudimentary NMS Software Components3 Building a Rudimentary Management System Minimum Required Components Minimum Required Components SNMP manager SNMP manager Management Information Bases (MIBs) Management Information Bases (MIBs) Database Database SNMP agents SNMP agents

Revised Spring 2006 Rudimentary NMS Software Components4 Configuring SNMP on Windows NT/2000/XP Windows NT Windows NT If the SNMP Service is already installed: If the SNMP Service is already installed: Click Start-Settings-Control Panel Click Start-Settings-Control Panel Select Services and scroll down to the SNMP Service Select Services and scroll down to the SNMP Service If the SNMP Service is not installed: If the SNMP Service is not installed: Double click the Control Panel icon and select the Services tab Double click the Control Panel icon and select the Services tab Click the Add button and the scroll down to the SNMP Service and then click OK Click the Add button and the scroll down to the SNMP Service and then click OK

Revised Spring 2006 Rudimentary NMS Software Components5 Configuring SNMP on Windows NT/2000/XP (continued) Windows 2000/XP Windows 2000/XP If the SNMP Service is already installed: If the SNMP Service is already installed: Double click the Control Panel Administrative Tools icon and select the Services tab Double click the Control Panel Administrative Tools icon and select the Services tab Right click on the SNMP Service and select the Properties option Right click on the SNMP Service and select the Properties option If the SNMP Service is not installed: If the SNMP Service is not installed: Double click the Control Panel icon and select the Add Remove Programs tab Double click the Control Panel icon and select the Add Remove Programs tab Click the Add /Remove Windows Components button and the scroll down to the Management and Monitoring Tools and then click Details Click the Add /Remove Windows Components button and the scroll down to the Management and Monitoring Tools and then click Details Check the box next to Simple Network Management Protocol and click OK Check the box next to Simple Network Management Protocol and click OK

Revised Spring 2006 Rudimentary NMS Software Components6 Setup Required for the Visual C++ Program Supplied software was tested in the following environments Supplied software was tested in the following environments Windows NT Workstation Version 4.00 Build 1381 Service Pack 6a Windows NT Workstation Version 4.00 Build 1381 Service Pack 6a Windows 2000 Version Service Pack 2 Build 2195 Windows 2000 Version Service Pack 2 Build 2195

Revised Spring 2006 Rudimentary NMS Software Components7 Building the Sample Visual C++ SNMP Manager Get.bat – Executes single SNMP GET Get.bat – Executes single SNMP GET Set.bat – Executes single SNMP SET Set.bat – Executes single SNMP SET Walk.bat – Walks a specified agent MIB table Walk.bat – Walks a specified agent MIB table Gettraps.bat – Prepares program for receiving traps Gettraps.bat – Prepares program for receiving traps Getnext.bat – Executes single SNMP getNext Getnext.bat – Executes single SNMP getNext snmpdefs.h – Header file snmpdefs.h – Header file snmpmgr.c – C code snmpmgr.c – C code snmpmgr.exe – Executable snmpmgr.exe – Executable

Revised Spring 2006 Rudimentary NMS Software Components8 Building the Sample Visual C++ SNMP Manager The Source Code Components snmpdefs.h and snmpmgr.c provide the codebase snmpdefs.h and snmpmgr.c provide the codebase snmpdefs.h is comprised of three main sections snmpdefs.h is comprised of three main sections Symbolic constants for SNMP operations Symbolic constants for SNMP operations Global variables Global variables Available function calls Available function calls

Revised Spring 2006 Rudimentary NMS Software Components9 Building the Sample Visual C++ SNMP Manager Structure of the Sample Program Supports the following operations Supports the following operations GET GET GETNEXT GETNEXT SET SET WALK WALK TRAP TRAP

Revised Spring 2006 Rudimentary NMS Software Components10 Using the Rudimentary Management System Basic Architecture

Revised Spring 2006 Rudimentary NMS Software Components11 Using the Rudimentary Management System An SNMP GET

Revised Spring 2006 Rudimentary NMS Software Components12 Using the Rudimentary Management System An SNMP GETNEXT

Revised Spring 2006 Rudimentary NMS Software Components13 Using the Rudimentary Management System An SNMP SET

Revised Spring 2006 Rudimentary NMS Software Components14 Using the Rudimentary Management System An SNMP TRAP

Revised Spring 2006 Rudimentary NMS Software Components15 Using the Rudimentary Management System Combining the Batch Files These batch files can be chained together These batch files can be chained together For example, a SET followed by a GET For example, a SET followed by a GET A real NMS uses this type of logic to create rich sets of functions A real NMS uses this type of logic to create rich sets of functions

Revised Spring 2006 Rudimentary NMS Software Components16 Using the Rudimentary Management System A Security Violation Security is increasingly important in network management Security is increasingly important in network management Two actions a remote agent should take upon receiving an incorrect community string Two actions a remote agent should take upon receiving an incorrect community string Discard the message so that no reply occurs Discard the message so that no reply occurs Emit an authenticationFailure(4) trap Emit an authenticationFailure(4) trap

Revised Spring 2006 Rudimentary NMS Software Components17 Using the Rudimentary Management System Security Failure and Associated Actions

Revised Spring 2006 Rudimentary NMS Software Components18 Using the Rudimentary Management System Security Violations and Retries

Revised Spring 2006 Rudimentary NMS Software Components19 A Note On Security Types of network attacks Types of network attacks Hacking Hacking Denial of Service Denial of Service Message interception Message interception Message modification Message modification Message replay Message replay Protection must be provided at all levels Protection must be provided at all levels

Revised Spring 2006 Rudimentary NMS Software Components20 The Sample JDMK Java SNMP Manager Evaluation copies of JDMK toolkit can be downloaded from Sun Microsystems Evaluation copies of JDMK toolkit can be downloaded from Sun Microsystems The code used for this example implements the following SNMP requests The code used for this example implements the following SNMP requests GetRequest GetRequest GetNext GetNext

Revised Spring 2006 Rudimentary NMS Software Components21 The Sample JDMK Java SNMP Manager Installing JDMK Install the Java Development Kit (JDK). Text example used Java 2 SDK Standard Edition v1.3.1_02 Install the Java Development Kit (JDK). Text example used Java 2 SDK Standard Edition v1.3.1_02 Install JDMK. Text example used JDMK 4.2 for JDK and for Java 2 Platform Install JDMK. Text example used JDMK 4.2 for JDK and for Java 2 Platform Run Setup.bat Run Setup.bat Extracts JDMK class files Extracts JDMK class files jdmk42_nt-12.class jdmk42_nt-12.class jdmk42_nt_11.class jdmk42_nt_11.class

Revised Spring 2006 Rudimentary NMS Software Components22 The Sample JDMK Java SNMP Manager Installing JDMK (continued) Set environment variables. Text examples shown below Set environment variables. Text examples shown below JDMKPATH=C:\Program Files\SUN\Wjdmk\jdmk4.2\1.2 JDMKPATH=C:\Program Files\SUN\Wjdmk\jdmk4.2\1.2 PATH=%JDMKPATH%\bin;C:\jdk1.3.1_02\bin PATH=%JDMKPATH%\bin;C:\jdk1.3.1_02\bin CLASSPATH=%JDMKPATH%\lib\collections.jar; %JDMKPATH%\lib\jdmkrt.jar; %JDMKPATH%\lib\jdmktk.jar; CLASSPATH=%JDMKPATH%\lib\collections.jar; %JDMKPATH%\lib\jdmkrt.jar; %JDMKPATH%\lib\jdmktk.jar; Ensure SNMP agent has two configured community strings Ensure SNMP agent has two configured community strings public (read-only) public (read-only) private (read-write) private (read-write)

Revised Spring 2006 Rudimentary NMS Software Components23 Building the Sample Java Manager mib_II.txt – Contains the definition of the MIB II standard objects mib_II.txt – Contains the definition of the MIB II standard objects SynchronousManager. java – Contains the Java class that sends either and SNMP GET or getNext message SynchronousManager. java – Contains the Java class that sends either and SNMP GET or getNext message Get.bat – Executes single SNMP GET Get.bat – Executes single SNMP GET GetNext.bat – Executes single SNMP getNext GetNext.bat – Executes single SNMP getNext

Revised Spring 2006 Rudimentary NMS Software Components24 Building the Sample Java Manager To Build the Java Program Two commands are required Two commands are required mibgen –mo –d. mib_II.txt mibgen –mo –d. mib_II.txt This builds a file called RFC1213_MIBOidTable.java This builds a file called RFC1213_MIBOidTable.java javac –d. *.java javac –d. *.java Creates the bytecode file SynchronousManager.class Creates the bytecode file SynchronousManager.class

Revised Spring 2006 Rudimentary NMS Software Components25 Building the Sample Java Manager An SNMP GET

Revised Spring 2006 Rudimentary NMS Software Components26 Building the Sample Java Manager An SNMP GETNEXT

Revised Spring 2006 Rudimentary NMS Software Components27 Building the Sample Java Manager The Structure of the Synchronous Manager Simple. All of the code is contained in one file that also contains a Java class Simple. All of the code is contained in one file that also contains a Java class Operation Operation Command line options are validated Command line options are validated Required operation is recorded Required operation is recorded API is prepared for making SNMP calls API is prepared for making SNMP calls SNMP request is executed SNMP request is executed Exceptions are caught in a try/catch block Exceptions are caught in a try/catch block

Revised Spring 2006 Rudimentary NMS Software Components28 Building the Sample Java Manager The Synchronous Manager JDMK API provide synchronous and asynchronous operation JDMK API provide synchronous and asynchronous operation Production standard NMS needs to be asynchronous. It could be synchronous if it used multiple threads Production standard NMS needs to be asynchronous. It could be synchronous if it used multiple threads Book examples are synchronous for simplicity Book examples are synchronous for simplicity

Revised Spring 2006 Rudimentary NMS Software Components29 Building the Sample Java Manager Comparing the Visual C++ and JDMK 4.2 APIs

Revised Spring 2006 Rudimentary NMS Software Components30 Ways to Improve the Two Sample Programs Make operations asynchronous Make operations asynchronous Move parameters off the command line or encrypt them Move parameters off the command line or encrypt them Make the programs independent of MIB object specifications Make the programs independent of MIB object specifications Provide a facility for adding support for new MIBS Provide a facility for adding support for new MIBS

Revised Spring 2006 Rudimentary NMS Software Components31 Ways to Improve the Two Sample Programs (continued) Allow multiple OIDs in one PDU Allow multiple OIDs in one PDU Move all SNMP API code into a separate module or a separate server Move all SNMP API code into a separate module or a separate server Remove global variables Remove global variables Provide a non-debug version of the C++ program Provide a non-debug version of the C++ program

Revised Spring 2006 Rudimentary NMS Software Components32 Ways to Improve the Two Sample Programs (continued) Allow table-based operations Allow table-based operations Provide an external data sourse other than the command line Provide an external data sourse other than the command line Support SNMPv3 Support SNMPv3

Revised Spring 2006 Rudimentary NMS Software Components33 Extending the Sample SNMP Programs Utilize distinct or possibly distributed components Utilize distinct or possibly distributed components Fault server Fault server Configuration server Configuration server Accounting server Accounting server Performance server Performance server Security server Security server Straight-forward to build a complex system once basic agent and management entities are in place Straight-forward to build a complex system once basic agent and management entities are in place

Revised Spring 2006 Rudimentary NMS Software Components34 Selected Bibliography Microsoft Visual C++ Microsoft Visual C++ Link to Microsoft Visual C++ ( Link to Microsoft Visual C++ ( Link to SNMP Builder for C++ ( Link to SNMP Builder for C++ ( Sun Microsystems JDMK Sun Microsystems JDMK Link to Sun Microsystems JDMK ( Link to Sun Microsystems JDMK (

Revised Spring 2006 Rudimentary NMS Software Components35 Summary Two simple programs that interact with Windows NT/2000/XP SNMP agents Two simple programs that interact with Windows NT/2000/XP SNMP agents Visual C++ Visual C++ Java Java SNMP’s process of handling security violations was demonstrated SNMP’s process of handling security violations was demonstrated These programs can be used individually or together as building blocks for more complex systems or a NMS These programs can be used individually or together as building blocks for more complex systems or a NMS

Revised Spring 2006 Rudimentary NMS Software Components 36 CIS 516 (Sec ) Spring 2006 Professor Anvari This presentation was created by Lee Kriebaum as Project #1 for this class.