150 likes | 754 Views
Matakuliah : H0372/Manajemen Jaringan Tahun : 2005 Versi : 1/0. Pertemuan 10 Perbedaan antar versi SNMP. Learning Outcomes. Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu : Menjelaskan karakteristik perbedaan v1,v2, dan SNMPv3. Outline Materi. Perbedaan dengan versi 1 dan 2
E N D
Matakuliah : H0372/Manajemen Jaringan Tahun : 2005 Versi : 1/0 Pertemuan 10Perbedaan antar versi SNMP
Learning Outcomes Pada akhir pertemuan ini, diharapkan mahasiswa akan mampu : • Menjelaskan karakteristik perbedaan v1,v2, dan SNMPv3
Outline Materi • Perbedaan dengan versi 1 dan 2 • Security
SNMP v1 • Primitive types • Defined types • Derived types • Constructive types
Major Changes • Bulk data transfer • Manager-to-manager message • Enhancements to SMI: SMIv2 • Module definitions: MODULE-IDENTITY macro • Object definitions: OBJECT-TYPE macro • Trap definitions: NOTIFICATION-TYPE macro • Textual conventions • Conformance statements • Row creation and deletion in table • MIB enhancements • Transport mappings • Security features, originally to be in SNMPv2 moved to SNMPv3 • SNMPv2, like SNMPv1, is community-based administrative framework
SNMP Manager SNMP Agent Application Application get-request snmpV2-trap get-next-request get-bulk-request get-next-request get-bulk-request inform-request snmpV2-trap set-request set-request get-request response response SNMPv2 NM Architecture SNMP Agent SNMP Manager SNMP Manager Application PDU Application PDU SNMP Manager Application get-next-request get-bulk-request inform-request snmpV2-trap set-request get-request response SNMP PDU SNMP PDU SNMP SNMP SNMP UDP UDP UDP IP IP IP DLC DLC DLC PHY PHY PHY Physical Medium Physical Medium
Traps in SNMPv1 • Six generic traps have been defined • Encoded in the SNMP message field between 0-5 • Other specific traps • Generic Trap field in message is 6 • Vendor specific
Traps in SNMPv2 • Traps are defined using • NOTIFICATION-TYPE • Generic traps of snmpv1 have an object id under snmpTraps (a new object in SMIv2) • Each trap has a unique id
SNMPv2 Internet Group Internet {1 3 6 1} directory (2) mgmt (2) experimental (3) private (4) security (5) snmpv2(6) • Objects added to System group • Extensive modification of the SNMP group • Additional SNMPv2 group added • Security group is a placeholder
system (1.3.6.2.1.1) sysDescr (1) sysORLastChange (8) sysServices (7) sysObjectId (2) sysUpTime (3) sysLocation (6) sysORTable (9) sysName (5) sysContact (4) sysOREntry (1) sysORIndex (1) sysORUpTime (4) sysORID (2) sysORDescr (3) SNMPv2 System Group
SNMPv2 PDU PDU Error Error VarBind 1 VarBind 1 VarBind n VarBind n RequestID ... Type Status Index name value name value • Standardized format for all messages • Interpretation of error status and error index fields; in v1, if error occurs status and index field filled, but varBindList blank Interpretation Status Index varBindList ignored x varBind of index field ignored x x
Agent Bilingual Manager Profile SNMPv1 SNMPv2 Interpreter Interpreter SNMPv1 SNMPv2 Agents Agents Bilingual Manager
SNMPv2 Manager Proxy Server SNMPv1 SNMPv2 Agents Agents SNMP Proxy Server
SNMP v2-v1 Proxy Server SNMPv2 Manager SNMPv1 Agent Pass-Through GetRequest GetRequest Pass-Through GetNextRequest GetNextRequest Pass-Through SetRequest SetRequest Set: 1. non-repeaters = 0 GetBulkRequest GetNextRequest 2. max-repetitions = 0 Pass-Through Response Exception: For 'tooBig' error, contents of variable-bindings GetResponse . field removed Prepend VarBind: 1. sysUpTime.0 SNMPv2-Trap Trap 2. snmpTrapOID.0 SNMP Proxy Server