Simple Network Management Protocol SNMP Agents Jeramie Reese

  • Slides: 11
Download presentation
Simple Network Management Protocol (SNMP) - Agents Jeramie Reese 1 12/6/2004 Jeremie Reese SNMP

Simple Network Management Protocol (SNMP) - Agents Jeramie Reese 1 12/6/2004 Jeremie Reese SNMP

Agenda l l 2 SNMP Components Architecture Creating a SNMP Agent References Jeremie Reese

Agenda l l 2 SNMP Components Architecture Creating a SNMP Agent References Jeremie Reese SNMP 12/6/2004

SNMP Components l Three key components – – – 3 Management Information Base (MIB)

SNMP Components l Three key components – – – 3 Management Information Base (MIB) SNMP Agent Network Management System (NMS) Jeremie Reese SNMP 12/6/2004

SNMP Architecture 4 SNMP Architecture: An SNMP message passes through the protocol layers at

SNMP Architecture 4 SNMP Architecture: An SNMP message passes through the protocol layers at both the manager and agent. Each layer does a specific communication task. 4 Jeremie Reese SNMP 12/6/2004

Layered Communication 5 Network Interface IP IP UDP Application (SNMP) Jeremie Reese SNMP 12/6/2004

Layered Communication 5 Network Interface IP IP UDP Application (SNMP) Jeremie Reese SNMP 12/6/2004

Creating a SNMP Agent l Required Components – – – l 6 MIB Definition

Creating a SNMP Agent l Required Components – – – l 6 MIB Definition File C header file C Implementation file SNMP Development Tools Jeremie Reese SNMP 12/6/2004

Management Information Base (MIB) file • Object Identifier (OID) vs. Naming structure • The

Management Information Base (MIB) file • Object Identifier (OID) vs. Naming structure • The first four numbers of the OBJECT IDENTIFIER are always 1. 3. 6. 1, where: • 1: Intern. Stds Org (ISO) • 3: Org. recognized by ISO • 6: Dept. of Defense (Do. D) • 1: Internet community • Internet Assigned Number Authority (http: //www. iana. org) The branch of the MIB object identifier tree. 5 7 Jeremie Reese SNMP 12/6/2004

SNMP Development Tools l mib 2 c – Generates template code for the agent

SNMP Development Tools l mib 2 c – Generates template code for the agent – – l Additional steps after template code is generated – 8 C header file C implementation file Implement GET and SET request functions Jeremie Reese SNMP 12/6/2004

Lessons Learned l l l Simple Network Management Protocol – Simple? Utilize predefined MIB

Lessons Learned l l l Simple Network Management Protocol – Simple? Utilize predefined MIB files Understand the limitations – – 9 Security concerns Compatibility Jeremie Reese SNMP 12/6/2004

Bibliography 1. 2. 3. 4. 5. 10 Blank-Edelman, N. David. Perl for System Administration.

Bibliography 1. 2. 3. 4. 5. 10 Blank-Edelman, N. David. Perl for System Administration. Cambridege: O’Reilly, 2000. (2) Cisco Systems, Inc. , “Simple Network Management Protocol”, 20 February 2002, <http: //www. cisco. com/univercd/cc/td/doc/cisintwk/ito_doc/snmp. htm#xt ocid 1> (22 November 2004). (3) Cohen, Yoram, “SNMP - Simple Network Management Protocol”, 01 April 1995, < http: //www 2. rad. com/networks/1995/snmp. htm> (22 November 2004). (6) Den. Hartog, Marshall, “SNMP Tutorial: The Fast Track Introduction to SNMP Alarm Monitoring”. DPS Telecom. 27 September 2004. (5) DPS Telecom, “SNMP Tutorial Series: 5 Quick Steps to Understanding SNMP and its Role in Network Alarm Monitoring”, 13 February 2003, <http: //www. dpstele. com/layers/l 2/snmp_tutorials. html> (22 November 2004). (1) Jeremie Reese SNMP 12/6/2004

Bibliography (cont. ) 6. 7. 8. 9. 10. 11 Kozierok, Charles M. , “The

Bibliography (cont. ) 6. 7. 8. 9. 10. 11 Kozierok, Charles M. , “The TCP/IP Guide”, 20 June 2004, < http: //www. tcpipguide. com/free/t_SNMPVersion 1 SNMPv 1 Message. Format. htm> (22 November 2004). Skill. Soft Press, “Using SNMP to Manage Complex Networks”, 03 May 2002, <http: //www. books 24 x 7. com/book/id_4502/toc. asp> (22 November 2004). Steinke, Steve, “Simple Network Management Protocol - SNMP: The most widely adopted standard provides a way for devices and consoles to communicate”, 01 February 1997, <http: //www. networkmagazine. com/article/NMG 20000724 S 0050> (22 November 2004). Window Security, “Network Management Protocol Insecurity: SNMPv 1”, 16 October 2002, < http: //www. secinf. net/misc/Network_Management_Protocol_Insecurity_SNMPv 1 _. html> (22 November 2004). Lake, Craig. Simple Network Management Protocol (SNMP) [online]. Available WWW <URL: http: //www. sei. cmu. edu/str/docs/SNMP. html> (1996). Jeremie Reese SNMP 12/6/2004