SlideShare une entreprise Scribd logo
1  sur  35
Simple Network Management
Protocol
What is SNMP?
The Simple Network Management Protocol (SNMP) is an
application layer protocol used to manage network resources.
Designed to be Simple-very few commands.
It concerns with Network Management.
It’s a Protocol-defined by IETF.
What does SNMP manage?
…all SNMP compatible devices.
servers

workstations
routers
switches
printers
…many more.
SNMP Functionality?
 Fault Management.
 Configuration Management.
 Accounting Management.
 Performance Monitoring and Management.
 Security Management.

Local and/or Remote
SNMP Components
SNMP Manager.
SNMP Agent.

MIB- Management Information Base.
Network

SNMP
Manager
Process
MIB

Request
Response

Trap

SNMP
Agent
Process
MIB
SNMP Manager
Software that runs on some administrative computer and manages
the whole network.
Capable of querying any managed device - via polling.
Capable enforcing management decision in Network.
Normally runs on very few system compared to SNMP agents.
SNMP Agent
Small piece of code that runs on every SNMP managed device and
gathers and sends data about that managed resource in response to
a request from the manager.
Collects information from network device, on which it resides and
stores in MIB.
Replies to manager with proper information when asked for.
Can initiate communication with SNMP manager using traps.
SNMP Proxy
A Proxy Agent is an SNMP agent
that maintains information of one
or more non-SNMP devices.
Proxy Agent does the conversion
of control messages.

..may run some other NMS.

SNMP Manager

SNMP Agent

SNMP
Community

Proxy Agent

Non-SNMP
Community
SNMP Internals
How Management Information will be stored?

SMI: Structure of Management Information
What Management Information data will be stored?
MIBs: Management Information Base
How information would be exchanged on network?
SNMP: Simple Network Management Protocol
SMI-Structure of Management Information
Defines the data types allowed in MIB.
Defines naming structure for each managed objects (MO).
Typically each MIB objects has six attributes-

Object Name
Object Identifier
Syntax Field
Access field

RFC-1155

Status Field
Text Descriptor
Management Information Base
 MIB is collection of network information.
Contains the real values of managed objects in the agent in the form of
variables, tables of variables.

 Access - through network management protocol.
 MO in MIB - represent characteristics of a managed device.
 Changes is done in agent MIB.
 MIB definition is available in manager.

RFC-1156
MIB Object Naming Tree
• Object Identifier – Uniquely identify
an
object
in
Management
Information Base.

1.3.6.1.4.1.9
MIB Syntax
sysContact OBJECT-TYPE
-- OBJECT-TYPE is a macro
SYNTAX DisplayString (SIZE (0..255))
ACCESS
read-write
-- or read-write, write-only, not-accessible
STATUS
mandatory -- or optional, deprecated, obsolete
DESCRIPTION
“Chris Francois

cfrancois@acm.org
(360)650-0000”
::= { system 4 }
MIB example: UDP module
Object ID…....Name……………………Type…………………Comments……………………………………….
1.3.6.1.2.1.7.1

UDPInDatagrams Counter32

total # datagrams delivered at this time

1.3.6.1.2.1.7.2

UDPNoPorts

Counter32

# underliverable datagrams no app at portl

1.3.6.1.2.1.7.3

UDInErrors

Counter32

# undeliverable datagrams all other reasons

1.3.6.1.2.1.7.4

UDPOutDatagrams Counter32

1.3.6.1.2.1.7.5

udpTable

SEQUENCE

# datagrams sent
one entry for each port in use by app, gives
port #and IP address

8-14
SNMP Version1
Introduced in 1988, maintained by IETF.
SNMP protocol facilitates communication between managed
device and SNMP manager.
Five messages was introduced in SNMP v1.
GetRequest
SetRequest
GetNextRequest
Trap
Response

Manager to Agent
Agent to Manager
SNMP Messages
 Get-Request
Sent by manager requesting specific data from agent.

 Get-Next-Request
Sent by manager requesting data on the next MO to the one specified.

 Set-Request
Initializes or changes the value of network element.

 Get-Response
Agent responds with data for get and set requests from the manager.

 Trap
