Presentation is loading. Please wait.

Presentation is loading. Please wait.

MJ08/07041 Session 08 SNMPv2 Adapted from Network Management: Principles and Practice © Mani Subramanian 2000 and solely used for Network Management course.

Similar presentations


Presentation on theme: "MJ08/07041 Session 08 SNMPv2 Adapted from Network Management: Principles and Practice © Mani Subramanian 2000 and solely used for Network Management course."— Presentation transcript:

1 MJ08/07041 Session 08 SNMPv2 Adapted from Network Management: Principles and Practice © Mani Subramanian 2000 and solely used for Network Management course at Universitas Bina Nusantara

2 MJ08/07042 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

3 MJ08/07043 SNMPv2 Internet Group Objects added to System group Extensive modification of the SNMP group Additional SNMPv2 group added Security group is a placeholder SNMPv2 mgmt (2) directory (1) experimental (3) private (4) Internet {1 3 6 1} security (5) snmpv2 (6)

4 MJ08/07044 SNMPv2 NM Architecture SNMP Manager Application response get-bulk-request get-next-request set-request snmpV2-trap SNMP Manager SNMP UDP IP DLC PHY Physical Medium get-request inform-request SNMP Agent SNMP UDP IP DLC PHY SNMP Agent Application response get-bulk-request get-next-request set-request snmpV2-trap get-request SNMP Manager SNMP UDP IP DLC PHY SNMP Manager Application response get-bulk-request get-next-request set-request snmpV2-trap get-request inform-request SNMP PDU Application PDU Physical Medium Application PDU SNMP PDU

5 MJ08/07045 SNMPv2 New Messages inform-request manager-to-manager message get-bulk-request transfer of large data report not used

6 MJ08/07046 OBJECT OBJECT IDENTIFIER defines the administrative identification of a node in the MIB OBJECT-IDENTITY macro assigns an object identifier to an object identifier in the MIB OBJECT-TYPE macro defines the type of a managed object

7 MJ08/07047 Table Expansion Augmentation of a table (dependent table) adds additional columns to an existing table (base table) Dense table enables addition of more rows to base table Sparse table supplements less rows to a base table

8 MJ08/07048 Textual Convention Enables defining new data types Makes semantics of data types consistent and human readable Creates new data types using existing ones and applies restrictions to them An important textual convention in SNMPv2, RowStatus creates and deletes rows

9 MJ08/07049 Conformance: OBJECT-GROUP Conformance defined by OBJECT-GROUP macro NOTIFICATION-GROUP macro OBJECT-GROUP Compiled during implementation, not at run time OBJECTS clause names each object Every object belongs to an OBJECT-GROUP Access defined by MAX-ACCESS, the maximum access privilege for the object

10 MJ08/070410 Conformance: NOTIFICATION-GROUP Contains trap entities defined in SMIv1 NOTIFICATIONS clause identifies the notifications in the group NOTIFICATIONS-GROUP macro compiled during implementation, not at run time

11 MJ08/070411 Compliance Compliance has two classes of groups MANDATORY- GROUPS (Required) GROUP (Optional)

12 MJ08/070412 Agent Capabilities AGENT-CAPABILITIES macro SUPPORTS modules and includes groups VARIATION identifies additional features

