SNMP - PowerPoint PPT Presentation

About This Presentation
Title:

SNMP

Description:

02 01 06 is a 1 byte integer, value 6. Primitive Types ... RCPT To: receiver_name_at_hotmail.com. 250 receiver_name_at_hotmail.com Recipient OK. DATA ... – PowerPoint PPT presentation

Number of Views:48
Avg rating:3.0/5.0
Slides: 19
Provided by: Geo376
Category:
Tags: snmp | hotmail

less

Transcript and Presenter's Notes

Title: SNMP


1
SNMP
  • Where did it come from ?
  • Internet Engineering Task Force
  • Network Management Area
  • SNMP V1
  • MIB definitions
  • SNMPV2

2
Syntax
  • uses ASN.1 (Abstract Syntax Notation)
  • binary encoding
  • 02 01 06 is a 1 byte integer, value 6
  • Primitive Types
  • INTEGER, OCTECT STRING, OBJECT
    IDENTIFIER, NULL
  • Constructor Types
  • SEQUENCE ltprimitive-typegt ... ie. a
    record
  • SEQUENCE OF ltprimitive-typegt ... ie. an
    array

3
Syntax
  • Defined Data Types
  • IpAddress what you expect
  • Counter non-negative integer that wraps
  • Gauge non-negative integer that latches
  • TimeTicks time in hundredths of seconds

4
SNMP NAMES
5
SNMP
  • Management Information Base (MIB)
  • "database"of network objects
  • Groups
  • System, Interfaces, Address Translation, IP,
    ICMP, TCP, UDP, EGP
  • "Access" and "Status" attributes
  • actual variables are "instances" of OIDs
  • 1.3.6.1.2.1.1.1.0 sysDescr
  • 1.3.6.1.2.1.2.1.1.10.3 ifInOctets for interface 3
  • 1.3.6.1.2.1.4.21.1.7.130.56.0.0
  • ipRouteNextHop for network 130.56.0.0

6
SNMP
  • The SNMP protocol itself
  • allows inspection and alteration of MIB variables
  • UDP Based
  • not acknowledged transactions
  • PUT, GET, GET-NEXT operators

7
SNMPv1 Protocol continued...
get_request
get_response
port 161
get_next_request
port 161
get_response
Manager
Agent
set_request
port 161
get_response
trap
port 161
port 162
8
SNMPv1 Packet Format
UDP Header
PDU Type
Request ID
Error Status
Error Index
Version
Community
name
value
name
...
9
SNMP
  • SNMP Traps
  • unsolicited notification of events
  • can include variable list
  • ColdStart, WarmStart
  • LinkUp, LinkDown
  • Authentication Failure
  • EGP Neighbour Loss
  • Enterprise Specific

10
Network Management Software
  • SNMP Agents
  • provided by all router vendors
  • many expanded (enterprise) MIBs
  • bridges, wiring concentrators, toasters

11
Network Management Software
  • Public Domain
  • Application Programming Interfaces available from
    CMU and MIT
  • include variety of applications

12
Network Management Software
  • Commercially
  • many offerings, UNIX and PC based
  • HP OpenView
  • SunNet Manager
  • Cabletron Spectrum
  • MANY others

13
Applications
14
Receiving MTA
Sending MTA
Open TCP connection on port 25
220 id, ready, time
Hello name
250 id, Hello pleased to meet.
Mail From source_name_at_yahoo.com
250 source_name_at_yahoo.com Sender OK
RCPT To receiver_name_at_hotmail.com
250 receiver_name_at_hotmail.com Recipient OK
DATA
354 Mail goes here, end with a . line
.
.
250 Mail Accepted
QUIT
221 Delivering Mail
15
(No Transcript)
16
  • Example of mail retrieval using POP

POP Mail Server / Local MTA
POP Client
17
Network Address Translation (NAT)
18
NAT
Write a Comment
User Comments (0)
About PowerShow.com