Alarm generated by an agent.
SNMP v1
Communication is via SNMP Protocol Data Units (PDUs) that are
typically encapsulated in UDP packets.
UDP ports, 161 and 162, are the default ports reserved for SNMP.
The agent listens for requests and replies to them over port 161.
…reports asynchronous traps on port 162, unless it is instructed to
use different ports.
SNMP Protocol Data Unit(PDU)
0: GetRequest
1: GetNextRequest
2: SetRequest
3: GetResponse

SNMP Request to
Response association

Indicates one of a
number of errors and
error types.
Set by ‘Response’
operation.
Others set it to ‘0’

Associates error
with object instance.
Set by ‘Response’
operation.
Others set it to ‘0’

General PDU Structure
PDU TYPE

4: Trap

Request ID

Error Status

Error Index

Generic Trap Type:
7 values are defined:
coldStart(0)
warmStart(1)
linkDown(2)
linkUp(3)
authenticationFailure(4)
egpNeighborLoss(5)
enterpriseSpecific(6)

Management Enterprise
under whose registration Agent’s IP Address
(for further
authority trap was
identification)
defined.
Trap PDU Structure

PDU TYPE

Enterprise

Agent Addr

Gen Trap

Spec Trap

Object 1
Value 1

Data Field of SNMPv1
PDU.
 Associates Object
instance with current
Object 2
value.
Value 2
Ignore for Get and
GetNext

Specific Trap Type:
Identifies non-generic
trap when Generic
Trap Type set to
‘enterpriseSpecific(6)’
Time elapsed between
last network
reinitialization and
trap generation

Time
Stamp

Object 1
Value 1

Object 2
Value 2
Issues with SNMP v1
Security- Very low standards.
× Passwords transmitted as plain text.

No provision for authenticating message source.
MIBs were not secured with ACL’s.
Limited number of error handling.
SNMP v2
Improvement over SNMP v1.
Improved security feature.
…added manager to manager communication.
Four version of SNMP v2SNMP v2p, SNMP v2c, SNMP v2u, SNMPv2*.

SNMP v2 is not backward compatible with SNMP v1.
SNMP v2 additional operations
Bulk Data Transfer
GetBulkRequest message was added.
Manager can request multiple values from agent via this message.
…faster retrieval of multiple records.

Manager to Manager communication
InformRequest -information sharing between two SNMP manager.

Improved error handling
SNMPv2 includes expanded error code that distinguishes kind of error
condition.
Interfacing SNMP v1
Bilingual Manager
Implements both SNMP v1 and v2
interpreter in manager.
Interpreter module do all MIB and
protocol conversion to and from
SNMP agent.
SNMP PDU contains version number
to identify the frame.

Bilingual Manager
SNMPv1
Interpreter

SNMP v1
Agent

SNMPv2
Interpreter

SNMP v2
Agent

Agent
Profile
Interfacing SNMP v1
Proxy Server
Requests to and response from
SNMPv2 agents are processed by the
SNMPv2 manager directly.
A proxy server is implemented as a
front end module to the SNMPv2
manager to allow communication
with SNMPv1 agents.

SNMPv2 Manager
Proxy
Server

SNMPv1
Agent

SNMPv2
Agent
SNMP v2 PDU
0: GetRequest
1: GetNextRequest
2: Response
3: Set Request
4. Obsolete
5. GetBulkRequest
6. InformRequest
7. SNMPv2 Trap

PDU TYPE

SNMP Request to
Response association

Request ID

Indicates one of a
number of errors and
error types.
Set by ‘Response’
operation.
Others set it to ‘0’

Error Status

Error Index

SNMPv2 PDU (except bulk)

Associates error
with object instance.
Set by ‘Response’
operation.
Others set it to ‘0’

Object 1
Value 1

Object 2
Value 2
Data Field of SNMPv1
PDU.
 Associates Object
instance with current
value.
Ignore for Get and
GetNext
SNMP v2 PDU

PDU TYPE

Request ID

Non-Repeaters

Max
Repetitions

Object 1
Value 1

SNMPv2 GetBulkRequest PDU

