NMRG Report Improving/Enhancing SNMP and SMI

Slides:



Advertisements
Similar presentations
University of Twente The Netherlands Centre for Telematics and Information Technology Background of SMIng Aiko Pras CTIT University of Twente the Netherlands.
Advertisements

Chapter 6 SNMPv2 6-1 Network Management: Principles and Practice
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 24 Network Management: SNMP.
PROTOCOLS AND ARCHITECTURE Lesson 2 NETS2150/2850.
TCP/IP Protocol Suite 1 Chapter 21 Upon completion you will be able to: Network Management: SNMP Understand the SNMP manager and the SNMP agent Understand.
1 SNMP Simple Network Management Protocol. 2 SNMP Overview Define mechanism for remote management of network devices (routers, bridges, etc.) Fundamental.
COMP4690, by Dr Xiaowen Chu, HKBU
COE 342: Data & Computer Communications (T042) Dr. Marwan Abu-Amara Chapter 2: Protocols and Architecture.
1 Network Management and SNMP  What is Network Management?  ISO Network Management Model (FCAPS)  Network Management Architecture  SNMPv1 and SNMPv2.
Network Management: SNMP
SNMP (Simple Network Management Protocol) Jon Sevy Geometric and Intelligent Computing Laboratory Department of Mathematics and Computer Science Drexel.
McGraw-Hill The McGraw-Hill Companies, Inc., 2000 SNMP Simple Network Management Protocol.
TCP/IP Protocol Suite 1 Chapter 21 Upon completion you will be able to: Network Management: SNMP Understand the SNMP manager and the SNMP agent Understand.
SNMP Management Information
SNMP: Simple Network Management Protocol
SNMP (Simple Network Management Protocol)
Network Protocols UNIT IV – NETWORK MANAGEMENT FUNDAMENTALS.
SNMP ( Simple Network Management Protocol ) based Network Management.
SNMP Simple Network Management Protocol Team: Matrix CMPE-208 Fall 2006.
On the Impact of Security Protocols on the Performance of SNMP J. Schonwalder and V. Marinov IEEE Transactions on Network and Service Management, 2011,
Protocols and the TCP/IP Suite
1 © 1999 BMC SOFTWARE, INC. 2/10/00 SNMP Simple Network Management Protocol.
DP&NM Lab. POSTECH, Korea - 1 -Interaction Translation Methods for XML/SNMP Gateway Interaction Translation Methods for XML/SNMP Gateway Using XML Technologies.
Communication and Functional Models
Networks – Network Architecture Network architecture is specification of design principles (including data formats and procedures) for creating a network.
SNMP Simple Network Management Protocol. SNMP and UDP Uses UDP as transport protocol Connectionless Connectionless Port 161 for sending and receiving.
Abierman-rmonwg-17mar03 1 RMONMIB WG 56th IETF San Francisco, California March 17, 2003 Discussion: Admin:
CS 453 Computer Networks Lecture 22 Network Management.
Abierman-netconf-mar03 1 NETCONF BOF 56th IETF San Francisco, California March 17, 2003 Discussion: Admin:
68th IETF – OPS area – XML MIB Modules XML MIB Modules draft-stephan-ops-xml-mib-module-template-00 draft-stephan-ops-xml-mib-module-template-00.
MODULE I NETWORKING CONCEPTS.
Internet Standard Management Framework
Do We Need a New Network Management Framework? David Harrington IETF66 OPS Area Meeting Montreal, Quebec, Canada.
SNMP 1. SNMP is an Internet protocol developed by the IETF. It is designed to facilitate the exchange of management information between network elements.
Network Management Security
Summary of the SMIng WG The Next Generation Structure of Management Information.
 Introduction  Structure of Management Information  Practical Issues  Summary 2.