13 MJ08/070413 SNMPv2 MIB mgmt (2 directory (1) experimental (3) private (4) Internet {1 3 6 1} security (5) snmpv2 (6) snmpdomains (1) snmpProxys (2) snmpModules (3) snmpMIB (1) mib-2 (1) system (1) snmp (11) snmpMIBConformance (2) snmpMIBObjects (1)

14 MJ08/070414 SNMPv2 MIB Security is a placeholder System group: A table sysORTable added that lists resources that the agent controls; NMS configures NE through the agents. Most of the objects in the SNMPv1 obsoleted Object Groups and Notification Groups defined for conformance specifications.

15 MJ08/070415 SNMPv2 System Group (RFC 1907) sysDescr (1) system (mib-2 1) sysObjectId (2) sysUpTime (3) sysContact (4) sysORLastChange (8) sysServices (7) sysLocation (6) sysName (5) sysORTable (9) sysOREntry (1) sysORIndex (1) sysORID (2)sysORDescr (3) sysORUpTime (4)

16 MJ08/070416 SNMPv2 System Group (RFC 1907) DescriptionOIDEntity sysORUpTime sysORDescr sysORID sysORIndex sysOREntry sysORTable sysORLastChang e System up-time since the object in this row was last instantiated sysOREntry 5 Textual description of the resource modulesysOREntry 4 ID of the resource modulesysOREntry 3 Row index, also index for the tablesysOREntry 2 An entry in the sysORTablesysORTable 1 Table listing system resources that the agent controls; manager can configure these resources through the agent system 9 sysUpTime value at time of most recent change in state or value of any instance of sysORID. system 8

17 MJ08/070417 SNMPv2 SNMP MIB snmp (mib-2 11) snmpInPkts(1) snmpInBadVersions (3) snmpInBadCommunityNames (4) snmpInBadCommunityUses (5) snmpProxyDrops (32) snmpSilentDrops (31) snmpEnableAuthenTraps (30) snmpInASNParseErrors (6) 1,3,6,30,31,32 snmpGroup 4,5snmpCommunity Group 7,23not used 2,8-23, 24-29snmpObsoleteGroup SNMP Group Objects

18 MJ08/070418 snmpMIBObjects MIB authenticationFailure (5) snmpMIBObjects (snmpMIB 1) snmpSet (6) snmpTraps (5) snmpTrap (4) snmpTrapOID (1) snmpTrapEnterprise (3) coldStart (1) warmStart (2) snmpSetSerialNo (1 ) linkUp (4) linkDown (3)

19 MJ08/070419 SNMPv2 PDU 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 InterpretationStatusIndex varBindList ignored x varBind of index field ignored x x PDU Type RequestID Error Status Error Index VarBind 1 name VarBind 1 value... VarBind n name VarBind n value

20 MJ08/070420 SNMPv2 Error Status

21 MJ08/070421 SNMPv2 PDU FieldTypeValue PDU0Get-Request-PDU 1GetNextRequest-PDU 2Response-PDU 3Set-Request- PDU 4obsolete 5GetBulkRequest-- PDU 6InformRequest- PDU 7SNMPv2 - Trap- PDU

22 MJ08/070422 SNMPv2 GetBulkRequest PDU Error status field replaced by Non-repeaters Error index field replaced by Max repetitions No one-to-one relationship between request and response PDU Type RequestID Non- Repeaters Max Repetitions VarBind 1 name VarBind 1 value... VarBind n name VarBind n value

23 MJ08/070423 SNMPv1 SNMP MIB snmp (mib-2 11) snmpInPkts(1) snmpOutPkts (2) snmpInBadVersions (3) snmpInCommunityNames (4) snmpInBadCommunityUses (5) snmpInASNParseErrors (6) -- not used (7) snmpInTooBigs (8) snmpInNoSuchNames (9) snmpInBadValues (10) snmpInReadOnlys (11) snmpEnableAuthenTraps (30) snmpOutTraps (29) snmpOutGetResponses (28) snmpOutSetRequests (27) snmpOutGetNexts (26) snmpOutGetRequests (25) snmpOutGenErrs (24) -- not used (23) snmpOutBadValues (22) snmpOutNoSuchNames (21) snmpOutTooBigs (20) snmpInGenErrs (12) snmpInTotalReqVars (13) snmpInTotalSetVars (14) snmpInGetRequests (15) snmpInTraps (19) snmpInGetResponses (18) snmpInSetRequests (17) snmpInGetNexts (16)

24 MJ08/070424 SNMPv2 Trap Addition of NOTIFICATION-TYPE macro OBJECTS clause, if present, defines order of variable bindings Positions 1 and 2 in VarBindList are sysUpTime and snmpTrapOID PDU Type RequestID Error Status Error Index VarBind 1 sysUpTime VarBind 1 value... VarBind 2 snmpTrapOID VarBind 2 value

25 MJ08/070425 Inform-Request Inform-Request behaves as trap in that the message goes from one manager to another unsolicited The receiving manager sends response to the sending manager PDU Type RequestID Error Status Error Index VarBind 1 sysUpTime VarBind 1 value... VarBind 2 snmpTrapOID VarBind 2 value

26 MJ08/070426 Bilingual Manager SNMPv1 Agents Bilingual Manager SNMPv1 Interpreter SNMPv2 Interpreter Agent Profile SNMPv2 Agents

27 MJ08/070427 Bilingual Manager Compatibility with SNMPv1 Bilingual Manager Proxy Server Bilingual Manager expensive in resource and operation

28 MJ08/070428 SNMP Proxy Server SNMPv1 Agents SNMPv2 Manager Proxy Server SNMPv2 Agents

29 MJ08/070429 SNMP Proxy Server Pass-Through SNMPv2 ManagerSNMPv1 Agent GetNextRequest GetRequest Pass-Through SetRequest Set: 1. non-repeaters = 0 2. max-repetitions = 0 GetBulkRequest Pass-Through Exception: For 'tooBig' error, contents of variable-bindings field removed. Response Prepend VarBind: 1. sysUpTime.0 2. snmpTrapOID.0 SNMPv2-Trap GetRequest GetResponse GetNextRequest SetRequest GetNextRequest Trap SNMP v2-v1 Proxy Server


Download ppt "MJ08/07041 Session 08 SNMPv2 Adapted from Network Management: Principles and Practice © Mani Subramanian 2000 and solely used for Network Management course."

Similar presentations


Ads by Google