Object 2
Value 2

……………
…………...

Object n
Value n
Issues with SNMP v2
 Multiple versions of SNMP v2- no consensus.
 Security-not much improvement.
 Incompatibility with earlier version (v1).
Overhead implementing Bilingual Manager or Proxy Server.
SNMP v3
 A general framework for all three SNMP versions.
Implements SNMP v1 and v2 specifications along with proposed new
features.

 Improved security feature.

 Secure remote configuration.
Protection against modification of information.
SNMP v3 Security
Major security improvement of v3 from earlier versions areMessage Integrity -ensures that data has not been modified or tampered
while in transit.
Authentication-checks if the message is from a authorized source.
Encryption-encrypt the data to prevent others from seeing the content.

Data can be collected securely from SNMP devices without fear of
the data being tampered with or corrupted.
SNMP v3 Architecture
SNMP v3 Engine
SNMP engine provides services for sending, receiving messages, authenticating
and encrypting messages, and controlling access to managed objects.

Dispatcher- support concurrent multiple SNMP message.
Send and receive SNMP message to and from the network.
Determine SNMP version forward to corresponding message processing
subsystem.
Interface between network and SNMP applications.
SNMP v3 Engine
 Message processing Subsystem
Prepares message for sending in network.
Extract information from received message.

 Security Subsystem
Provides security services-authentication, encryption etc.
Contains multiple subsystem.

 Access Control System
Provides authorization services.
SNMP v3 Architecture
SNMP v3 Applications
Command Generator
 used to generate get-request, get-next-request, get-bulk and set-request messages.
 …also processes response received from the sent commands.

Command Responder
 Processes the get and set request destined for it.

Notification Receiver
 Receives asynchronous messages and processes that.

Notification Originator
 Initiates asynchronous messages or traps.

Proxy Forwarder
 Forwards requests and notification to other SNMP engines, according to context
 No matter what MO information contained in it.
Thank you!

Contenu connexe

Tendances

Firewall Design and Implementation
Firewall Design and ImplementationFirewall Design and Implementation
Firewall Design and Implementationajeet singh
 
Network management
Network managementNetwork management
Network managementMohd Arif
 
System and network administration network services
System and network administration network servicesSystem and network administration network services
System and network administration network servicesUc Man
 
Simple Network Management Protocol
Simple Network Management ProtocolSimple Network Management Protocol
Simple Network Management ProtocolNilantha Piyasiri
 
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 Layertmavroidis
 
Unicasting , Broadcasting And Multicasting New
Unicasting , Broadcasting And Multicasting NewUnicasting , Broadcasting And Multicasting New
Unicasting , Broadcasting And Multicasting Newtechbed
 
Ssl (Secure Socket Layer)
Ssl (Secure Socket Layer)Ssl (Secure Socket Layer)
Ssl (Secure Socket Layer)Sandeep Gupta
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocolasimnawaz54
 
Introduction to Network and System Administration
Introduction to Network and System AdministrationIntroduction to Network and System Administration
Introduction to Network and System AdministrationDuressa Teshome
 
Presentation on TCP/IP Model
Presentation on TCP/IP ModelPresentation on TCP/IP Model
Presentation on TCP/IP ModelAbir Junayed
 
Network security - OSI Security Architecture
Network security - OSI Security ArchitectureNetwork security - OSI Security Architecture
Network security - OSI Security ArchitectureBharathiKrishna6
 
Fundamentals of Network security
Fundamentals of Network securityFundamentals of Network security
Fundamentals of Network securityAPNIC
 
TCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureTCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureManoj Kumar
 

Tendances (20)

SNMP
SNMPSNMP
SNMP
 
SPAN, RSPAN and ERSPAN
SPAN, RSPAN and ERSPANSPAN, RSPAN and ERSPAN
SPAN, RSPAN and ERSPAN
 
Firewall Design and Implementation
Firewall Design and ImplementationFirewall Design and Implementation
Firewall Design and Implementation
 
Network management
Network managementNetwork management
Network management
 
System and network administration network services
System and network administration network servicesSystem and network administration network services
System and network administration network services
 
