SlideShare a Scribd company logo
1 of 17
SNMP
Simple Network Management
Protocol
Shahrukh ali khan
fa12-btn-020
What is Network
Management?
Basic tasks that fall under this category are:
•Fault Management
•Dealing with problems and emergencies in the network
(router stops routing, server loses power, etc.)
•Performance Management
•How smoothly is the network running?
•Can it handle the workload it currently has?
•Configuration Management
•Keeping track of device settings and how they function
Network Management must be...
The management interface must be
The management mechanism must be
•Standardized
•Extendible
•Portable
•Inexpensive
•Implemented as software only
Versions
•Two major versions SNMPv1, SNMPv2
•SNMPv1 is the recommended standard
•SNMPv2 has become split into:
•SNMPv2u - SNMPv2 with user-based security
•SNMPv2* - SNMPv2 with user-based security and additional features
•SNMPv2c - SNMPv2 without security
What is SNMP?
• SNMP is a tool (protocol) that allows for remote
and local management of items on the network
including servers, workstations, routers, switches
and other managed devices.
• Comprised of agents and managers
•Agent - process running on each managed node collecting
information about the device it is running on.
•Manager - process running on a management workstation that
requests information about devices on the network.
Advantages of
using SNMP
• Standardized
• universally supported
• extendible
• portable
• allows distributed management access
• lightweight protocol
Client Pull &
Server Push
• SNMP is a “client pull” model
• SNMP is a “server push” model
The management system (client) “pulls” data from
the agent (server).
The agent (server) “pushes” out a trap message to a
(client) management system
Ports & UDP
•SNMP uses User Datagram Protocol (UDP) as the
transport mechanism for SNMP messages
•UDP Port 161 - SNMP Messages
•UDP Port 162 - SNMP Trap Messages
•Like FTP, SNMP uses two well-known ports to operate:
Ethernet
Frame IP
Packet
UDP
Datagram
SNMP Message
CRC
The Three Parts
of SNMP
SNMP network management is based on three parts:
•Structure of Management Information (SMI)
•Rules specifying the format used to define objects managed
on the network that the SNMP protocol accesses
•Management Information Base (MIB)
•A map of the hierarchical order of all managed objects and
how they are accessed
•SNMP Protocol
•Defines format of messages exchanged by management
systems and agents.
•Specifies the Get, GetNext, Set, and Trap operations
Nodes
Items in an SNMP Network are called nodes. There are
different types of nodes.
•Managed nodes
•Management nodes
•Nodes that are not manageable by SNMP
Typically runs an agent process that services requests from a management node
Typically a workstation running some network management & monitoring software
A node may not support SNMP, but may be manageable by SNMP through a proxy
agent running on another machine
Community
Names
Community names are used to define where an SNMP
message is destined for.
They mirror the same concept as a Windows NT or Unix
domain.
•Set up your agents to belong to certain communities.
•Set up your management applications to monitor and
receive traps from certain community names.
SNMP Agents
Two basic designs of agents
•Extendible Agents
•Monolithic Agents
•not extendible
•optimized for specific hardware platform and OS
•this optimization results in less overhead (memory and system resources)
and quicker execution
•Open, modular design allows for adaptations to new
management data and operational requirements
Languages of
SNMP
•Structure of Management Information (SMI)
•Abstract Syntax Notation One (ASN.1)
•Basic Encoding Rules (BER)
specifies the format used for defining managed objects that are
accessed via the SNMP protocol
used to define the format of SNMP messages and managed
objects (MIB modules) using an unambiguous data description
format
used to encode the SNMP messages into a format suitable for
transmission across a network
SMIv1
Structure of Management Information
SMIv1 is described in RFCs 1155, 1212, 1215
These RFCs describe:
•How MIB modules are defined with CCITT X.208 ASN.1 data description
language
•The subset of the ASN.1 language that is used in MIBs
•The addition of the APPLICATION data type to ASN.1, specifically for use
with SNMP MIBs
•All ASN.1 constructs are serialized using the CCITT X.209 BER for
transmission across the wire
•definition of the high-level structure of the Internet branch
(iso(1).org(3).dod(6).internet(1)) of the MIB naming tree
•the definition and description of an SNMP managed object
SMIv2
Structure of Management Information
SMIv2 is described in RFCs 1442, 1443, 1444
These RFCs describe:
•SMIv2 is a backward compatible update to SMIv1
•The only exception is the Counter64 type defined by SMIv2
•Counter64 cannot be created in SMIv2
•RFC 2089 defines how bilingual (SMIv1 & SMIv2) agents handle the
Counter64 data type
•IETF requires that new and revised RFCs specify MIB modules using SMIv2
Basic Message Format
Message Length
Message Version
Community String
PDU Header
PDU Body
Message Preamble
SNMP Protocol
Data Unit
Message Length
Message Version
Community String
PDU Type
PDU Length
Request ID
Error Status
Error Index
Length of Variable Bindings
Length of First Binding
Additional Variable Bindings
OID of First Binding
Type of First Binding
Value of First Binding
Length of Second Binding
OID of Second Binding
Type of Second Binding
Value of Second Binding
Message Length
Message Version
Community String
PDU Type
PDU Length
Enterprises MIB OID
Agent IP Address
Standard Trap Type
Length of Variable Bindings
Length of First Binding
Additional Variable Bindings
OID of First Binding
Type of First Binding
Value of First Binding
Length of Second Binding
OID of Second Binding
Type of Second Binding
Value of Second Binding
Specific Trap Type
Time Stamp
PDU
Body
SNMP
Message
Preamble
PDU
Header
SNMP Message Formats

