Top Banner
Network Protocols UNIT IV – NETWORK MANAGEMENT FUNDAMENTALS
26

Network Protocols

Jan 19, 2016

Download

Documents

terry

Network Protocols. UNIT IV – NETWORK MANAGEMENT FUNDAMENTALS. What is Network Management?. Maintenance and administration of networks at the top level Configuration Management Keeping track of network device settings Fault Management - PowerPoint PPT Presentation
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Network Protocols

Network ProtocolsNetwork Protocols

UNIT IV – NETWORK MANAGEMENT FUNDAMENTALS

Page 2: Network Protocols

What is Network Management?Maintenance and administration of networks at the top level

• Configuration Management– Keeping track of network device settings

• Fault Management– Detect, isolate and correct problems in the network (alerts)

• Performance Management– Provide data for statistic and network performance

• Security Management- protect network against unauthorized access

• Bandwidth Management-measuring and controlling communications on a network

Page 3: Network Protocols

What is SNMP?What is SNMP?

• SNMP (Simple Network Management protocol): A protocol that enables a management station to configure, monitor, and receive trap (alarm) messages from network devices

Page 4: Network Protocols

SNMP & Network Management HistorySNMP & Network Management History

• 1983 - TCP/IP replaces ARPANET at U.S. DoD, effective birth of Internet

• 1987 - CMIP - Common Management Information Protocol CMOT - CMIP over TCP

SGMP - Simple Gateway Monitoring protocol (RFC 1028)

• 1989 - SNMP working group formed

• 1990 – SNMP promoted to a recommended status (RFC 1157)

• 1991 – SNMPv1 defined with format of MIBs and traps (RFCs 1212, 1215)

Page 5: Network Protocols

SNMP Characteristics• Widespread adoption

-de facto standard for inter-network management.

• Simple -requires little code to implement -vendors can easily build SNMP agents to their products

• Extensible-easy for vendors to add network management functions to products.

• Clean architecture -separates management architecture from hardware devices’ architecture -broadens the base of multi-vendor support

Page 6: Network Protocols

Major Components of SNMPMajor Components of SNMP

Comprised of mainly agents and managers

•Agent - process (software) running on each managed device collecting information about the device it is running on.

•Manager - process (software) running on a management workstation that requests information about devices on the network.

Page 7: Network Protocols

SNMP Architectural ModelSNMP Architectural Model

Page 8: Network Protocols

SNMP: Inside the AgentsSNMP: Inside the Agents

SNMP network managed devices are dictated by:

• Structure of Management Information (SMI)• 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)• Management Information Base (MIB)•A map of the hierarchical order of all managed objects •Leaves represent individual data items

• Abstract Syntax Notation One (ASN.1)• Abstract Syntax Notation One (ASN.1)

•Dictates how MIB variables must be defined and referenced

Page 9: Network Protocols

MIBs and Object IdentifiersMIBs and Object IdentifiersLet’s have a detailed look at MIBs ...

•MIBS•MIBS

•Object Identifiers (Ids)•Object Identifiers (Ids)•Uniquely identify or named the MIB objects

•Like telephone number--they are organized hierarchically with specific digits assigned by different organizations

•Uniquely identify or named the MIB objects

•Like telephone number--they are organized hierarchically with specific digits assigned by different organizations

•An abstract tree with an unnamed root, individual data items make up the leaves of the tree

•Tree is extensible by virtue of experimental and private branches (Vendors can define their own private branches to include instances of their own products)

Page 10: Network Protocols

MIB Sample Tree

MIB Sample Tree

BEA Object IDBEA Object ID

=1.3.6.1.4.1=1.3.6.1.4.1.140.140

Page 11: Network Protocols

Four Basic CommandsFour Basic Commands

•Get

•GetNext

•Set

•Trap

Retrieves the value of a MIB variable stored on the agent machine

Retrieves the next value of the next lexical MIB variable

Changes the value of a MIB variable

An Event/Alarm notification sent by an agent to a management application

Page 12: Network Protocols

• SNMP Operations

agent data

Managed device

managingentity

response

agent data

Managed device

managingentity

traprequest

Request/Response Mode Trap Mode

Page 13: Network Protocols

SNMP Transport MessagesSNMP Transport Messages

•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

PacketUDP

Datagram

SNMP Message CRC

Page 14: Network Protocols

SNMP Basic Message FormatSNMP Basic Message Format

Message Length

Message Version

Community String

PDU Header

PDU Body

Message Preamble

SNMP Protocol Data Unit

• Community names are used to define where an SNMP message is destined for.

Page 15: Network Protocols

Message Length

Message Version

Community String

PDU Type

PDU Length

Request IDError Status

Error Index

Length of Variable Bindings

Length of First Binding

Additional Variable Bindings

OID of First BindingType of First Binding

Value of First Binding

Length of Second Binding

OID of Second BindingType of Second Binding

Value of Second Binding

Message Length

Message Version

Community String

PDU Type

PDU Length

Enterprises MIB OIDAgent IP Address

Standard Trap Type

Length of Variable Bindings

Length of First Binding

Additional Variable Bindings

OID of First BindingType of First Binding

Value of First Binding

Length of Second Binding

OID of Second BindingType of Second Binding

Value of Second Binding

Specific Trap TypeTime Stamp

