3 - SNMPv1
3 - SNMPv1
3 - SNMPv1
RANIA AZAD
DEPARTMENT OF COMPUTER NETWORK
TECHNICAL COLLEGE OF INFORMATICS
SULAIMANI POLYTECHNIC UNIVERSITY
RANIA.AZAD@SPU.EDU.IQ
¡ SNMP community
Network Network
Element Element
Multiple SNMP managers communicating with a single SNMP agent or one Manager communicate with
Multiple Agents
SNMP COMMUNITY
¡ SNMP Entities:
• SNMP application entities
- Reside in management stations and network elements (Manager
and agent)
Community 1
Community Profile 1
Agent 1
Community Profile 2 Agent 2
Manager 3
(Community 1, Community 2)
Community 2
Community Profile 3
Agent 3
Community Profile 4 Agent 4
Manager 2
(Community 2)
PROTOCOL ENTITIES
¡ SNMPv1 = 0
¡ Community String
¡ Protocol Data Unit: the body of the message.
¡ PDU type
¡ Is an integer value that indicates the PDU type (message
type)
¡ Request ID:
¡ Unique ID/number of each request.
¡ track a message and indicate loss of a message (using
timeout)
¡ Match a request and the corresponding response.
ERROR-STATUS AND ERROR-INDEX
¡ error-status:
¡ indicate the type of error
¡ Always zero in a request
¡ error-index
¡ indicate the first variable with
error (position of the first
error in the list of variables)
¡ If there are more than one error
in the variable-bindings?
¡ Only the first error is indicated.
VARIABLE BINDING
var-bind 1 var-bind 2 var-bind n
name value name value ... name value
¡ Variable bindings
¡ A set of Object name-value
¡ Object Name: The numeric OID of the MIB object
¡ Object Value:
¡ Get Request: empty value
¡ Set Request : the value of the object is placed
¡ Adv: one request to get all values in one response listing all values
SNMPV1 TRAP PDU
¡ PDU Type = 4
¡ Enterprise
¡ Indicate the source of the trap (sysObjectID)
¡ Agent address
¡ Indicate the IP address of a trap source.
¡ Generic trap:
¡ Indicates the type of the trap : 7 types.
¡ Specific trap
¡ Enterprise specific trap.
¡ Time stamp:
¡ Elapsed time since last re-initialization
¡ Time elapsed between the last initialization of the network entity and the generation of the trap.
TRAP TYPE