More Related Content

What's hot (20)

SNMP
SNMPSNMP
SNMP
 
Network Management System and Protocol
Network Management System and Protocol Network Management System and Protocol
Network Management System and Protocol
 
Introduction to SNMP
Introduction to SNMPIntroduction to SNMP
Introduction to SNMP
 
Protocol snmp
Protocol snmpProtocol snmp
Protocol snmp
 
Network management
Network managementNetwork management
Network management
 
IP Multicasting
IP MulticastingIP Multicasting
IP Multicasting
 
CS6551 COMPUTER NETWORKS
CS6551 COMPUTER NETWORKSCS6551 COMPUTER NETWORKS
CS6551 COMPUTER NETWORKS
 
Frame Relay
Frame RelayFrame Relay
Frame Relay
 
Ieee 802.11 wireless lan
Ieee 802.11 wireless lanIeee 802.11 wireless lan
Ieee 802.11 wireless lan
 
Tcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport LayerTcp Udp Icmp And The Transport Layer
Tcp Udp Icmp And The Transport Layer
 
Types Of Firewall Security
Types Of Firewall SecurityTypes Of Firewall Security
Types Of Firewall Security
 
Introduction to Software Defined Networking (SDN)
Introduction to Software Defined Networking (SDN)Introduction to Software Defined Networking (SDN)
Introduction to Software Defined Networking (SDN)
 
Configuration DHCP
Configuration DHCPConfiguration DHCP
Configuration DHCP
 
Mobile ad hoc networks (MANET) for KTU
Mobile ad hoc networks (MANET) for KTUMobile ad hoc networks (MANET) for KTU
Mobile ad hoc networks (MANET) for KTU
 
Quality of Service
Quality of ServiceQuality of Service
Quality of Service
 
Vlan
Vlan Vlan
Vlan
 
Distance Vector Routing Protocols
Distance Vector Routing ProtocolsDistance Vector Routing Protocols
Distance Vector Routing Protocols
 
Types of firewall
Types of firewallTypes of firewall
Types of firewall
 
TCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureTCP/IP Protocol Architeture
TCP/IP Protocol Architeture
 
ICMP
ICMPICMP
ICMP
 

Similar to SNMP Protocol Explained

Functional Areas of Network Management Configuration Management
Functional Areas of Network Management Configuration ManagementFunctional Areas of Network Management Configuration Management
Functional Areas of Network Management Configuration Managementjeronimored
 
(Snmp) simple network management protocol
(Snmp)   simple network management protocol(Snmp)   simple network management protocol
(Snmp) simple network management protocolGouasmia Zakaria
 
Snmp chapter7
Snmp chapter7Snmp chapter7
Snmp chapter7jignash
 
14 coms 525 tcpip - applications - snmp
14    coms 525 tcpip - applications - snmp14    coms 525 tcpip - applications - snmp
14 coms 525 tcpip - applications - snmpPalanivel Kuppusamy
 
5-network-management-protocol.pptx
5-network-management-protocol.pptx5-network-management-protocol.pptx
5-network-management-protocol.pptxAhmedAlRasheed18
 
Management Tools Desirable features Management Architectures Simple Network ...
Management Tools  Desirable features Management Architectures Simple Network ...Management Tools  Desirable features Management Architectures Simple Network ...
Management Tools Desirable features Management Architectures Simple Network ...jeronimored
 
Simple Network Management Protocol
Simple Network Management ProtocolSimple Network Management Protocol
Simple Network Management ProtocolAnupomShill
 
unit5NtwManagement.ppt
unit5NtwManagement.pptunit5NtwManagement.ppt
unit5NtwManagement.pptRevathiMohan14
 