Simple Network Management Protocol
Simple Network Management ProtocolSimple Network Management Protocol
Simple Network Management Protocol
 
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
 
Network Monitoring Tools
Network Monitoring ToolsNetwork Monitoring Tools
Network Monitoring Tools
 
Unicasting , Broadcasting And Multicasting New
Unicasting , Broadcasting And Multicasting NewUnicasting , Broadcasting And Multicasting New
Unicasting , Broadcasting And Multicasting New
 
Ssl (Secure Socket Layer)
Ssl (Secure Socket Layer)Ssl (Secure Socket Layer)
Ssl (Secure Socket Layer)
 
SNMP Protocol
SNMP ProtocolSNMP Protocol
SNMP Protocol
 
Internet control message protocol
Internet control message protocolInternet control message protocol
Internet control message protocol
 
Introduction to Network and System Administration
Introduction to Network and System AdministrationIntroduction to Network and System Administration
Introduction to Network and System Administration
 
Presentation on TCP/IP Model
Presentation on TCP/IP ModelPresentation on TCP/IP Model
Presentation on TCP/IP Model
 
Network security - OSI Security Architecture
Network security - OSI Security ArchitectureNetwork security - OSI Security Architecture
Network security - OSI Security Architecture
 
Wireshark Basic Presentation
Wireshark Basic PresentationWireshark Basic Presentation
Wireshark Basic Presentation
 
Protocol snmp
Protocol snmpProtocol snmp
Protocol snmp
 
CCNA
CCNACCNA
CCNA
 
Fundamentals of Network security
Fundamentals of Network securityFundamentals of Network security
Fundamentals of Network security
 
TCP/IP Protocol Architeture
TCP/IP Protocol ArchitetureTCP/IP Protocol Architeture
TCP/IP Protocol Architeture
 

En vedette

Smart Instruments, Fieldbus, Ethernet and Wireless
Smart Instruments, Fieldbus, Ethernet and Wireless Smart Instruments, Fieldbus, Ethernet and Wireless
Smart Instruments, Fieldbus, Ethernet and Wireless Living Online
 
SNMP Network Management the Essentials
SNMP Network Management the EssentialsSNMP Network Management the Essentials
SNMP Network Management the EssentialsLiving Online
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer ProtocolRajan Pandey
 
HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)Gurjot Singh
 

En vedette (8)

Cidr.ppt
Cidr.pptCidr.ppt
Cidr.ppt
 
Network management systems in large enterprise
Network management systems in large enterpriseNetwork management systems in large enterprise
Network management systems in large enterprise
 
Smart Instruments, Fieldbus, Ethernet and Wireless
Smart Instruments, Fieldbus, Ethernet and Wireless Smart Instruments, Fieldbus, Ethernet and Wireless
Smart Instruments, Fieldbus, Ethernet and Wireless
 
SNMP Network Management the Essentials
SNMP Network Management the EssentialsSNMP Network Management the Essentials
SNMP Network Management the Essentials
 
Simple Mail Transfer Protocol
Simple Mail Transfer ProtocolSimple Mail Transfer Protocol
Simple Mail Transfer Protocol
 
HTTP Basics
HTTP BasicsHTTP Basics
HTTP Basics
 
HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)HyperText Transfer Protocol (HTTP)
HyperText Transfer Protocol (HTTP)
 
Smtp
SmtpSmtp
Smtp
 

Similaire à Simple Network Management Protocol

Simple network management protocol
Simple network management protocolSimple network management protocol
Simple network management protocolni35540
 
Unit 5.1 network 2.pptx
Unit 5.1 network 2.pptxUnit 5.1 network 2.pptx
Unit 5.1 network 2.pptxLilyMkayula
 
CCNA4v5 Chapter 8 - Monitoring the Netwok
CCNA4v5 Chapter 8 - Monitoring the NetwokCCNA4v5 Chapter 8 - Monitoring the Netwok
CCNA4v5 Chapter 8 - Monitoring the NetwokAhmed Gad
 
Snmp chapter7
Snmp chapter7Snmp chapter7
Snmp chapter7jignash
 
