Chapter 5:SNMPv1 Network Management: Communication and Functional Models 5.1 The SNMP Communication Model The SNMPv1 communication model defines the specifications of four aspects of SNMP communication: the architecture, the administrative model that defines data access policy,SNMP protocol,and the SNMP MIB.The architecture specifies the management messages between the management system and t the management agents. Security in SNMP is managed by defining community,and only members of the same community can communicate with each other.SNMP entities are grouped into an SNMP MIB module
Chapter 5: SNMPv1 Network Management: Communication and Functional Models 5.1 The SNMP Communication Model The SNMPv1 communication model defines the specifications of four aspects of SNMP communication: the architecture, the administrative model that defines data access policy, SNMP protocol, and the SNMP MIB. The architecture specifies the management messages between the management system and the management agents. Security in SNMP is managed by defining community, and only members of the same community can communicate with each other. SNMP entities are grouped into an SNMP MIB module
Chapter 5:SNMPv1 Network Management: Communication and Functional Models 5.1.1 The SNMP Architecture The SNMP architecture consists of communication between network management stations and managed network elements,or objects.Network elements have built-in management agents if they are managed elements.The SNMP communications protocol is used to communicate information between the network management stations and the management agents in the elements. There are three goals of the architecture in the original specifications of SNMP [RFC 11571
Chapter 5: SNMPv1 Network Management: Communication and Functional Models 5.1.1 The SNMPArchitecture The SNMP architecture consists of communication between network management stations and managed network elements, or objects. Network elements have built-in management agents if they are managed elements. The SNMP communications protocol is used to communicate information between the network management stations and the management agents in the elements. There are three goals of the architecture in the original specifications of SNMP [RFC 1157]
Chapter 5:SNMPv1 Network Management: Communication and Functional Models 5.1.2 The Administrative Model Although the administrative model usually would be discussed as part of security and privacy under the functional model,at this point it helps to understand the administrative relationship among entities that participate in the communication protocol in SNMP. Hence,we'll discuss it now. In RFC 1157 the entities that reside in the management stations and network elements are called SNMP application entities.The peer processes,which implement the SNMP,and thus support the SNMP application entities,are termed protocol entities.We will soon discuss the protocol entities in detail.First, let's look at the application entities
Chapter 5: SNMPv1 Network Management: Communication and Functional Models 5.1.2 The Administrative Model Although the administrative model usually would be discussed as part of security and privacy under the functional model, at this point it helps to understand the administrative relationship among entities that participate in the communication protocol in SNMP. Hence, we'll discuss it now. In RFC 1157 the entities that reside in the management stations and network elements are called SNMP application entities. The peer processes, which implement the SNMP, and thus support the SNMP application entities, are termed protocol entities. We will soon discuss the protocol entities in detail. First, let's look at the application entities
5.1.3 SNMP Protocol Specifications The peer processes,which implement the SNMP,and thus support the SNMP application entities,are called protocol entities.Communication among protocol entities is accomplished using messages encapsulated in UDP datagrams.An SNMP message consists of a version identifier,an SNMP community name,and a protocol data unit (PDU).Figure 5.5 shows the encapsulated SNMP message.The version and community name are added to the data PDU and along with the application header the entire message is passed on to the transport layer as SNMP PDU.The UDP header is added at the transport layer,which then forms the transport PDU for the network layer. Addition of an IP header to the transport PDU forms the network PDU for the data link layer
5.1.3 SNMP Protocol Specifications The peer processes, which implement the SNMP, and thus support the SNMP application entities, are called protocol entities. Communication among protocol entities is accomplished using messages encapsulated in UDP datagrams. An SNMP message consists of a version identifier, an SNMP community name, and a protocol data unit (PDU). Figure 5.5 shows the encapsulated SNMP message. The version and community name are added to the data PDU and along with the application header the entire message is passed on to the transport layer as SNMP PDU. The UDP header is added at the transport layer, which then forms the transport PDU for the network layer. Addition of an IP header to the transport PDU forms the network PDU for the data link layer
SNMP PDU 203001090 Data Appicaion PDU Appicti /ersion Community SNMP PDU Header Transport PDU m o UDP SNMP PDU Header Network PDU Transport PDU Header DLC Data Link PDU Network PDU Header Figure 5.5 Encapsulated SNMP Message
5.1.4 SNMP Operations SNMP operations comprise get and I set messages from manager to agent,and get and trap messages from agent to manager. The GetRequest-PDU Operation.Figure 5.10 shows a sequence of operations in retrieving the values of objects in a System group,It starts with the get- request operation,using a GetRequest-PDU from a manager process to an agent process and the get- response from the agent with a GetResponse-PDU.The message from the manager starts from the left side and ends at the agent process on the right side of the figure. The message from the agent process starts on the right side of the figure and ends at the manager process on the left side of the figure.The sequence of directed messages moves with time as we move down the figure
5.1.4 SNMP Operations SNMP operations comprise get and set messages from manager to agent, and get and trap messages from agent to manager. The GetRequest-PDU Operation. Figure 5.10 shows a sequence of operations in retrieving the values of objects in a System group, It starts with the getrequest operation, using a GetRequest-PDU from a manager process to an agent process and the getresponse from the agent with a GetResponse-PDU. The message from the manager starts from the left side and ends at the agent process on the right side of the figure. The message from the agent process starts on the right side of the figure and ends at the manager process on the left side of the figure. The sequence of directed messages moves with time as we move down the figure
Manager 正b6o5090e1oaz0 Agent Process Process 91 GetRequest(sysDescr.0) GetResponse (sysDescr.0="SunOS") GetRequest(sysObjectID.0) GetResponse(sysObjectID.0=enterprises.11.2.3.10.1.2)- GetRequest(sysUpTime.0) GetResponse(sysUpTime.0-2247349530) GetRequest(sysContact.0) GetResponse(sysContact.0="")- GetRequest(sysName.0) GetResponse (sysName.0="noc1") GetRequest(sysLocation.0)_ GetResponse(sysLocation.0="") GetRequest(sysServices.0) GetResponse(sysServices.0=72) ohera 0g江4 uof om Figure 5.10 The Get-Request Operation for a System Group Gad bar e.2 mu
Agent Manager Process Process GetRequest(sysDescr.0) GetResponse(sysDescr.0="SunOS") GetNextRequest(sysDescr.0) GetResponse(sysObjectID.0=enterprises.11.2.3.10.1.2)- GetNextRequest(sysObjectID.0) .GetResponse(sysUpTime.0=2247349530) -GetNextRequest(sysUpTime.0). GetResponse(sysContact.0="") GetNextRequest(sysContact.0) GetResponse(sysName.0="noc1 " GetNextRequest(sysName.0)- GetResponse(sysLocation.0="")- GetNextRequest(sysLocation.0) GetResponse(sysServices.0=72) GetNextRequest(sysServices.0). GetResponse(noSuchName) Figure 5.11 The Get-Next-Request Operation for a System Group
5.1.5 The SNMP MIB Group Figure 5.21 shows the MIB tree for the SNMP group and Table 5.4 gives the description of the entities.Note that OID 7 and OID 23 are not used. The number of transactions in the description column in the table indicates the ins and outs of the SNMP protocol entity.All entities except snmpEnableAuthenTraps have the syntax,Counter. Implementation of the SNMP group is mandatory. 5.2 Functional Model There are no formal specifications of functions in SNMPv1 management.Application functions are limited,in general,to network management in SNMP and not to the services provided by the network
5.1.5 The SNMP MIB Group Figure 5.21 shows the MIB tree for the SNMP group and Table 5.4 gives the description of the entities. Note that OID 7 and OID 23 are not used. The number of transactions in the description column in the table indicates the ins and outs of the SNMP protocol entity. All entities except snmpEnableAuthenTraps have the syntax, Counter. Implementation of the SNMP group is mandatory. 5.2 Functional Model There are no formal specifications of functions in SNMPv1 management. Application functions are limited, in general, to network management in SNMP and not to the services provided by the network