Tij3103 topic02 architectures
Tij3103 topic02 architecturesTij3103 topic02 architectures
Tij3103 topic02 architecturesnakomuri
 
Simple network management protocol
Simple network management protocolSimple network management protocol
Simple network management protocolni35540
 
009694598.pdf
009694598.pdf009694598.pdf
009694598.pdfEidTahir
 
Simple Network Management Protocol
Simple Network Management ProtocolSimple Network Management Protocol
Simple Network Management ProtocolDemented Naag
 
Configuration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentConfiguration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentBharaniDharan195623
 
group presentation
group presentationgroup presentation
group presentations1120099
 

Similar to SNMP Protocol Explained (20)

Functional Areas of Network Management Configuration Management
Functional Areas of Network Management Configuration ManagementFunctional Areas of Network Management Configuration Management
Functional Areas of Network Management Configuration Management
 
(Snmp) simple network management protocol
(Snmp)   simple network management protocol(Snmp)   simple network management protocol
(Snmp) simple network management protocol
 
Snmp chapter7
Snmp chapter7Snmp chapter7
Snmp chapter7
 
14 coms 525 tcpip - applications - snmp
14    coms 525 tcpip - applications - snmp14    coms 525 tcpip - applications - snmp
14 coms 525 tcpip - applications - snmp
 
5-network-management-protocol.pptx
5-network-management-protocol.pptx5-network-management-protocol.pptx
5-network-management-protocol.pptx
 
Management Tools Desirable features Management Architectures Simple Network ...
Management Tools  Desirable features Management Architectures Simple Network ...Management Tools  Desirable features Management Architectures Simple Network ...
Management Tools Desirable features Management Architectures Simple Network ...
 
Simple Network Management Protocol
Simple Network Management ProtocolSimple Network Management Protocol
Simple Network Management Protocol
 
unit5NtwManagement.ppt
unit5NtwManagement.pptunit5NtwManagement.ppt
unit5NtwManagement.ppt
 
YANG (哪)
YANG (哪)YANG (哪)
YANG (哪)
 
Tij3103 topic02 architectures
Tij3103 topic02 architecturesTij3103 topic02 architectures
Tij3103 topic02 architectures
 
All about snmp
All about snmpAll about snmp
All about snmp
 
Simple network management protocol
Simple network management protocolSimple network management protocol
Simple network management protocol
 
009694598.pdf
009694598.pdf009694598.pdf
009694598.pdf
 
Snmp
SnmpSnmp
Snmp
 
Simple Network Management Protocol
Simple Network Management ProtocolSimple Network Management Protocol
Simple Network Management Protocol
 
Configuration of IoT devices - Systems managament
Configuration of IoT devices - Systems managamentConfiguration of IoT devices - Systems managament
Configuration of IoT devices - Systems managament
 
group G
group Ggroup G
group G
 
a
aa
a
 
SNMP
SNMPSNMP
SNMP
 
group presentation
group presentationgroup presentation
group presentation
 

More from Shahrukh Ali Khan

Biggest loser-1-week-diet-plan
Biggest loser-1-week-diet-planBiggest loser-1-week-diet-plan
Biggest loser-1-week-diet-planShahrukh Ali Khan
 
30 day-meal-plan-for-weigh-loss
30 day-meal-plan-for-weigh-loss30 day-meal-plan-for-weigh-loss
30 day-meal-plan-for-weigh-lossShahrukh Ali Khan
 
50 ways to lose weight by Colin Stuckert – aGymLife.com
50 ways to lose weight by Colin Stuckert – aGymLife.com50 ways to lose weight by Colin Stuckert – aGymLife.com
50 ways to lose weight by Colin Stuckert – aGymLife.comShahrukh Ali Khan
 
Five essential elements of a mystery
Five essential elements of a mysteryFive essential elements of a mystery
Five essential elements of a mysteryShahrukh Ali Khan
 
Reliable multimedia transmission under noisy condition
Reliable multimedia transmission under noisy conditionReliable multimedia transmission under noisy condition
Reliable multimedia transmission under noisy conditionShahrukh Ali Khan
 

More from Shahrukh Ali Khan (8)

Biggest loser-1-week-diet-plan
Biggest loser-1-week-diet-planBiggest loser-1-week-diet-plan
Biggest loser-1-week-diet-plan
 
30 day-meal-plan-for-weigh-loss
30 day-meal-plan-for-weigh-loss30 day-meal-plan-for-weigh-loss
30 day-meal-plan-for-weigh-loss
 
