際際滷

際際滷Share a Scribd company logo
Chapter 23 Simple Network Management Protocol (SNMP)
CONTENTS CONCEPT MANAGEMENT COMPONENTS SMI MIB SNMP MESSAGES UDP PORTS SECURITY
CONCEPT 23.1
Figure  23-1 Concept
MANAGEMENT COMPONENTS 23.2
Figure  23-2 Components of network  management on the Internet
SNMP 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.
SMI defines the general rules for naming  objects, defining object types  (including range and length),  and showing how to  encode objects and values.
SMI defines neither the  number of objects an entity  should manage,  nor names the  objects to be managed nor  defines the association between  the objects and their values.
MIB creates a collection of named objects,  their types, and their relationships  to each other in  an entity to be managed.
We can compare the task of network  management to the task of writing  a program. 1. Both tasks need rules. In network    management this is handled by SMI. 2. Both tasks need variable declarations.    In network management this is handled    by MIB. 3. Both tasks have actions performed by    statements.In network management this is    handled by SNMP.
SMI 23.3
Figure  23-3 Object attributes
Figure  23-4 Object  identifier
All objects managed by SNMP  are given an object identifier.  The object identifier always starts  with 1.3.6.1.2.1.
Figure  23-5 Data types
Figure  23-6 Conceptual data types
Figure  23-7 Encoding format
Figure  23-8 Length format
Figure  23-9 Example 1: INTEGER 14
Figure  23-10 Example 2: OCTET STRING HI
Figure  23-11 Example 3: ObjectIdentifier 1.3.6.1
Figure  23-12 Example 4: IPAddress 131.21.14.8
MIB 23.4
Figure  23-13 mib-2
Figure  23-14 udp group
Figure  23-15 udp variables and tables
Figure  23-16 Indexes for udpTable
Figure  23-17 Lexicographic ordering
SNMP 23.5
Figure  23-18 SNMP PDUs
Figure  23-19 SNMP PDU format
MESSAGES 23.6
Figure  23-20 SNMP message
Figure  23-21 GetRequest message
UDP PORTS 23.7
Figure  23-22 Port numbers for SNMP
23.8 SECURITY

More Related Content

Ch23