Introduction to SNMP

3,459 views
3,197 views

Published on

I gave this presentation 3 times, regarding the demo the first time I used CISCO

packet tracer (simulator) by configuring the router with the SNMP configuration and

adding a community-string then browsing the router elements via an MIB browser from

any pc connected to the router.

the second and third times I made a live demo by using the (pure PERL SNMP library)

and writing a small PERL script using the functions from it and connected my laptop

to the configured router using putty..

pure PERL SNMP library link:
http://code.google.com/p/snmp-session/

0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
3,459
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
204
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Introduction to SNMP

  1. 1. Simple Network Management Protocol (SNMP) Presented by: Mohammed I. Farrah m.farrah.it@gmail.comJan 2, 2012  
  2. 2. What is SNMP? ● It is a set of several protocol definitions for managing networks. ● SNMP uses the concept of manager and agent , which means a manager controls and monitors a set of agents (usually routers).Jan 2, 2012  
  3. 3. SNMP uses two other protocols : 1.Structure of Management Information (SMI): SMI defines the general rules for naming objects, defining object types + (range,length), and showing how to encode objects and values.Jan 2, 2012  
  4. 4. 2.Management Information Base (MIB): MIB creates a collection of named objects, their types, and their relationships to each other in an entity to be managed.Jan 2, 2012  
  5. 5. ● Object Identifier (OID): OID is use by SMI to name or idetify an object based on tree structure. ● All objects managed by SNMP is given an OID. ● In SNMP all OIDs starts with 1.3.6.1.2.1Jan 2, 2012  
  6. 6. Jan 2, 2012  
  7. 7. SNMP Version 1, 2c and 3 ● SNMP Version 1: The oldest and most basic version of SNMP. ● simple to set up , but have limited security & only supports 32bit counters.Jan 2, 2012  
  8. 8. ● SNMP Version 2c: the same but support 64bit counter to monitor bandwidth usage in networks with gigabits/second loads. ● SNMP Version 3: Adds authentication and encryption.Jan 2, 2012  
  9. 9. What is the “SNMP Community String”? ● The “SNMP Community string” is like a user id or password that allows access to a router or other devices statistics. ● It is used just in v1 and v2c. ● SNMPv3 uses username/password authentication, along with an encryption key.Jan 2, 2012  
  10. 10. SNMP packet types ● GetRequest (manager-to-agent) ● SetRequest (manager-to-agent) ● GetNextRequest (manager-to-agent) ● GetBulkRequest (manager-to-agent) ● Response (agent-to-manager) ● Trap (agent-to-manager) ● InformRequest (manager-to-manager)Jan 2, 2012  
  11. 11. DEMOJan 2, 2012  
  12. 12. Question?Jan 2, 2012  
  13. 13. Thanks.. References: [book] data communications and networking,  behrouz a forouzan­fourth edition [chapter 28]Jan 2, 2012  

×