50 ways to lose weight by Colin Stuckert – aGymLife.com
50 ways to lose weight by Colin Stuckert – aGymLife.com50 ways to lose weight by Colin Stuckert – aGymLife.com
50 ways to lose weight by Colin Stuckert – aGymLife.com
 
Five essential elements of a mystery
Five essential elements of a mysteryFive essential elements of a mystery
Five essential elements of a mystery
 
how to lose weight fast
how to lose weight fasthow to lose weight fast
how to lose weight fast
 
JavaScript for beginners
JavaScript for beginners JavaScript for beginners
JavaScript for beginners
 
SNMP vs CMIP
SNMP vs CMIPSNMP vs CMIP
SNMP vs CMIP
 
Reliable multimedia transmission under noisy condition
Reliable multimedia transmission under noisy conditionReliable multimedia transmission under noisy condition
Reliable multimedia transmission under noisy condition
 

Recently uploaded

Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AIabhishek36461
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)dollysharma2066
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxPoojaBan
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...Chandu841456
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .Satyam Kumar
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIkoyaldeepu123
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxk795866
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture designssuser87fa0c1
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfme23b1001
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidNikhilNagaraju
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort servicejennyeacort
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage examplePragyanshuParadkar1
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVRajaP95
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerAnamika Sarkar
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvLewisJB
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile servicerehmti665
 

Recently uploaded (20)

Past, Present and Future of Generative AI
Past, Present and Future of Generative AIPast, Present and Future of Generative AI
Past, Present and Future of Generative AI
 
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
Call Us ≽ 8377877756 ≼ Call Girls In Shastri Nagar (Delhi)
 
Heart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptxHeart Disease Prediction using machine learning.pptx
Heart Disease Prediction using machine learning.pptx
 
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
9953056974 Call Girls In South Ex, Escorts (Delhi) NCR.pdf
 
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Serviceyoung call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
young call girls in Rajiv Chowk🔝 9953056974 🔝 Delhi escort Service
 
POWER SYSTEMS-1 Complete notes examples
POWER SYSTEMS-1 Complete notes  examplesPOWER SYSTEMS-1 Complete notes  examples
POWER SYSTEMS-1 Complete notes examples
 
An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...An experimental study in using natural admixture as an alternative for chemic...
An experimental study in using natural admixture as an alternative for chemic...
 
Churning of Butter, Factors affecting .
Churning of Butter, Factors affecting  .Churning of Butter, Factors affecting  .
Churning of Butter, Factors affecting .
 
EduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AIEduAI - E learning Platform integrated with AI
EduAI - E learning Platform integrated with AI
 
Introduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptxIntroduction-To-Agricultural-Surveillance-Rover.pptx
Introduction-To-Agricultural-Surveillance-Rover.pptx
 
pipeline in computer architecture design
pipeline in computer architecture  designpipeline in computer architecture  design
pipeline in computer architecture design
 
Electronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdfElectronically Controlled suspensions system .pdf
Electronically Controlled suspensions system .pdf
 
Design and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdfDesign and analysis of solar grass cutter.pdf
Design and analysis of solar grass cutter.pdf
 
main PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfidmain PPT.pptx of girls hostel security using rfid
main PPT.pptx of girls hostel security using rfid
 
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort serviceGurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
Gurgaon ✡️9711147426✨Call In girls Gurgaon Sector 51 escort service
 
DATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage exampleDATA ANALYTICS PPT definition usage example
DATA ANALYTICS PPT definition usage example
 
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IVHARMONY IN THE NATURE AND EXISTENCE - Unit-IV
HARMONY IN THE NATURE AND EXISTENCE - Unit-IV
 
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube ExchangerStudy on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
Study on Air-Water & Water-Water Heat Exchange in a Finned Tube Exchanger
 
Work Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvvWork Experience-Dalton Park.pptxfvvvvvvv
Work Experience-Dalton Park.pptxfvvvvvvv
 
Call Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile serviceCall Girls Delhi {Jodhpur} 9711199012 high profile service
Call Girls Delhi {Jodhpur} 9711199012 high profile service
 

