Introduction to SNMP AfNOG 11, Kigali/Rwanda.

Slides:



Advertisements
Similar presentations
CIS : Network Management. Introduction Network, associated resources and distributed applications indispensable Complex systems —More things can.
Advertisements

Dr Alejandra Flores-Mosri Network Monitoring Internet Management & Security 06 Learning outcomes At the end of this session, you should be able to: –Explain.
TCP/IP Protocol Suite 1 Chapter 21 Upon completion you will be able to: Network Management: SNMP Understand the SNMP manager and the SNMP agent Understand.
CSEE W4140 Networking Laboratory Lecture 11: SNMP Jong Yul Kim
CSCE 515: Computer Network Programming Chin-Tser Huang University of South Carolina.
1 SNMP Simple Network Management Protocol. 2 SNMP Overview Define mechanism for remote management of network devices (routers, bridges, etc.) Fundamental.
Dr Alejandra Flores-Mosri Network Monitoring Internet Management & Security 06 Learning outcomes At the end of this session, you should be able to: –Explain.
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
10/26/10 Network Management & Monitoring Introduction to SNMP.
Guide to TCP/IP, Third Edition Chapter 11: Monitoring and Managing IP Networks.
SNMP Terms SNMP Agent (network element to monitor) SNMP Management Station Community String (password) SMI (Structure of Management Info) MIB (Management.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
Ch. 31 Q and A IS 333 Spring 2015 Victor Norman. SNMP, MIBs, and ASN.1 SNMP defines the protocol used to send requests and get responses. MIBs are like.
Ch. 31 Q and A CS332 Spring Network management more than just Ethernet Q: Comer mentions that network managers need to be able to account for different.
SNMP (Simple Network Management Protocol) Jon Sevy Geometric and Intelligent Computing Laboratory Department of Mathematics and Computer Science Drexel.
ENS 1 SNMP M Clements. ENS 2 Simple Network Management Protocol Manages elements in networks – E.g. routers, switches, IP phones, printers etc. Uses manager.
1 Network Management Computer Networks. 2 OSI Network Management Model Performance Management e.g. utilization Fault Management e.g. SNMP traps Configuration.
SNMP and Network Management Simple Network Management Protocol A Standard Protocol for Systems and Network Management.
Chapter 6 Overview Simple Network Management Protocol
McGraw-Hill The McGraw-Hill Companies, Inc., 2000 SNMP Simple Network Management Protocol.
1.  TCP/IP network management model: 1. Management station 2. Management agent 3. „Management information base 4. Network management protocol 2.
SNMP (Simple Network Management Protocol)
Network Protocols UNIT IV – NETWORK MANAGEMENT FUNDAMENTALS.
SNMP ( Simple Network Management Protocol ) based Network Management.
SNMP Simple Network Management Protocol Team: Matrix CMPE-208 Fall 2006.
9/15/2015© 2008 Raymond P. Jefferis IIILect Application Layer.
1 Introduction to Internet Network Management Mi-Jung Choi Dept. of Computer Science KNU
1 © 1999 BMC SOFTWARE, INC. 2/10/00 SNMP Simple Network Management Protocol.
ECE Prof. John A. Copeland Office: Klaus or call.
SNMP and Network Management
SNMP ITL. ITL: © Hans Kruse, Shawn Ostermann, Carl Bruggeman2 Objectives Overview of SNMP SNMP Tools SNMP Monitoring Infrastructure.
Communication and Functional Models
MRTG Speaker: Yan-Shiang Wang Adviser: Quincy Wu Date: 2005/11/23.
BAI513 - PROTOCOLS SNMP BAIST – Network Management.
Networks and Protocols CE Week 9b. SNMP Agenda Looking at Today What is a management protocol and why is it needed Simple Network Management Protocol.
SNMP Simple Network Management Protocol. SNMP and UDP Uses UDP as transport protocol Connectionless Connectionless Port 161 for sending and receiving.
Lec 3: Infrastructure of Network Management Part2 Organized by: Nada Alhirabi NET 311.
These materials are licensed under the Creative Commons Attribution-Noncommercial 3.0 Unported license (
SNMP n Where did it come from ? –Internet Engineering Task Force »Network Management Area –SNMP V1 –MIB definitions –SNMPV2.
CCNA 4 Module 6 Introduction to network Administration.
1 Network Management: SNMP The roots of education are bitter, but the fruit is sweet. - Aristotle.
SNMP Simple Network Management Protocol SNMP Simple Network Management Protocol Haris Ribic.
APRICOT 2008 Network Management Taipei, Taiwan February 20-24, 2008 Introduction to SNMP.
Management Information Base for Version 2 of the Simple Network Management Protocol (MIB for SNMPv2)
Network Management Security
SNMP Simple Network Management Protocol A Standard Protocol for Systems and Network Management.
Network Management  introduction  Internet SNMP: Simple Network Management Protocol  required reading: section 7.3 in text.
Text Overview of SNMP, FTP, Telnet. Text Overview of SNMP.
Ch. 31 Q and A IS 333 Spring 2016 Victor Norman. SNMP, MIBs, and ASN.1 SNMP defines the protocol used to send requests and get responses. MIBs are like.
Lec 3: Infrastructure of Network Management Part2 Organized by: Nada Alhirabi NET 311.
ITL Getting Information: Packet Sniffing Cisco Router Commands SNMP.
Network Management Workshop June 2009 Papeete, French Polynesia
Network Management Security in distributed and remote network management protocols.
or call for office visit, or call Kathy Cheek,
Karl Quinn 23rd November 2004 NDS M.Sc.
14. Network Management System (NMS)
APRICOT 2008 Network Management Taipei, Taiwan February 20-24, 2008
Lec 5: SNMP Network Management
SNMP M Clements ENS.
Network Management Workshop November 2009 Nadi, Fiji
SNMP M Clements ENS.
Network Management Workshop June 2009 Papeete, French Polynesia
Network Management Computer Networks.
Introduction to Internet Network Management
SANOG 10 Workshop August New Delhi, India
SNMP M Clements ENS.
Lec 5: SNMP Network Management
Network Management Workshop intERlab at AIT Thailand March 11-15, 2008
Presentation transcript:

Introduction to SNMP AfNOG 11, Kigali/Rwanda

What is SNMP? SNMP - Simple Network Management Protocol Industry standard protocol to manage network equipment Mostly routers/switches support it, but also PCs, Firewalls and some other equipment Manager (monitoring/management station) communicates with agents (monitored/managed devices) Either manager requests information or changes (GET/SET) --- we focus on GET Or Agent tells manager something happened (TRAP) Management Information Base (MIB) defines variables maintained by the agent

How does SNMP work? Communication on UDP Port 161 (unreliable!) Used mostly for monitoring Interface usage bytes / packets / errors Environmental: Temperature,CPU,Disk Protocols: e.g. OSPF neighbour status Caveat: not everything you can get via other methods, you can also get via SNMP! Tools in this class: Nagios/Cacti use SNMP extensively Variables in MIB are identified by object identifiers (OIDs) Hierarchical naming Standard variables (system/interfaces/etc) and vendor specifics (e.g. Cisco)

Types of packets GetRequest - request information about a certain variable GetNextRequest - get next variable after a certain OID SetRequest - set information of certain variable GetResponse -  response to previous three packets Trap - something happened, this is what (UDP port 162) take care, this is also unreliable authentication via "community" (cleartext password)

MIB tree

OID and MIBs Navigate MIB tree, separated by MIB, each OID has label  e.g. .1.3.6.1.2.1.1.3 is .iso.org.dod.internet.mgmt.mib.system.sysUpTime  translation/more information for tools via MIB files, some come with distribution, vendor extensible -- structure in ASN.1 language When querying there are simple objects (add .0) or tables (e.g. interfaces - Name/IP/byte counter) with indices

Different SNMP versions SNMPv1 - simple authentication (cleartext password), basic commands SNMPv2 - new requests (GETBULK for faster requests, and INFORM for reliable information), new data types (64 bit counters!) and new, complicated security more common v2c, with the old security model SNMPv3 Current IETF standard: adds authentication, privacy, access control You probably want to firewall SNMP at network edges and on the boxes (esp. if you use v1 or v2c)

Let's try this out Unix tools to query SNMP: snmpget snmpstatus snmpwalk snmpset Syntax: snmpxxx -c community -v1 (-v2c) host [oid] (or man snmpget) Example: snmpget -c afnog -v2c 196.200.218.254 interfaces.ifDescr.0 snmpget -c afnog -v2c 196.200.218.254 .1.3.6.1.2.1.2.1.2.2 snmpwalk -c afnog -v2c 196.200.218.248 system

Exercises                                      Exercises