Nagios Conference 2013 - William Leibzon - SNMP Protocol and Nagios Plugins
Nagios Conference 2013 - William Leibzon - SNMP Protocol and Nagios PluginsNagios Conference 2013 - William Leibzon - SNMP Protocol and Nagios Plugins
Nagios Conference 2013 - William Leibzon - SNMP Protocol and Nagios PluginsNagios
 
Network Management Security NS8
Network Management Security NS8Network Management Security NS8
Network Management Security NS8koolkampus
 
SNMP AT a GLANCE
SNMP AT a GLANCESNMP AT a GLANCE
SNMP AT a GLANCEassinha
 
FALLSEM2023-24_BCSE308L_TH_VL2023240100841_2023-07-10_Reference-Material-II.ppt
FALLSEM2023-24_BCSE308L_TH_VL2023240100841_2023-07-10_Reference-Material-II.pptFALLSEM2023-24_BCSE308L_TH_VL2023240100841_2023-07-10_Reference-Material-II.ppt
FALLSEM2023-24_BCSE308L_TH_VL2023240100841_2023-07-10_Reference-Material-II.pptuseonlyfortech140
 
Network Management System and Protocol usibility
Network Management System and Protocol usibilityNetwork Management System and Protocol usibility
Network Management System and Protocol usibilityHamdamboy (함담보이)
 
Nagios Conference 2013 - Spenser Reinhardt - Intro to Network Monitoring Usin...
Nagios Conference 2013 - Spenser Reinhardt - Intro to Network Monitoring Usin...Nagios Conference 2013 - Spenser Reinhardt - Intro to Network Monitoring Usin...
Nagios Conference 2013 - Spenser Reinhardt - Intro to Network Monitoring Usin...Nagios
 
Introduction tosnmp
Introduction tosnmpIntroduction tosnmp
Introduction tosnmpjorlugon
 
Centralized monitoring station for it computing and network infrastructure1
Centralized monitoring station for it computing and network infrastructure1Centralized monitoring station for it computing and network infrastructure1
Centralized monitoring station for it computing and network infrastructure1MOHD ARISH
 
Simple Network Management Protocol
Simple Network Management ProtocolSimple Network Management Protocol
Simple Network Management ProtocolAnupomShill
 

Similaire à Simple Network Management Protocol (20)

SNMP.pptx
SNMP.pptxSNMP.pptx
SNMP.pptx
 
Simple network management protocol
Simple network management protocolSimple network management protocol
Simple network management protocol
 
Unit 5.1 network 2.pptx
Unit 5.1 network 2.pptxUnit 5.1 network 2.pptx
Unit 5.1 network 2.pptx
 
CCNA4v5 Chapter 8 - Monitoring the Netwok
CCNA4v5 Chapter 8 - Monitoring the NetwokCCNA4v5 Chapter 8 - Monitoring the Netwok
CCNA4v5 Chapter 8 - Monitoring the Netwok
 
Snmp
SnmpSnmp
Snmp
 
Snmp chapter7
Snmp chapter7Snmp chapter7
Snmp chapter7
 
Nagios Conference 2013 - William Leibzon - SNMP Protocol and Nagios Plugins
Nagios Conference 2013 - William Leibzon - SNMP Protocol and Nagios PluginsNagios Conference 2013 - William Leibzon - SNMP Protocol and Nagios Plugins
Nagios Conference 2013 - William Leibzon - SNMP Protocol and Nagios Plugins
 
Network Management Security NS8
Network Management Security NS8Network Management Security NS8
Network Management Security NS8
 
SNMP AT a GLANCE
SNMP AT a GLANCESNMP AT a GLANCE
SNMP AT a GLANCE
 
001 implementation nms_software
001 implementation nms_software001 implementation nms_software
001 implementation nms_software
 
Snmp
SnmpSnmp
Snmp
 
FALLSEM2023-24_BCSE308L_TH_VL2023240100841_2023-07-10_Reference-Material-II.ppt
FALLSEM2023-24_BCSE308L_TH_VL2023240100841_2023-07-10_Reference-Material-II.pptFALLSEM2023-24_BCSE308L_TH_VL2023240100841_2023-07-10_Reference-Material-II.ppt
FALLSEM2023-24_BCSE308L_TH_VL2023240100841_2023-07-10_Reference-Material-II.ppt
 