PDU Body

SNMP Message Preamble

PDU Header

SNMP Message FormatsSNMP Message Formats

Page 16: Network Protocols

NAME 1 VALUE 1 NAME 2 VALUE 2 ••• ••• NAME n VALUE n

PDU TYPE* ERROR

VARIABLE BINDINGSSTATUSREQUEST

IDERRORINDEX

VERSION COMMUNITY SNMP PDU

variable bindings:

SNMP PDU:

SNMP message:SNMP MESSAGE

SNMP PDU

VARIABLE BINDINGS

Page 17: Network Protocols

SNMP VersionsSNMP Versions

• SNMP v1:RFC 1155 and RFC 1157.

• SNMP v2c: RFC 1901, RFC 1905, and RFC 1906

• SNMP v3: RFC 1905, RFC 1906, RFC 2571, RFC 2572, RFC 2574, and RFC 2575.

Page 18: Network Protocols

SNMP v1SNMP v1

• Most widely used of all versions

• Support GET GETNEXT SET TRAP

• Security based on Read-only and Read-Write community strings

• Defined in RFC 1157

Page 19: Network Protocols

SNMP v2cSNMP v2c

• Same PDU structure for Trap and Get/Set request

• Updated protocol operations: Getbulk, Inform

• Updated data types: Counter32, Counter64,…

• Used the same community-based security from v1

• Support Get, Get next, Get bulk, set, trap, inform

• Defined in RFCs 1901, 1905, and 1906

Page 20: Network Protocols

New Commands in SNMPv2c

• Get Bulk Request– Retrieve N objects with simple get-next operation

• Inform– Enable manager to send some information to another

manger

Page 21: Network Protocols

SNMP v3SNMP v3

• SNMPv2 protocol operations and data types

• Proxy support

• User-based security

• Defined in RFCs 2571, 2572, 2573, 2574, and 2575

Page 22: Network Protocols

SNMP v3 Protocol OperationsSNMP v3 Protocol Operations

•GetBulk

•Report

•InformUsed by a manager to send an alert to another manager

Contain Security information from Agent to Manager for connection establishment.

Same as a v1 notification, except the PDU has the same structure as Get, GetNext, and Set

Retrieves a potentially large amount MIB values without having the manager to send successive GetNext requests

•Get, GetNext, Set

•v2Trap

Page 23: Network Protocols

SNMP v3 User-Based SecuritySNMP v3 User-Based SecurityUser Security Model (USM) is designed to secure against

the following principle threats:

• Modification of Information

• Masquerade

• Message Stream Modification

• Disclosure

Page 24: Network Protocols

SNMP v3 User-Based SecuritySNMP v3 User-Based SecurityUSM Message Processing

Page 25: Network Protocols

SNMP v3 User-Based SecuritySNMP v3 User-Based SecurityUSM authentication protocols:

USM encryption:

• HMAC-MD5-96

• HMAC-SHA-96

• Cipher Block Chaining (CBC) mode of the Data Encryption Standard (DES)

Page 26: Network Protocols

SNMPRFC’sSNMPRFC’s

RFC Description Published Current Status1155 SMIv1 May-90 Standard1156 SNMPv1 MIB May-90 Historic1157 SNMPv1 May-90 Standard1212 SNMPv1 MIB definitions Mar-91 Standard1213 SNMPv1 MIB-II Mar-91 Standard1215 SNMPv1 traps Mar-91 Informational1351 Secure SNMP administrative model Jul-92 Proposed Standard1352 Secure SNMP managed objects Jul-92 Proposed Standard1353 Secure SNMP security protocols Jul-92 Proposed Standard1441 Introduction to SNMPv2 Apr-93 Proposed Standard1445 SNMPv2 administrative model Apr-93 Historic1446 SNMPv2 security protocols Apr-93 Historic1447 SNMPv2 party MIB Apr-93 Historic1451 Manger-to-manger MIB Apr-93 Historic1901 Community-Based SNMPv2 Jan-96 Experimental1902 SMIv2 Jan-96 Draft Standard1903 Textual conventions for SNMPv2 Jan-96 Draft Standard1904 Conformance statements for SNMPv2 Jan-96 Draft Standard1905 Protocol operations for SNMPv2 Jan-96 Draft Standard1906 Transport mapping for SNMPv2 Jan-96 Draft Standard1907 SNMPv2 MIB Jan-96 Draft Standard1908 Coexistence of SNMPv1 and SNMPv2 Jan-96 Draft Standard1909 Administrative infrastructure for SNMPv2 Feb-96 Experimental1910 User-based security for SNMPv2 Feb-96 Experimental2270 Introduction to SNMPv3 Apr-99 Informational2271 SNMP Management Frameworks Apr-99 Draft Standard

2272 SNMPv3 Msg Dispatching & Processing Apr-99 Draft Standard

2273 SNMP Applications Apr-99 Draft Standard2274 USM for SNMPv3 Apr-99 Draft Standard2275 VACM for SNMPv3 Apr-99 Draft Standard2576 Coexistance between SNMP v1, v2, & v3 Mar-00 Proposed Standard3411 Manamgement SNMP Protocol Framework Dec-02 Proposed Standard3780 Next Generation Structure of Management May-04 Experimental4181 Guidelines for MIB Documents Sep-05 Informational