SNMP Management: Snmpv2
SNMP Management: Snmpv2
SNMPv2
Video Links
› https://www.youtube.com/watch?v=ij8zVzxixLA
(Courtesy: PPT slides)
› https://www.youtube.com/watch?v=9Vx16VqzS8c
(Courtesy: EventheField)
› https://www.youtube.com/watch?v=6JpPtM9NmAg
(Courtesy: NetworkBruh)
2
› SNMPv2 - Major Changes
› SNMPv2 - System Architecture
SNMPV2
› SNMPv2 – SMI
› SNMPv2 – MIB
› SNMPv2 – Protocol Operations
› SNMPv2 – Compatibility with SNMPv1
3
Introduction
› Developed as interim management protocol
› SNMP caught in industry
– Major vendors, incorporated SNMP modules in their network
systems and components
– So, SNMP need further enhancements → SNMPv2
4
Major Changes –
SNMPv2
5
Major Changes in SNMPv2
› Bulk Data Transfer Message
– send & receive bulk data to speed get-next-request process
› Manager to Manager Message
– To increase interoperability between network management systems
› MIB Enhancement
– new 2 subgroups added, security and snmpv2 and many more
› SMIv2
– Textual Conversions: help to define new data types
– Conformance Statements: minimum set of capabilities
› Transport Mapping
– Other transport layer protocol support (previously only UDP) 6
System Architecture –
SNMPv2
7
System Architecture
› Previously five, now seven messages
› Two manager application can communicate on peer level
› Response is now generate by both manager and agent
– By agent, against get, set message
– By manger, against inform-request message for another manager
› Inform-Request, between manager application
– It makes two network management system interoperable
› Get-Bulk Request, generated by manager
– Used to transfer larger amount of data from agent to manager
› Support multiple transport layer protocols (UDP, CLNS)
8
SYSTEM
ARCHITECTURE
9
MIB
ENHANCEMENT
SNMPv2
Security node
10
SMIv2
› It is divided into 3 parts
› Module definitions
– Group of assignments that are related to each other
– Defined by MOUDLE-IDENTITY
› Object definitions
– Used to define managed objects
– Defined by OBJECT-TYPE
› Notification definitions
– Used to inform manager about the event on agent
– Defined by NOTIFICATION-TYPE
11
SMIv2 – Information Module
› An ASN.1 module defining information relating to network
management
› Three kinds of information modules are define
– MIB Modules
– Compliance statement for MIB modules
– Capability statement for agent implementations
› As shown in examples, mandatory groups in implementing
SNMPv2 are snmpGroup, snmpSetGroup, systemGroup, and
snmpBasicNotificationGroup.
› If vendor claims device is SNMPv2 compliant, the
aforementioned groups must be implemented
› SNMP keywords: new altered list from SNMPv1 12
SMIV2 – MODULE
DEFINITION
It provides administrative
information and revision
history regarding the
information module
13
SMIV2 - OBJECT
IDENTITY
DEFINITION
14
SMIV2 - OBJECT
IDENTITY AND
TYPE
15
NOTIFICATION
OBJECT - TYPE
Trap is redefined using
NOTIFICATION-TYPE
It contains the information
generated on an exception
basis
SNMP trap PDU from agent
Inform-Request PDU from a
manager
16
Conformance Statement
› A product is considered to be compliance with a particular
standard, when it meets a minimum set of features in its
implementation
› Object Group: define a group of related objects in MIB
module, and use to define conformance specifications
› Notification Group: It contains notification entities. It is
compiled at implementation phase, not run time phase
› Module Compliance: minimum set of requirement for the
implementation of one or more MIB modules
› Actual MIB modules that are implemented in an agent are
specified by another ASN.1 module, AGENT CAPABILITIES17
SNMP V2 - MIB
18
SNMPv2 –
Protocol Operation
19
All PDUs – except get-bulk-request
› A generic format for all data types except Get-bulk-request
› This improves the efficiency and performance of the system
› It also bring the trap data structure in to common format
20
Get-bulk-request PDU
› To retrieve bulk data from remote entity
› Non-Repeaters: maximum number of non-repetitive scalar
objects
› Max-Repetition:
– Maximum number of instance to return
– Maximum size of SNMP message
– Buffer size in implementation
21
Compatibility with
SNMPv1
22
SNMP Compatible - Bilingual Manager
› Bilingual Manager
– to implement both SNMPv1 and SNMPv2 module in the manager with
the database that has profiles of both agent version
– It will perform the conversion of MIB variables and SNMP protocol
operations in both directions
– Expensive to implement and maintain
23
SNMP Compatible - Proxy Server
› The responses to and responses from, as well as traps from,
SNMPv2 agents are processed by SNMPv2 manager with no
changes.
› Proxy server is implemented as a front end module to the
SNMPv2 manager for communication with SNMPv1 agent
24