Network Management System and Protocol usibility
Network Management System and Protocol usibilityNetwork Management System and Protocol usibility
Network Management System and Protocol usibility
 
Nagios Conference 2013 - Spenser Reinhardt - Intro to Network Monitoring Usin...
Nagios Conference 2013 - Spenser Reinhardt - Intro to Network Monitoring Usin...Nagios Conference 2013 - Spenser Reinhardt - Intro to Network Monitoring Usin...
Nagios Conference 2013 - Spenser Reinhardt - Intro to Network Monitoring Usin...
 
SNMP (MV ASHOK)
SNMP (MV ASHOK)SNMP (MV ASHOK)
SNMP (MV ASHOK)
 
White Paper on SNMPv3
White Paper on SNMPv3White Paper on SNMPv3
White Paper on SNMPv3
 
Introduction tosnmp
Introduction tosnmpIntroduction tosnmp
Introduction tosnmp
 
Centralized monitoring station for it computing and network infrastructure1
Centralized monitoring station for it computing and network infrastructure1Centralized monitoring station for it computing and network infrastructure1
Centralized monitoring station for it computing and network infrastructure1
 
Snmpv3
Snmpv3Snmpv3
Snmpv3
 
Simple Network Management Protocol
Simple Network Management ProtocolSimple Network Management Protocol
Simple Network Management Protocol
 

Dernier

USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSJoshuaGantuangco2
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfTechSoup
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPCeline George
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4MiaBumagat1
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptxiammrhaywood
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptxmary850239
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 

Dernier (20)

USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Raw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptxRaw materials used in Herbal Cosmetics.pptx
Raw materials used in Herbal Cosmetics.pptx
 
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTSGRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
GRADE 4 - SUMMATIVE TEST QUARTER 4 ALL SUBJECTS
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdfInclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
Inclusivity Essentials_ Creating Accessible Websites for Nonprofits .pdf
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
What is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERPWhat is Model Inheritance in Odoo 17 ERP
What is Model Inheritance in Odoo 17 ERP
 
ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4ANG SEKTOR NG agrikultura.pptx QUARTER 4
ANG SEKTOR NG agrikultura.pptx QUARTER 4
 
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptxAUDIENCE THEORY -CULTIVATION THEORY -  GERBNER.pptx
AUDIENCE THEORY -CULTIVATION THEORY - GERBNER.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx4.18.24 Movement Legacies, Reflection, and Review.pptx
4.18.24 Movement Legacies, Reflection, and Review.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 

