SNMPv2 MIB and Conformance

Download Report

Transcript SNMPv2 MIB and Conformance

SNMPv2
MIBs and Conformance
SNMPv3
Architecture and Applications
Prof. Choong Seon HONG
Kyung Hee
University
1
Introduction
 Describing SNMPv2 MIB
 Specifying conformance requirements for standardized MIBs
 Enabling vendors to document the scope of their implementation.
 Looking at the interfaces GROUP
Kyung Hee
University
2
13.1 SNMPv2 Management Information Base
 Describes objects that describe the behavior of an SNMPv2 entity
 Consisting of three groups :
System group : an expansion of the original MIB-II system group to
include a collection of objects allowing an SNMPv2 entity acting in an
agent role to describe its dynamically configurable object resources.
SNMP group : a refinement to the original MIB-II snmp group,
consisting of objects providing basic instrumentation of protocol
entity
MIB objects group : a collection of objects that deal with SNMPv2Trap PDUs and that allow several cooperating SNMPv2 entities, all
acting in a manager role, to coordinate their use of the SNMPv2 set
operation
Kyung Hee
University
3
13.1.1 System Group
 New objects have names beginning with the prefix sysOR
 Related to system resources and are used by an SNMPv2 entity
acting in an agent role to describing those resources that it
controls that are subject to dynamic configuration by a manager.
Kyung Hee
University
4
System Group (cont’d)
 Revised system group
• Describing object resources
that the agent controls that are
subject to dynamic configuration
by a manger
system (mib - 2 1)
sysORTable(9)
sysDescr (1)
sysOREntry(1)
sysObjectID(2)
sysORIndex(1)
sysUpTime(3)
sysORID(2)
sysContact(4)
sysORDescr(3)
sysName(5)
sysORUpTime(4)
sysLocation(6)
sysServiecs(7)
sysORLastChange(8)
Kyung
Hee
University
5
System Group (cont’d)
Object
Syntax
SysORLastChange TimeStamp
Description
The value of sysUpTime at the time of the most recent
change in state or value of any instance. of sys ORID
SysORTable
SEQUENCE OF Table of dynamically configurable object resources in an
SysOREntry
SNMPv2 entity actity acting in an agent role
SysOREntry
SEQUENCE
Information on a particular dynamically configurable object
resource
SysORIndex
INTEGER
Integer used as index into sysORTable
SysORID
OBJECT
IDENTIFIER
The Object ID of this entry
SysORDescr
DisplayString
A textual description of the object resource
sysORUpTime
TimeStamp
The value of sysUpTime at the time this row was last
instantiated
Kyung Hee
University
6
13.1.2 SNMP Group
 Contains some basic traffic information of some of the original
objects
snmp (mib - 2 11)
snmpInPkts (1)
snmpInBadVersions(3)
snmpInBadCommunityNames(4)
snmpInBadCommunityUses(5)
snmpInASNParseErrs(6)
snmpEnableAuthenTraps(30)
snmpSilentDrops(31)
snmpProxyDrops(32)
Kyung Hee
University
7
SNMP Group (cont’d)
 All but one of the objects are 32-bit read-only counters in Table
13.2
 The remaining object, SnmpEnableAuthenTraps is a read-write
enumerated integer, with the values enbled(1) and
diasabled(2) that indicates whether the SNMPv2 entity is
permitted to generate authenticationFailure traps
 A comparison with the original MIB II snmp group (Figure 7.7)
shows that the revised group (Figure 13.2) has far fewer
parameters.
Kyung Hee
University
8
13.1.3 MIB Objects Group
 Contains additional objects pertinent to the control of MIB object
snmpMIBObjects (snmpMIB 1)
snmpTrap (4)
snmpTrapOID (1)
snmpTrapEnterprise (3)
snmpSet (6)
snmpSerialNo (1)
Kyung Hee
University
9
13.2 Conformance Statements
 The purpose of the conformance statement is to define a notation
to be used to specify acceptable lower bounds of implementation,
along with the actual level of implementation achieved.
OBJECT-GROUP : indicates those objects in a MIB module that are
part of a conformance group

OBJECT-GROUP macro provides a systematic means for a vendor to
describes its degree of conformance by indicating which groups are
implemented.
NOTIFICATION-GROUP : identifies a collection of notifications

used to define a collection of notifications for conformance purpose
MODULE-COMPLICANCE : defines compliance requirement for an
agent with respect to MIB modules and objects

specifying a minimum set of requirements with respect to the
implementation of one or more MIB modules.
AGENTS-CAPABILITIES : defines the capabilities provided by a
particular agent implementation
Kyung Hee
University
10