snmp by akhilesh verma

46

Click here to load reader

Upload: akki-verma

Post on 19-May-2015

304 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Snmp by akhilesh verma

Presented By:Akhilesh VermaRoll No-122601

ME (ECE) Regular

SIMPLE NETWORK MANAGEMENT PROTOCOL

Page 2: Snmp by akhilesh verma

INTRODUCTION CONCEPT MANAGEMENT COMPONENTS• SMI• MIB SNMP MESSAGES UDP PORTS APPLICATIONS ADVANTAGES REFERENCES

April 12, 2023 2

CONTENTS

Page 3: Snmp by akhilesh verma

The Simple Network Management Protocol (SNMP) is an application layer protocol used to manage network resources. This standardization gives network administrators the ability to monitor network performance.

Defines the format of packets exchanged between a manager and an agent.

It reads and changes the status (values) of objects(variables) in SNMP packets.

April 12, 2023 3

INTRODUCTION

Page 4: Snmp by akhilesh verma

April 12, 2023 4

fffffffff CONCEPT

AGENT

AGENT VARIABLES

Page 5: Snmp by akhilesh verma

Here is a very simplified picture.

Network manager contact to the agent through TCP/IP protocol.

The agent resides in the managed devices and this agent have some agent variables which should be available to this manger for monitoring.

April 12, 2023 5

CONCEPT

Page 6: Snmp by akhilesh verma

AGENT:

• A router or host that runs the SNMP server program.

• Keep the performance information in a data base.

• Can send a trap to the manager if something unusual occurs.

April 12, 2023 6

v CONCEPT

Page 7: Snmp by akhilesh verma

MANAGER:

• A host that runs the SNMP client program.• Has access to values in the agent database.

April 12, 2023 7

CONCEPT

Page 8: Snmp by akhilesh verma

A manager checks an agent by requesting information that reflects the behaviour of the agent.

A manager forces an agent to perform a task by resetting values in the agent database.

An agent contributes to the management process by warning the manager of an unusual situation

April 12, 2023 8

CONCEPT

Page 9: Snmp by akhilesh verma

MANAGEMENT COMPONENTS

April 12, 2023 9

Page 10: Snmp by akhilesh verma

Management

April 12, 2023 10

MANAGEMENT COMPONENTS

SNMP

SMI MIB

Page 11: Snmp by akhilesh verma

This is the actual SNMP protocol itself.

It defines how information is exchanged between SNMP agents and network management stations.

The SNMP protocol operations define the various SNMP messages and how they are created and used.

April 12, 2023 11

SNMP

Page 12: Snmp by akhilesh verma

SNMP transport mappings describe how SNMP can be used over various underlying internetworks such as TCP/IP,IPX and others.

It simply an application program that has a client on the manager and a server on the agent.

April 12, 2023 12

SNMP

Page 13: Snmp by akhilesh verma

STRUCTURE OF MANAGEMENT INFORMATION

April 12, 2023 13

Page 14: Snmp by akhilesh verma

SMI defines the general rules for naming objects, defining object type (including range and length), showing how to encode object and values.

SMI does not define the number of objects, an entity should manage or name the objects to be managed or define the association between the objects and their values.

April 12, 2023 14

SMI

Page 15: Snmp by akhilesh verma

To name objects.

To define the type of data that can be stored in the object.

To show how to encode the data for transmission.

April 12, 2023 15

SMI FUNCTION

Page 16: Snmp by akhilesh verma

MANAGEMENT INFORMATION BASES

April 12, 2023 16

Page 17: Snmp by akhilesh verma

Creates a collection of named objects, their types, and their relationships to each other in an entity to be managed.

April 12, 2023 17

MIB

Page 18: Snmp by akhilesh verma

April 12, 2023 18

OBJECT ATTRIBUTES

Page 19: Snmp by akhilesh verma

April 12, 2023 19

OBJECT IDENTIFIER

Page 20: Snmp by akhilesh verma

All objects managed by SNMP are given an object identifier.

The object identifier always starts with 1.3.6.1.2.1.

April 12, 2023 20

OBJECT IDENTIFIER

Page 21: Snmp by akhilesh verma

April 12, 2023 21

DATA TYPE

Page 22: Snmp by akhilesh verma

Integer32

Unsigned32

Counter32

Counter64

Gauage32

April 12, 2023 22

SIMPLE TYPE

Page 23: Snmp by akhilesh verma

April 12, 2023 23

CODES FOR DATA TYPE

Page 24: Snmp by akhilesh verma

Sequence (like structure)• Combination of simple data types,not of

same type.

Sequence of (like array)• Combination of simple data types all of

same type.

April 12, 2023 24

STRUCTURED DATA TYPE

Page 25: Snmp by akhilesh verma

April 12, 2023 25

CONCEPTUAL DATA TYPES

Page 26: Snmp by akhilesh verma

April 12, 2023 26