Simple Network Management Protocol

  • 2. What is SNMP? The Simple Network Management Protocol (SNMP) is an application layer protocol used to manage network resources. Designed to be Simple-very few commands. It concerns with Network Management. It’s a Protocol-defined by IETF.
  • 3. What does SNMP manage? …all SNMP compatible devices. servers workstations routers switches printers …many more.
  • 4. SNMP Functionality?  Fault Management.  Configuration Management.  Accounting Management.  Performance Monitoring and Management.  Security Management. Local and/or Remote
  • 5. SNMP Components SNMP Manager. SNMP Agent. MIB- Management Information Base. Network SNMP Manager Process MIB Request Response Trap SNMP Agent Process MIB
  • 6. SNMP Manager Software that runs on some administrative computer and manages the whole network. Capable of querying any managed device - via polling. Capable enforcing management decision in Network. Normally runs on very few system compared to SNMP agents.
  • 7. SNMP Agent Small piece of code that runs on every SNMP managed device and gathers and sends data about that managed resource in response to a request from the manager. Collects information from network device, on which it resides and stores in MIB. Replies to manager with proper information when asked for. Can initiate communication with SNMP manager using traps.
  • 8. SNMP Proxy A Proxy Agent is an SNMP agent that maintains information of one or more non-SNMP devices. Proxy Agent does the conversion of control messages. ..may run some other NMS. SNMP Manager SNMP Agent SNMP Community Proxy Agent Non-SNMP Community
  • 9. SNMP Internals How Management Information will be stored? SMI: Structure of Management Information What Management Information data will be stored? MIBs: Management Information Base How information would be exchanged on network? SNMP: Simple Network Management Protocol
  • 10. SMI-Structure of Management Information Defines the data types allowed in MIB. Defines naming structure for each managed objects (MO). Typically each MIB objects has six attributes- Object Name Object Identifier Syntax Field Access field RFC-1155 Status Field Text Descriptor
  • 11. Management Information Base  MIB is collection of network information. Contains the real values of managed objects in the agent in the form of variables, tables of variables.  Access - through network management protocol.  MO in MIB - represent characteristics of a managed device.  Changes is done in agent MIB.  MIB definition is available in manager. RFC-1156
  • 12. MIB Object Naming Tree • Object Identifier – Uniquely identify an object in Management Information Base. 1.3.6.1.4.1.9
  • 13. MIB Syntax sysContact OBJECT-TYPE -- OBJECT-TYPE is a macro SYNTAX DisplayString (SIZE (0..255)) ACCESS read-write -- or read-write, write-only, not-accessible STATUS mandatory -- or optional, deprecated, obsolete DESCRIPTION “Chris Francois cfrancois@acm.org (360)650-0000” ::= { system 4 }
  • 14. MIB example: UDP module Object ID…....Name……………………Type…………………Comments………………………………………. 1.3.6.1.2.1.7.1 UDPInDatagrams Counter32 total # datagrams delivered at this time 1.3.6.1.2.1.7.2 UDPNoPorts Counter32 # underliverable datagrams no app at portl 1.3.6.1.2.1.7.3 UDInErrors Counter32 # undeliverable datagrams all other reasons 1.3.6.1.2.1.7.4 UDPOutDatagrams Counter32 1.3.6.1.2.1.7.5 udpTable SEQUENCE # datagrams sent one entry for each port in use by app, gives port #and IP address 8-14
  • 15. SNMP Version1 Introduced in 1988, maintained by IETF. SNMP protocol facilitates communication between managed device and SNMP manager. Five messages was introduced in SNMP v1. GetRequest SetRequest GetNextRequest Trap Response Manager to Agent Agent to Manager
  • 16. SNMP Messages  Get-Request Sent by manager requesting specific data from agent.  Get-Next-Request Sent by manager requesting data on the next MO to the one specified.  Set-Request Initializes or changes the value of network element.  Get-Response Agent responds with data for get and set requests from the manager.  Trap Alarm generated by an agent.
  • 17. SNMP v1 Communication is via SNMP Protocol Data Units (PDUs) that are typically encapsulated in UDP packets. UDP ports, 161 and 162, are the default ports reserved for SNMP. The agent listens for requests and replies to them over port 161. …reports asynchronous traps on port 162, unless it is instructed to use different ports.
  • 18. SNMP Protocol Data Unit(PDU)
  • 19. 0: GetRequest 1: GetNextRequest 2: SetRequest 3: GetResponse SNMP Request to Response association Indicates one of a number of errors and error types. Set by ‘Response’ operation. Others set it to ‘0’ Associates error with object instance. Set by ‘Response’ operation. Others set it to ‘0’ General PDU Structure PDU TYPE 4: Trap Request ID Error Status Error Index Generic Trap Type: 7 values are defined: coldStart(0) warmStart(1) linkDown(2) linkUp(3) authenticationFailure(4) egpNeighborLoss(5) enterpriseSpecific(6) Management Enterprise under whose registration Agent’s IP Address (for further authority trap was identification) defined. Trap PDU Structure PDU TYPE Enterprise Agent Addr Gen Trap Spec Trap Object 1 Value 1 Data Field of SNMPv1 PDU.  Associates Object instance with current Object 2 value. Value 2 Ignore for Get and GetNext Specific Trap Type: Identifies non-generic trap when Generic Trap Type set to ‘enterpriseSpecific(6)’ Time elapsed between last network reinitialization and trap generation Time Stamp Object 1 Value 1 Object 2 Value 2
  • 20. Issues with SNMP v1 Security- Very low standards. × Passwords transmitted as plain text. No provision for authenticating message source. MIBs were not secured with ACL’s. Limited number of error handling.
  • 21. SNMP v2 Improvement over SNMP v1. Improved security feature. …added manager to manager communication. Four version of SNMP v2SNMP v2p, SNMP v2c, SNMP v2u, SNMPv2*. SNMP v2 is not backward compatible with SNMP v1.
  • 22. SNMP v2 additional operations Bulk Data Transfer GetBulkRequest message was added. Manager can request multiple values from agent via this message. …faster retrieval of multiple records. Manager to Manager communication InformRequest -information sharing between two SNMP manager. Improved error handling SNMPv2 includes expanded error code that distinguishes kind of error condition.
  • 23. Interfacing SNMP v1 Bilingual Manager Implements both SNMP v1 and v2 interpreter in manager. Interpreter module do all MIB and protocol conversion to and from SNMP agent. SNMP PDU contains version number to identify the frame. Bilingual Manager SNMPv1 Interpreter SNMP v1 Agent SNMPv2 Interpreter SNMP v2 Agent Agent Profile
  • 24. Interfacing SNMP v1 Proxy Server Requests to and response from SNMPv2 agents are processed by the SNMPv2 manager directly. A proxy server is implemented as a front end module to the SNMPv2 manager to allow communication with SNMPv1 agents. SNMPv2 Manager Proxy Server SNMPv1 Agent SNMPv2 Agent
  • 25. SNMP v2 PDU 0: GetRequest 1: GetNextRequest 2: Response 3: Set Request 4. Obsolete 5. GetBulkRequest 6. InformRequest 7. SNMPv2 Trap PDU TYPE SNMP Request to Response association Request ID Indicates one of a number of errors and error types. Set by ‘Response’ operation. Others set it to ‘0’ Error Status Error Index SNMPv2 PDU (except bulk) Associates error with object instance. Set by ‘Response’ operation. Others set it to ‘0’ Object 1 Value 1 Object 2 Value 2 Data Field of SNMPv1 PDU.  Associates Object instance with current value. Ignore for Get and GetNext
  • 26. SNMP v2 PDU PDU TYPE Request ID Non-Repeaters Max Repetitions Object 1 Value 1 SNMPv2 GetBulkRequest PDU Object 2 Value 2 …………… …………... Object n Value n
  • 27. Issues with SNMP v2  Multiple versions of SNMP v2- no consensus.  Security-not much improvement.  Incompatibility with earlier version (v1). Overhead implementing Bilingual Manager or Proxy Server.
  • 28. SNMP v3  A general framework for all three SNMP versions. Implements SNMP v1 and v2 specifications along with proposed new features.  Improved security feature.  Secure remote configuration. Protection against modification of information.
  • 29. SNMP v3 Security Major security improvement of v3 from earlier versions areMessage Integrity -ensures that data has not been modified or tampered while in transit. Authentication-checks if the message is from a authorized source. Encryption-encrypt the data to prevent others from seeing the content. Data can be collected securely from SNMP devices without fear of the data being tampered with or corrupted.
  • 31. SNMP v3 Engine SNMP engine provides services for sending, receiving messages, authenticating and encrypting messages, and controlling access to managed objects. Dispatcher- support concurrent multiple SNMP message. Send and receive SNMP message to and from the network. Determine SNMP version forward to corresponding message processing subsystem. Interface between network and SNMP applications.
  • 32. SNMP v3 Engine  Message processing Subsystem Prepares message for sending in network. Extract information from received message.  Security Subsystem Provides security services-authentication, encryption etc. Contains multiple subsystem.  Access Control System Provides authorization services.
  • 34. SNMP v3 Applications Command Generator  used to generate get-request, get-next-request, get-bulk and set-request messages.  …also processes response received from the sent commands. Command Responder  Processes the get and set request destined for it. Notification Receiver  Receives asynchronous messages and processes that. Notification Originator  Initiates asynchronous messages or traps. Proxy Forwarder  Forwards requests and notification to other SNMP engines, according to context  No matter what MO information contained in it.