Abierman-rmonwg-11dec00 1 RMONMIB WG 49th IETF San Diego, CA USA December 11 & 13, 2000 Discussion: Admin:
Design Guidelines Thursday July 26, 2007 Bernard Aboba IETF 69 Chicago, IL.
Lecture 2 Recap.
1 Review – The Internet’s Protocol Architecture. Protocols, Internetworking & the Internet 2 Introduction Internet standards Internet standards Layered.
1 IETF69 BOF XSD for accessing SMIv2 data models Yan Li
Chapter 27 Network Management Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
ITL Getting Information: Packet Sniffing Cisco Router Commands SNMP.
Manajemen Jaringan, Sukiswo ST, MT 1 SNMP Management Information Sukiswo
The Structure of Management Information (SMI) Naming OIDs, Defining OIDs SNMP Operations Hamdamboy Urunov, a Ph.D. Researcher student. Special Communication.
SNMP (Simple Network Management Protocol) Overview
Jaringan Telekomunikasi, Sukiswo ST, MT Sukiswo
YANG Modelling and NETCONF Protocol Discussion
Jaringan Telekomunikasi, Sukiswo ST, MT Sukiswo
Simple Network Management Protocol
Network management Communication model
Simple Network Management Protocol (SNMP)
SNMP.
Convergence of Network Management Protocols
Simple Network Management Protocol (SNMP)
Lec7: SNMP Management Information
Karl Quinn 23rd November 2004 NDS M.Sc.
Network Management: SNMP
IETF69 BOF XSD for accessing SMIv2 data models
Dept. of Computer Science and Engineering
SNMP (Simple Network Management Protocol) Overview
Introduction to Internet Network Management
Using NFFI Web Services on the tactical level: An evaluation of compression techniques 13th ICCRTS: C2 for Complex Endeavors Frank T. Johnsen.
SNMP (Simple Network Management Protocol) based Network Management
Chapter 2. Protocols and Architecture
SNMPv2 OVERVIEW: LIMITATIONS OF SNMPv1 HISTORY OF SNMPv2 • HIERARCHIES
Last Class: Communication in Distributed Systems
A Brief Introduction to Internet Network Management
Standards, Models and Language
Presentation transcript:

NMRG Report Improving/Enhancing SNMP and SMI Jürgen Schönwälder IRTF Network Management Research Group http://www.ibr.cs.tu-bs.de/projects/nmrg/ 6 December 2018 Improving/Enhancing SNMP and SMI

Improving/Enhancing SNMP and SMI Outline Introduce the Network Management Research Group Report on bulk data transfer improvements for SNMP Report on the enhanced SMI proposal called SMIng 6 December 2018 Improving/Enhancing SNMP and SMI

Improving/Enhancing SNMP and SMI NMRG Background NMRG is a forum where people can discuss and develop new technologies for improving the management of the Internet Approved by the IAB in March 1999 NMRG membership requires commitment to active participation Mailing list archive, minutes and documents are publically available Trying to get people with different technological and organizational backgrounds working together 6 December 2018 Improving/Enhancing SNMP and SMI

Improving/Enhancing SNMP and SMI NMRG Business Model Focus on solutions for real-world technical problems Prove the feasibility of ideas and concepts through implementation Make results openly available to the whole community Keep close contacts with IETF working groups in order to coordinate work Bring solutions back into the IETF as potential future standardization efforts 6 December 2018 Improving/Enhancing SNMP and SMI

IETF Network Management Problems The requirements for Internet management technologies have changed during the last 10 years Fundamental assumptions must be revisited and potentially revised to better reflect today’s realities WG members mostly coming from network device vendors Solutions sometimes tend to be too device specific or way too detailed for running real-world networks Many competing technologies inside and outside of the IETF have led to “network management technology fragmentation” 6 December 2018 Improving/Enhancing SNMP and SMI

SNMP Specific Problems Work on SNMP security took many many years to finally result in a stable and accepted SNMPv3 specification Other urgendly needed improvements were kept on hold during this time One such problem is the inefficiency of SNMP for retrieving bulk MIB data Extensions to the SMI data definition language needed to simplify, generalize and harmonize data definitions NMRG decided to look at these two important issues 6 December 2018 Improving/Enhancing SNMP and SMI

