ch23

38
McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000 Chapter 23 Simple Network Management Protocol (SNMP)

Upload: tejindershami

Post on 13-Dec-2014

215 views

Category:

Technology


3 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Chapter 23

Simple NetworkManagement Protocol

(SNMP)

Page 2: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

CONTENTSCONTENTS• CONCEPT• MANAGEMENT COMPONENTS• SMI• MIB• SNMP• MESSAGES• UDP PORTS• SECURITY

Page 3: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

CONCEPT

23.123.1

Page 4: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-1

Concept

Page 5: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

MANAGEMENTCOMPONENTS

23.223.2

Page 6: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-2

Components of network management on the Internet

Page 7: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

SNMP defines the format of packets SNMP defines the format of packets exchanged between a manager and exchanged between a manager and

an agent. an agent. It reads and changes the status It reads and changes the status (values) of objects (variables) in (values) of objects (variables) in

SNMP packets.SNMP packets.

Page 8: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

SMI defines the general rules for naming SMI defines the general rules for naming objects, defining object types objects, defining object types (including range and length), (including range and length),

and showing how to and showing how to encode objects and values. encode objects and values.

Page 9: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

SMI defines neither the SMI defines neither the number of objects an entity number of objects an entity

should manage, should manage, nor names the nor names the

objects to be managed nor objects to be managed nor defines the association between defines the association between

the objects and their values.the objects and their values.

Page 10: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

MIB creates a collection of named objects, MIB creates a collection of named objects, their types, and their relationships their types, and their relationships

to each other in to each other in an entity to be managed. an entity to be managed.

Page 11: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

We can compare the task of network We can compare the task of network management to the task of writing management to the task of writing a program.a program.1. Both tasks need rules. In network 1. Both tasks need rules. In network management this is handled by SMI. management this is handled by SMI.2. Both tasks need variable declarations. 2. Both tasks need variable declarations. In network management this is handled In network management this is handled by MIB. by MIB.3. Both tasks have actions performed by 3. Both tasks have actions performed by statements.In network management this is statements.In network management this is handled by SNMP. handled by SNMP.

Page 12: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

SMI

23.323.3

Page 13: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-3

Object attributes

Page 14: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-4

Object identifier

Page 15: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

All objects managed by SNMP All objects managed by SNMP are given an object identifier. are given an object identifier.

The object identifier always starts The object identifier always starts with 1.3.6.1.2.1.with 1.3.6.1.2.1.

Page 16: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-5

Data types

Page 17: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-6

Conceptual data types

Page 18: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-7

Encoding format

Page 19: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-8

Length format

Page 20: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-9

Example 1: INTEGER 14

Page 21: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-10

Example 2: OCTET STRING “HI”

Page 22: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-11

Example 3: ObjectIdentifier 1.3.6.1

Page 23: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-12

Example 4: IPAddress 131.21.14.8

Page 24: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

MIB

23.423.4

Page 25: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-13

mib-2

Page 26: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-14

udp group

Page 27: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-15 udp variables and tables

Page 28: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-16

Indexes for udpTable

Page 29: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-17

Lexicographic ordering

Page 30: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

SNMP

23.523.5

Page 31: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-18SNMP PDUs

Page 32: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-19

SNMP PDU format

Page 33: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

MESSAGES

23.623.6

Page 34: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-20

SNMPmessage

Page 35: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-21

GetRequestmessage

Page 36: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

UDPPORTS

23.723.7

Page 37: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

Figure 23-22

Port numbers for SNMP

Page 38: Ch23

McGraw-Hill ©The McGraw-Hill Companies, Inc., 2000

23.823.8

SECURITY