ENCODING FORMAT

Page 27: Snmp by akhilesh verma

April 12, 2023 27

HOW TO DEFINE INTEGER -14

Page 28: Snmp by akhilesh verma

April 12, 2023 28

HOW TO DEFINE OBJECT IDENTIFIER

1.3.6.1(iso.org.dod.internet)

Page 29: Snmp by akhilesh verma

April 12, 2023 29

HOW TO DEFINE IP ADDRESS 131.21.14.8

Page 30: Snmp by akhilesh verma

Sequence (like array)

April 12, 2023 30

MIB2

Page 31: Snmp by akhilesh verma

April 12, 2023 31

UDP GROUP

Page 32: Snmp by akhilesh verma

April 12, 2023 32

UDP VARIABLE AND TABLES

Page 33: Snmp by akhilesh verma

April 12, 2023 33

INDEXES FOR UDP TABLE

Page 34: Snmp by akhilesh verma

April 12, 2023 34

LEXICOGRAPHIC ORDERING

Page 35: Snmp by akhilesh verma

Five messages of SNMP

1.Get Request ->Sent by manager requesting specific

data from agent

2.Get Next Request ->Retrieves the next value of the next

lexical MIB variable.

3.Get Response ->Agent respond with data for get and set

requests from the manager. April 12, 2023 35

SNMP MESSAGES

Page 36: Snmp by akhilesh verma

4.Set Request->Initializes or changes the value of

network element

5.Trap->Alarm generated by an agent

April 12, 2023 36

SNMP MESSAGES

Page 37: Snmp by akhilesh verma

April 12, 2023 37

TYPES OF ERRORS

Page 38: Snmp by akhilesh verma

• Traps are unrequested event reports that are sent to a management system by an SNMP agent process

• When a trappable event occurs, a trap message is generated by the agent and is sent to a trap destination (a specific, configured network address)

• Many events can be configured to signal a trap, like a network cable fault, failing Hard Drive, a “General Protection Fault”, or a power supply failure

April 12, 2023 38

WHAT IS TRAP

Page 39: Snmp by akhilesh verma

• Traps can also be throttled -- You can limit the number of traps sent per second from the agent

• Traps have a priority associated with them -- Critical, Major, Minor, Warning, Marginal, Informational, Normal, Unknown

April 12, 2023 39

WHAT IS TRAP

Page 40: Snmp by akhilesh verma

(0).coldStart -agent has been booted

(1).warmStart -agent has been rebooted

(2).linkDown -interface has gone down

(3).Linkup -interface has come up

April 12, 2023 40

TRAP TYPES

Page 41: Snmp by akhilesh verma

4.authenticationFailure -invalid community

5.egpNeighbourLoss -router has gone to down state

6.enterpriseSpecific -other messages

April 12, 2023 41

TRAP TYPES

Page 42: Snmp by akhilesh verma

April 12, 2023 42

PORTS NUMBERS FOR SNMP

Page 43: Snmp by akhilesh verma

April 12, 2023 43

COMMERCIAL SNMP APPLICATIONS

Here are some of the various SNMP Management products available today

• http://www.hp.com/go/openview/ HP OpenView

• http://www.tivoli.com/ IBM NetView

• http://www.novell.com/products/managewise/ Novell ManageWise

• http://www.sun.com/solstice/ Sun MicroSystems Solstice

• http://www.microsoft.com/smsmgmt/ Microsoft SMS Server

• http://www.compaq.com/products/servers/management/ Compaq Insight Manger

• http://www.redpt.com/ SnmpQL - ODBC Compliant

• http://www.empiretech.com/ Empire Technologies

• ftp://ftp.cinco.com/users/cinco/demo/ Cinco Networks NetXray

• http://www.netinst.com/html/snmp.html SNMP Collector (Win9X/NT)

• http://www.netinst.com/html/Observer.html Observer

• http://www.gordian.com/products_technologies/snmp.html Gordian’s SNMP Agent

• http://www.castlerock.com/ Castle Rock Computing

• http://www.adventnet.com/ Advent Network Management

• http://www.smplsft.com/ SimpleAgent, SimpleTester

Page 44: Snmp by akhilesh verma

Standardized

Universally supported

Extendible

Portable

Allows distributed management access

Light weight protocolApril 12, 2023 44

ADVANTAGES OF USING SNMP

Page 45: Snmp by akhilesh verma

TCP/IP protocol suite by Behrouz A. Forouzan.

Internetworking with TCP/IP,principles,protocols and architectures by Douglas E. Comer.

Network management principles and practices by mani Subhramanian.

http://en.wikipedia.org/wiki/Simple_Network_Management_Protocol

http://www.erlang.org/doc/apps/snmp/snmp.pdf

http://www.hit.bme.hu/~jakab/edu/litr/SNMP/snmp_basics.pdf

April 12, 2023 45

REFERENCES

Page 46: Snmp by akhilesh verma