SNMP Protocol Explained

  • 2. What is Network Management? Basic tasks that fall under this category are: •Fault Management •Dealing with problems and emergencies in the network (router stops routing, server loses power, etc.) •Performance Management •How smoothly is the network running? •Can it handle the workload it currently has? •Configuration Management •Keeping track of device settings and how they function
  • 3. Network Management must be... The management interface must be The management mechanism must be •Standardized •Extendible •Portable •Inexpensive •Implemented as software only
  • 4. Versions •Two major versions SNMPv1, SNMPv2 •SNMPv1 is the recommended standard •SNMPv2 has become split into: •SNMPv2u - SNMPv2 with user-based security •SNMPv2* - SNMPv2 with user-based security and additional features •SNMPv2c - SNMPv2 without security
  • 5. What is SNMP? • SNMP is a tool (protocol) that allows for remote and local management of items on the network including servers, workstations, routers, switches and other managed devices. • Comprised of agents and managers •Agent - process running on each managed node collecting information about the device it is running on. •Manager - process running on a management workstation that requests information about devices on the network.
  • 6. Advantages of using SNMP • Standardized • universally supported • extendible • portable • allows distributed management access • lightweight protocol
  • 7. Client Pull & Server Push • SNMP is a “client pull” model • SNMP is a “server push” model The management system (client) “pulls” data from the agent (server). The agent (server) “pushes” out a trap message to a (client) management system
  • 8. Ports & UDP •SNMP uses User Datagram Protocol (UDP) as the transport mechanism for SNMP messages •UDP Port 161 - SNMP Messages •UDP Port 162 - SNMP Trap Messages •Like FTP, SNMP uses two well-known ports to operate: Ethernet Frame IP Packet UDP Datagram SNMP Message CRC
  • 9. The Three Parts of SNMP SNMP network management is based on three parts: •Structure of Management Information (SMI) •Rules specifying the format used to define objects managed on the network that the SNMP protocol accesses •Management Information Base (MIB) •A map of the hierarchical order of all managed objects and how they are accessed •SNMP Protocol •Defines format of messages exchanged by management systems and agents. •Specifies the Get, GetNext, Set, and Trap operations
  • 10. Nodes Items in an SNMP Network are called nodes. There are different types of nodes. •Managed nodes •Management nodes •Nodes that are not manageable by SNMP Typically runs an agent process that services requests from a management node Typically a workstation running some network management & monitoring software A node may not support SNMP, but may be manageable by SNMP through a proxy agent running on another machine
  • 11. Community Names Community names are used to define where an SNMP message is destined for. They mirror the same concept as a Windows NT or Unix domain. •Set up your agents to belong to certain communities. •Set up your management applications to monitor and receive traps from certain community names.
  • 12. SNMP Agents Two basic designs of agents •Extendible Agents •Monolithic Agents •not extendible •optimized for specific hardware platform and OS •this optimization results in less overhead (memory and system resources) and quicker execution •Open, modular design allows for adaptations to new management data and operational requirements
  • 13. Languages of SNMP •Structure of Management Information (SMI) •Abstract Syntax Notation One (ASN.1) •Basic Encoding Rules (BER) specifies the format used for defining managed objects that are accessed via the SNMP protocol used to define the format of SNMP messages and managed objects (MIB modules) using an unambiguous data description format used to encode the SNMP messages into a format suitable for transmission across a network
  • 14. SMIv1 Structure of Management Information SMIv1 is described in RFCs 1155, 1212, 1215 These RFCs describe: •How MIB modules are defined with CCITT X.208 ASN.1 data description language •The subset of the ASN.1 language that is used in MIBs •The addition of the APPLICATION data type to ASN.1, specifically for use with SNMP MIBs •All ASN.1 constructs are serialized using the CCITT X.209 BER for transmission across the wire •definition of the high-level structure of the Internet branch (iso(1).org(3).dod(6).internet(1)) of the MIB naming tree •the definition and description of an SNMP managed object
  • 15. SMIv2 Structure of Management Information SMIv2 is described in RFCs 1442, 1443, 1444 These RFCs describe: •SMIv2 is a backward compatible update to SMIv1 •The only exception is the Counter64 type defined by SMIv2 •Counter64 cannot be created in SMIv2 •RFC 2089 defines how bilingual (SMIv1 & SMIv2) agents handle the Counter64 data type •IETF requires that new and revised RFCs specify MIB modules using SMIv2
  • 16. Basic Message Format Message Length Message Version Community String PDU Header PDU Body Message Preamble SNMP Protocol Data Unit
  • 17. Message Length Message Version Community String PDU Type PDU Length Request ID Error Status Error Index Length of Variable Bindings Length of First Binding Additional Variable Bindings OID of First Binding Type of First Binding Value of First Binding Length of Second Binding OID of Second Binding Type of Second Binding Value of Second Binding Message Length Message Version Community String PDU Type PDU Length Enterprises MIB OID Agent IP Address Standard Trap Type Length of Variable Bindings Length of First Binding Additional Variable Bindings OID of First Binding Type of First Binding Value of First Binding Length of Second Binding OID of Second Binding Type of Second Binding Value of Second Binding Specific Trap Type Time Stamp PDU Body SNMP Message Preamble PDU Header SNMP Message Formats