Improving/Enhancing SNMP and SMI Outline Introduce the Network Management Research Group Report on bulk data transfer improvements for SNMP Report on the enhanced SMI proposal called SMIng 6 December 2018 Improving/Enhancing SNMP and SMI

Improving/Enhancing SNMP and SMI Review of SNMP Basics SNMP protocol is used to access and manipulate variables organized in conceptual tables and groups of scalars Each scalar and each cell in a conceptual table is uniquely identified by an OID value (in a given context) SNMP operates on an ordered lists of scalars and table cells (varbind list) Each element of such a list contains an OID value identifying a scalar or a table cell and its value SNMP runs over UDP (stateless, retransmission control) 6 December 2018 Improving/Enhancing SNMP and SMI

SNMP Bulk Retrieval Problem SNMP shows poor performance when retrieving several thousands of MIB variables in a single logical transaction Reasons: Lack of flow control Bandwidth inefficiency due to OID naming overhead High latency caused by a large number of request/response interactions 6 December 2018 Improving/Enhancing SNMP and SMI

Proposal #1: SNMP over TCP SNMP over TCP gives flow and congestion control for virtually no costs Originator of a request/response transaction chooses the transport for one or more complete transactions SNMP engines can close TCP connections at any point in time SNMP engines may revert to SNMP over UDP when needed SNMP engines must perform packetizing and connection management 6 December 2018 Improving/Enhancing SNMP and SMI

Proposal #2: Lossless Payload Compression Compress and wrap SNMP PDUs in a CompressedPDU Each SNMP message is compressed and decompressed by itself without any relation to other SNMP messages (stateless compression) The size of a compressed SNMP message must never exceed the size of the uncompressed message (non-expansion policy) Support for multiple compression algorithms Negotiation of compression algorithm via MIB objects 6 December 2018 Improving/Enhancing SNMP and SMI

Proposal #2: Lossless Payload Compression Deflate: Deflate achieves high compression ratios of 80 % on typical MIB-II data Requires noticeable CPU resources on the sending SNMP engine Interactions with message size constraints make it difficult to build response messages that send as much data as possible 6 December 2018 Improving/Enhancing SNMP and SMI

Proposal #2: Lossless Payload Compression ODC: OID Delta Compression (ODC) has been invented to reduce only the OID overhead in SNMP PDUs The general idea is to encode an OID as a delta to the previous OID Algorithm can be made to run very fast by integrating it into the BER encoder, even though compression is conceptually a transformation on the encoded PDU Achieves compression ratios of 40 % on typical MIB-II data 6 December 2018 Improving/Enhancing SNMP and SMI

Proposal #3: Get-Subtree / Linked Responses GetNext (row by row) CG CR GetNext (rows in parallel) CG CR GetBulk CG CR GetSubTree CG CR 6 December 2018 Improving/Enhancing SNMP and SMI

Proposal #3: Get-Subtree / Linked Responses The format of get-subtree PDUs is similar to the format of the get-bulk PDU, except that there is no max-repetitions parameter OIDs in the variable-bindings list identify the roots of the subtrees to be retrieved Linked response PDUs are ordinary response PDUs where the error-index contains a sequence number if the error-status is noError Measurements over the loopback interface on a Linux box show that get-subtree is 4.5 times faster compared to get-next walks and 2 times faster than get-bulk walks 6 December 2018 Improving/Enhancing SNMP and SMI

Improving/Enhancing SNMP and SMI Outline Introduce the Network Management Research Group Report on bulk data transfer improvements for SNMP Report on the enhanced SMI proposal called SMIng 6 December 2018 Improving/Enhancing SNMP and SMI

Improving/Enhancing SNMP and SMI SMIng Project Goals Design a next generation SMI to enhance the SMIv2 Work upwards towards a richer data definition language SMIng must be compatible with SMIv2 so that automatic translations are feasible SMIng language definition should not rely on “external” standards (and thus not use ASN.1) SMIng must be extensible so that enhancements can be introduced gradually without destabilizing the whole language Simplify the SMI language wherever possible 6 December 2018 Improving/Enhancing SNMP and SMI

Improving/Enhancing SNMP and SMI SMIng Syntax SMIng introduces a new syntax (fully defined in ABNF) Syntax rules designed to improve readability and to simplify parser implementations SMIng files contain sequences of statements Statements can have statement blocks as argument (nesting) Each statement is terminated by a semicolon Case sensitivity of identifiers inherited from SMIv2 6 December 2018 Improving/Enhancing SNMP and SMI

Structure of an SMIng Module module IF-MIB { import IRTF-NMRG-SMING (mib-2); // … oid mib-2.31; organization “IETF Interfaces MIB WG”; contact “…”; revision { date “1996-02-28 21:55”; description “Revisions made by the IFMIB WG”; }; date “1993-11-08 21:55”; description “Initial revision, RFC 1573”; 6 December 2018 Improving/Enhancing SNMP and SMI

Structure of an SMIng Module // extension statements // typedef statements // node/scalar/table/ statements // notification statements // group statements // compliance statements }; 6 December 2018 Improving/Enhancing SNMP and SMI

SMIng Table Definition table ifTable { oid interfaces.2; description “A list of interface entries”; row ifEntry { oid ifTable.1; index (ifIndex); description “…”; column ifIndex { oid ifEntry.1; type InterfaceIndex; access readonly; }; // … 6 December 2018 Improving/Enhancing SNMP and SMI

SMIng Base and Core Derived Types Integer32 Unsigned32 Enumeration Integer64 Unsigned64 Float32 Float64 Float128 OctetString Bits ObjectIdentifier Counter32 TimeTicks Gauge32 Counter64 Gauge64 IpAddress Opaque SMIng allows to derive types from other derived types Some SMIv2 base types are now defined as derived types Type definitions can have “units” statements attached to it 6 December 2018 Improving/Enhancing SNMP and SMI

Extensions and Annotations SMIng makes it possible to define language extensions (new statements) over time Parser implementations are required to ignore unknown statements An annotation mechanism can be used to invoke statements in the scope associated with a particular definition in a separate module These two mechanisms can be used to separate protocol specific definitions from the core data structures and to supply additional semantics in a machine readable form over time 6 December 2018 Improving/Enhancing SNMP and SMI

Annotation & Extension Example module IF-MIB { notification linkDown { // … }; module IF-MIB-ANNOTATIONS { import IF-MIB (linkDown); import SEVERITY-EXT (severity); annotation linkDownSeverity { target (linkDown); severity “critical”; }; module SEVERITY-EXT { extension severity { // … }; 6 December 2018 Improving/Enhancing SNMP and SMI

Improving/Enhancing SNMP and SMI SMIng Status Proof of concept implementation available in the libsmi package The libsmi API has been designed on the basis of SMIng and hides 99 % of the SMI version differences Some translations implemented so far: SMIng -> SMIv2 (SMIv2 subset) SMIv2 -> SMIng SMIng -> CORBA IDL (based on JIDM rules) SMIng -> XML The XML DTD has been defined as a common exchange format for applications that need to access SMI definitions 6 December 2018 Improving/Enhancing SNMP and SMI

Improving/Enhancing SNMP and SMI Summary NMRG is working very well and has produced significant results for improving/enhancing SNMP and the SMI Discussion underway about moving IRTF results back into the IETF There is much more work waiting to be addressed (e.g. adding COPS-PR support to the SMIng) Volunteers who are interested to join the NMRG to work on these or new items are encouraged to contact us 6 December 2018 Improving/Enhancing SNMP and SMI

Improving/Enhancing SNMP and SMI More Information Web pages: NMRG http://www.ibr.cs.tu-bs.de/projects/nmrg/ SMIng http://www.ibr.cs.tu-bs.de/projects/sming/ libsmi http://www.ibr.cs.tu-bs.de/projects/libsmi/ Documents: SNMP over TCP draft-irtf-nmrg-snmp-tcp-04.txt SMIng draft-irtf-nmrg-sming-01.txt SMI XML DTD draft-ietf-nmrg-smi-xml-00.txt 6 December 2018 Improving/Enhancing SNMP and SMI