TELE9752 Network Operations and Control Lecture 4: Management Protocols



Similar documents
Simple Network Management Protocol SNMP

Simple Network Management Protocol

SNMP Agent Plug-In Help Kepware Technologies

SNMP and Network Management

Network Management. Jaakko Kotimäki. Department of Computer Science Aalto University, School of Science. 21. maaliskuuta 2016

8 Tutorial: Using ASN.1

SNMP and SNMPv2: The Infrastructure for Network Management

SNMP Simple Network Management Protocol

SNMP....Simple Network Management Protocol...

SNMP Basics BUPT/QMUL

Chapter 15. Network management

Lecture 11: SNMPv2 MIB and PDUs

ITEC310 Computer Networks II

Simple Network Management Protocol

SNMP GetRows: an effective scheme for retrieving management information from MIB tables

SNMP Agent Plug-In Help Kepware Technologies

SIMPLE NETWORK MANAGEMENT PROTOCOL (SNMP)

TELE 301 Network Management

Outline of the SNMP Framework

INTERNET MANAGEMENT PROTOCOLS TUTORIAL STOCKHOLM, SWEDEN 29 OCTOBER 1999 AIKO PRAS UNIVERSITY OF TWENTE THE NETHERLANDS

SNMP Overview. Jean-Luc Ernandez ESSI 3ème Année 2005/2006

Network Management (NETW-1001)

Chapter 9 Network Management

SNMP Extensions for a Self Healing Network

Simple Network Management Protocol (SNMP) Primer

Simple Network Management Protocol

Link Layer Discovery Protocol and MIB

A Guide to Understanding SNMP

Remote Management. Vyatta System. REFERENCE GUIDE SSH Telnet Web GUI Access SNMP VYATTA, INC.

Simple Network Management Protocol

SNMP -overview. Based on: W.Stallings Data and Computer Communications

Simple Network Management Protocol

Chapter 8 Network Management. Chapter 8 outline. What is network management? Chapter 8: Network Management

Chapter 12: Network Management

Table of Contents. Overview...2. System Requirements...3. Hardware...3. Software...3. Loading and Unloading MIB's...3. Settings...

This Lecture. NWEN 403 Advanced Network Engineering. Network Management. Outline. Network management. Qiang Fu

Managing and Securing Computer Networks INFO-056

Configuring SNMP Cisco and/or its affiliates. All rights reserved. 1

What is it? SNMP. Agenda. Four Basic Elements

Introduction Network Management Framework Structure of Management Information Names Instances Syntax...

Chapter 9 Network Management

Network Management in a Telco and its interaction with administrative IT systems

Network Management. What is network management?

Simple Network Management Protocol

R07. IV B.Tech. II Semester Regular Examinations, April, NETWORK MANAGEMENT SYSTEMS (Information Technology)

Simple Network Management Protocol - SNMP v1, ASN, MIB, BER. Network Management

AlarmTraq SNMP with Avaya IP Office Version 3.2

Simulation of an SNMP Agent: Operations, Analysis and Results

NETWORK MANAGEMENT CHAPTER 20-1

Tech Note Cisco IOS SNMP Traps Supported and How to Conf

SNMP SNMP Overview CHAPTER

INTRODUCTION TO SNMP AND MIB

From SNMP to Web services-based network management. Jeroen van Sloten

October Mapping Simple Network Management Protocol (SNMP) Notifications to SYSLOG Messages

INTERNET OF THINGS 1

Network Monitoring Using SNMP

SNMP. Simple Network Management Protocol

PA160: Net-Centric Computing II. Network Management

TÓPICOS AVANÇADOS EM REDES ADVANCED TOPICS IN NETWORKS

RaneNote SNMP: SIMPLE? NETWORK MANAGEMENT PROTOCOL

Network Monitoring. By: Delbert Thompson Network & Network Security Supervisor Basin Electric Power Cooperative

SNMP Network Management Concepts

Cisco CMTS Router MIB Overview

Tutorial on Network Management and Measurements. Tasos Alexandridis

This watermark does not appear in the registered version - SNMP and OpenNMS. Part 1 SNMP.

The ABCs of SNMP. Info Sheet. The ABC of SNMP INTRODUCTION. SNMP Versions

Network Management & Monitoring Introduction to SNMP

Simple Network Management Protocol

Configuring Simple Network Management Protocol (SNMP)

Chapter 38 Simple Network Management Protocol (SNMP)

Chapter 9 Network Management. ISO network management. What is network management? Chapter 9: Network Management. Network Management standards

SNMP Driver Help Kepware, Inc.

An Overview of SNMP on the IMG

TUTORIAL SNMP: STATUS AND APPLICATION FOR LAN/MAN MANAGEMENT. Aiko Pras

IPv6 Ready Logo Phase II

SolarWinds Technical Reference

Understanding Simple Network Management Protocol (SNMP) Traps

Introduction to Simple Network Management Protocol (SNMP)

Network Management. Network Management. Copyright and acknowledgments. Acknowledgements. Pag. 1

Comparison of SNMP. Versions 1, 2 and 3

Jean Parrend 1/6 SNMP. Content. 1. Introduction...1

Presented by Aurang Zeb 14CS-03. Network Management System

Configuring SNMP Monitoring

SNMP Protocol for Easy Network Management

Network Monitoring & Management Introduction to SNMP

(Refer Slide Time: 1:17-1:40 min)

Network Management: - SNMP - Software Defined networking

Configuring SNMP CHAPTER7

Network Management. Copyright and acknowledgments

Network Management. Network management definition? Network Management. Network management definition? Copyright and acknowledgments

Translation between SNMP and SYSLOG Notifications

(In)Security in Network Management

Simple Network Management Protocol (SNMP) Amar J. Desai Graduate Student University of Southern California Computer Science

QoS: CBQoS Management Policy-to- Interface Mapping Support Configuration Guide, Cisco IOS XE Release 3S (Cisco ASR 1000)

Transcription:

TELE9752 Network Operations and Control Lecture 4: Management Protocols VX Copyright 2015 Tim Moors 1

JY Encoding rules BER types BER length and value Example of Basic Encoding Tasks for NM protocols SNMP -------------------------- History & context Messages syslog Protocol: SNMP SNMP history RFC 1052's Recommendation for NM What's in a name: Simple SNMP and UDP SNMP fragmentation SNMP message format Sample SNMP messages Restricting access SNMP communities Communities restrict access MAX-ACCESS + Access Mode SNMP PDU types Standard PDU header brief notes about fields Full list of errors Get requests GetRequest e.g. Address Translation table GetNextRequest Lexicographic ordering GetNextRequest example GetBulkRequest SetRequest Trap notifications SNMPv1-Trap message format Trap information Generic traps SNMPv2-Trap Copyright 2015 Tim Moors Reliability of notifications 2 Get vs Trap Outline

Encoding Rules MIBs define what information is available, but before transfer, it must be encoded. (recall htons() etc in Sockets API) Basic Encoding Rules (BER) are defined in ITU X.690 (originally X.209)/ISO 8825 Alternatives include Canonical, Distinguished and Packed Encoding Rules (CER, DER, PER) BER gives some flexibility in encoding (in particular, in formatting length). DER ensures only one possible encoding - e.g. to facilitate comparison/hashing? Each object is encoded in Type-Length-Value format <RR] Usually 1B Type, 1B Length, variable-bytes Value Exceptions: NULL may have Length=0 => no Value J6 Copyright 2015 Tim Moors 3

BER types UV 1 type byte has 3 parts: 2b: Class 00: universal, e.g. basic data types INTEGER 01: application, e.g. SNMP app: INTEGER32, INETADDRESS. 10: context-specific, e.g. SNMP Get request 11: private like enterprises/private part of OID tree, but here for defining types rather than objects 1b: Primitive (0) or constructed (1) <UZ] 5b: Type/tag, e.g. 02: INTEGER 04: OCTET STRING 05: NULL 06: OBJECT IDENTIFIER 10: ENUMERATED 16: SEQUENCE Bonus mark: Why have a primitive/constructed flag, when that is evident from the 5b type? E.g. INTEGER = primitive; SEQUENCE = constructed Copyright 2015 Tim Moors 4

BER length and value Length fields: (of the value, not the TLV triplet) Short form: 1B, MSb = 0 Long form: 2-127B : 1stB: MSb=1, other bits = length of length other bytes: MSb=0 Values: INTEGERs are encoded in 2s-complement form: +ve: binary form, with MSb=0 -ve: binary form, complemented, then add 1 e.g. -3 = 00000011 -> 11111100 -> 11111101 OCTET STRINGs are not NULL terminated OIDs composed using complicated formula [Kaliski] Copyright 2015 Tim Moors 5 43 Bigger than Google! Which got its name from googol = 1 followed by 100 zeros

Example of Basic Encoding e.g. SNMP header (see Tim's packet zoo b925588b.pcap) version=0, community= public, GetRequest, request-id=0x061f, error-status=0, error-index=0, VarBind OID=SNMPv2-SMI::mib- 2.25.3.2.1.5.1, value=null encoded as (TT=type field, LL=length field): 30 4c 02 01 00 04 06 70 75 62 6c 69 63 a0 3f 02 TT LL TT LL 0 TT LL p u b l i c TT LL TT 02 06 1f 02 01 00 02 01 00 30 33 30 0f 06 0b 2b LL vv vv MG 06 01 02 01 19 03 02 01 05 01 05 00 [2 more varbinds not shown, each taking 17B] type 30 = universal constructed sequence, 02 = integer, 04=OCTET STRING, a0=context-specific: Get request, 06=OID, 05=NULL Copyright 2015 Tim Moors 6

Outline Tasks for NM protocols SNMP 1Z Copyright 2015 Tim Moors 7

Tasks for NM protocols JF Carry content Identify what is to be accessed Encode values Matching responses to requests Introspection - What does the other end support? (protocols & objects [YE>) Asynchronous notifications (Trap/Inform) Fragmentation and reassembly Error control: What if no response received within expected time? Are atomic transactions <AN] supported? Security: Authentication of manager (or even response/notification from agent) Copyright 2015 Tim Moors 8 In this lecture, Manager refers to software being used by the human manager <F3].

Protocol: SNMP Full name: Simple Network Management Protocol Purpose: Convey management information Layer: Application Uses: UDP (or TCP) Identified by: port number 161 (server ) or 162 (traps) Can also operate over other protocols, e.g. Ethertype 0x814C [RFC 4789] Standards: STD15 (historic), STD62: SNMPv3 Versions: 1: RFC 1157, 2: RFC 1905/3416, 3: 2271-5 The server here is the agent operating on the network element Copyright 2015 Tim Moors 9 U8

SNMP history MP Simple Gateway Monitoring Protocol (SGMP) [RFC 1028] 1988: IETF recommends [RFC1052] SNMP for short term, OSI's CMIP for long term. 1990: SNMPv1 1995: v2 (developed with SMIv2) Aimed to improve security, but couldn't agree. Used with weak community strings => SNMPv2c More efficient bulk reading (GetBulkRequest) Confirmed traps (InformRequest) Minor improvements (e.g. more error codes) 1998: v3 SNMPv3 is SNMPv2 plus security and administration [http://tools.ietf.org/html/draft-ietf-snmpv3-intro-01] Copyright 2015 Tim Moors 10

RFC 1052's Recommendation for NM 1. In the short term, the Internet community should adopt and adapt the Simple Network Management Protocol (SNMP) for use as the basis of common network management throughout the system. (Rationale: The software is available and in operation.) 2. In the longer term, the Internet research community and the vendors should develop, deploy and test a network management system based on the International Standards Organization (ISO) Common Management Information Services/Common Management Information Protocol (CMIS/CMIP). 5W (Rationale: The Internet community can take the high ground in protocol development by virtue of the experimental environment in which it can operate. Recommendations to the ISO from this community, the IAB and the vendors will carry great weight if they are in the language of the ISO common network management system and if they are rooted in actual experience with implementation and use in the field.) Copyright 2015 Tim Moors 11

What's in a name: Simple Simple relative to contemporaries (CMIP) Actions <5C] effected through SetRequests Simple agent, but complicated manager. Manager fully responsible for error control, e.g. retransmit Get/Set request; try to detect lost traps. Simple protocol is just part of the system how does the client indicate which piece of information it wants to retrieve... The answer is that SNMP depends on a companion specification called the Management Information Base (MIB). (This explains why SNMP's first name is simple - it doesn't tell the whole story.) - Peterson and Davie, p. 472 QV Copyright 2015 Tim Moors 12

SNMP and UDP SNMP usually used over UDP: no setup overhead leave error control to app: partial info now better than complete info later => NM traffic will affect stats for UDP/IP/ARP/link & may affect state of them (e.g. need to know IP route & have ARP entry) Unsuitable for bulk transfers because UDP has no flow or congestion control Since ca 1999, SNMP can also operate over TCP [RFC 3430: SNMP over TCP Transport Mapping ] P6 Copyright 2015 Tim Moors 13

SNMP fragmentation 0Y Mgr/Agent must support datagrams of at least 484B SNMP avoids IP fragmentation because it increases sensitivity to loss: any fragment loss causes message damage. If Response too large to fit in datagram, Agent gives toobig error & Mgr tries separating large request into several smaller requests. One SNMP message can carry multiple requests - e.g. GetRequest + SetRequest. Response to failure of some requests: Set: All requests in a message succeed or none. Get: SNMPv2 can return values for valid requests and Null for others. Copyright 2015 Tim Moors 14

SNMP message format [RFC1157] Message ::= SEQUENCE { version -- version-1 for this RFC INTEGER { version-1(0) }, community -- community name OCTET STRING, data -- e.g., PDUs if trivial ANY -- authentication is being used } Note that SNMP confusingly uses PDU to name the objects carried in its messages, whereas for most protocols Protocol Data Units are what the protocol exchanges with its peer. Z6 Copyright 2015 Tim Moors 15

SNMP communities Communities define groups of Managers & Agents that are permitted to communicate. Identified by a text string. Default community = public (Until SNMPv3 only authentication of membership is through sending, in plaintext, of community text string => Insecure!) Both Managers & Agents can belong to multiple communities. 62 e.g. Recall Multiple Managers example <TX]. Define EE&T, CSE & UNSW communities. (like local+ global NOC) EE&T Manager belongs to EE&T community alone. Same for CSE. EE&T Elements give read access to EE&T community & read-write access to UNSW community. EE&T & CSE Managers can Get info from their elements, but not Set nor Get info from other's elements. UNSW institutional IT Support Manager belongs to UNSW community & can Get&Set on all elements. Copyright 2015 Tim Moors 16

Communities restrict access Recall <Y5]: SMI defines MAX-ACCESS for each object ( MIB view ): maximum access that makes protocol sense e.g. can't write to sysobjectid Each element defines, for each community, an access mode (READ-ONLY or READ-WRITE) for each object. Permissible access determined by MIB view x access mode (next slide [N0>) 3X Copyright 2015 Tim Moors 17

MAX-ACCESS + Access Mode MIB view Community Access Mode MAX-ACCESS READ-ONLY READ-WRITE read-only Get & Trap read-write Get&Trap Get&Trap & Set read-create Get&Trap Get&Trap & Set accessible-for-notify Trap not-accessible - can't Set In terms of actual PDUs, listed later [KW>: Get = GetRequest + GetNextRequest + GetBulkRequest Trap = SNMPv2-Trap + InformRequest Set = SetRequest N0 Copyright 2015 Tim Moors 18

SNMP messages Main types of PDUs : Requests: Get & Set Responses to requests Trap notifications Full list on slide [KW> Use Wireshark to view packets in Tim's Packet Zoo [http://uluru.ee.unsw.edu.au/~tim/zoo/index.html#snmp] 2 examples on the following slides PX Copyright 2015 Tim Moors 19

XG Copyright 2015 Tim Moors 20 Text in figure: SNMP get-request

2H Copyright 2015 Tim Moors 21 Text in figure: SNMP get-response

KW SNMP PDU types [RFC3416] Bold green=new for SNMPv2 Italic blue=modified names + PDUs ::= CHOICE { get-request GetRequest-PDU, get-next-request GetNextRequest-PDU, get-bulk-request GetBulkRequest-PDU, response Response-PDU, set-request SetRequest-PDU, inform-request InformRequest-PDU, snmpv2-trap SNMPv2-Trap-PDU, report Report-PDU } (Report-PDU is not further defined.) + Name changes: get-response -> response, trap->snmpv2trap Copyright 2015 Tim Moors 22

Outline standard PDU header error fields & error control VarBinds and multiple PDUs Get Get-next Get-bulk Set Notifications Traps Inform (week 6: RMON alarms [Z5>) MR Copyright 2015 Tim Moors 23

Standard PDU header PDU ::= SEQUENCE { request-id INTEGER (-214783648..214783647), error-status INTEGER {noerror(0), toobig(1),... }, error-index INTEGER (0..max-bindings), variable-bindings VarBindList } GetBulkRequest replaces error-status and errorindex with non-repeaters & max-repetitions Trap messages have different format (for no good reason) 5R Copyright 2015 Tim Moors 24

brief notes about fields request-id: allows Manager to match responses to requests. SNMP doesn't standardise error control: leaves recovery from loss to the implementation Error fields are ignored on requests error-status: Full list on next slide [1Q>. error-index: Identifies which variable caused an error (if any) by indicating the position of the variable in the VarBindList R6 Variable-bindings (VarBinds): Pairs of variable identifiers (OID) and value. Both are encoded using BER (e.g. type of variable=oid, type of value = INTEGER) Copyright 2015 Tim Moors 25

Full list of errors noerror(0) toobig(1) Hooray! Couldn't fit response in datagram Access errors: readonly(4), noaccess(6), nocreation(11), notwritable(17), Encoding errors: wrongtype(7), wronglength(8), wrongencoding(9), wrongvalue(10), Other errors: generr(5), nosuchname(2), badvalue(3), inconsistentvalue(12), resourceunavailable(13), commitfailed(14), undofailed(15), authorizationerror(16), inconsistentname(18) 1Q Copyright 2015 Tim Moors 26

GetRequest Self-explanatory?! Note OIDs used to identify scalars: OID.0, e.g. sysuptime.0 cells of tables: OID(table entry).col.indexvals, e.g. [QC> K5 Doesn't OID + value = redundancy for GetRe*?: Request to agent: Value set to NULL Kept for consistency with Reponses & SetRequests Response to Manager: GetRequest => OID but OID useful for: partial response to multiple GetRequests GetNextRequest Copyright 2015 Tim Moors 27

(Get-)Response SNMPv1 defines a get-response PDU, but uses it to respond to Get or Set requests. SNMPv2 rightly renames it to just Response. Response to get-requests provides object value Response also acknowledges request [WA> CY Copyright 2015 Tim Moors 28

GetNextRequest GetNextRequest allows Mgr to get objects that it doesn't yet know the identities of (data from tables of variable size) - known as walking a MIB GetNextRequest renders GetRequest redundant GetNext(predecessor(x)) = Get(x) Get(scalar.0) = GetNext(scalar) If there is nothing next, value = endofmibview Need to specify OID that acts as reference for next. Not just for the 1st access: Also for successive accesses since SNMP operates over unreliable UDP. See RFC 3416 for details. The varbind includes the object ID and a choice of a value or error codes such as endofmibview YE Copyright 2015 Tim Moors 29

Lexicographic ordering GetNextRequests require a linear ordering of objects in the tree. Lexicographic ordering : Access children before accessing siblings (objects with same parent). i.e. depth-first traversal of tree. Access siblings in order of numerically increasing OID. Q6 Copyright 2015 Tim Moors 30 ORIGIN from Greek lexikon biblion book of words, from lexis word.

e.g. Address Translation table AT is deprecated by MIB-II <N5], but used in examples from Subramanian (forthcoming Figs) and Stevens pp. 375-6 1.3.6.1.2.1.at(3).atTable.atEntry(1). MIB definition: QC atentry OBJECT-TYPE... SYNTAX AtEntry... INDEX {atifindex,atnetaddress} ::= {attable 1} AtEntry ::= SEQUENCE { atifindex INTEGER, atphysaddress PhysAddress, atnetaddress NetworkAddress } Figure and example from Stevens atphysaddress.1.1.140.252.1.4=0xaa:00:04:00 atphysaddress.1.1.140.252.1.22=0x08:00:20:0 atphysaddress.2.1.140.252.6.6=0x00:02:3c:48 atnetaddress.1.1.140.252.1.4=140.252.1.4 atnetaddress.1.1.140.252.1.22=140.252.1.22 atnetaddress.2.1.140.252.6.6=140.252.6.6 These.1s exist because atnetaddress offers a choice of Copyright 2015 Tim Moors 31 network addresses, with the.1 choice being an IPv4 address

GetNextRequest example KP Copyright 2015 Tim Moors 32 Fig. 5.16 from Subramanian, mistakenly omits the.1 before the IP address <QC]

GetBulkRequest 0L GetNextRequests require many exchanges => network load delay GetBulkRequest allows repeated GetNext without resending request 2 new fields (replacing error indicators of dubious value in requests): non-repeaters (replaces error-status): How many vars @ head of VarBind list are to NOT be repeated (i.e. just GetNext for these)? max-repetitions (replaces error-index): For remaining variables, how many repetitions are sought? (subject to object availability & space in message) Copyright 2015 Tim Moors 33

GetBulkRequest example P7 Fig. 6.42 from Subramanian, mistakenly omits the.1 before the IP address <QC] Note that the last line of the 1st response should probably be 23.192.168.3.1 Bonus marks: Why doesn t the 2 nd GetBulkRequest return 3 objects starting with ip.forwarding? Is there some check that if the next object requires ascending the tree then just return 1, e.g. to protect here from reading too much outside the table? Copyright 2015 Tim Moors 34

SetRequest Response to SetRequest echoes new value back to manager SetRequest rarely enabled prior to SNMPv3 due to insecurity. There is no SetNextRequest. Instead use GetNextRequests to identify objects, and then set Recall <AN] spinlocks exist to prevent values being set when being accessed by others. MC Copyright 2015 Tim Moors 35

SNMPv1-Trap message format 91 IMPLICIT SEQUENCE { enterprise -- type of object generating trap OBJECT IDENTIFIER, agent-addr -- address of object generating NetworkAddress, -- trap generic-trap -- generic trap type INTEGER {coldstart(0), warmstart(1),... enterprisespecific(6)}, specific-trap -- specific code INTEGER, time-stamp -- time since element rebooted TimeTicks, variable-bindings VarBindList Copyright 2015 Tim Moors 36 } [RFC1157] errors: object should be network element

Trap information Trap messages provide asynchronous notifications: element tells manager, without being requested by manager agent-addr: Element may not run its own agent & may not have a unique IP address (e.g. may have multiple interfaces; may use private IP addresses) => agent-addr to identify source of info VarBindList - e.g. identifying interface that went up/down Exercise: Consider how trap could be expressed in same format as Response. LP Copyright 2015 Tim Moors 37

Generic traps Startup traps: Element is reinitializing => Manager can: Investigate the cause Correctly interpret objects of TimeTicks type Consider repairing configuration (coldstart) coldstart(0): startup + config may have been altered. warmstart(1): startup + config unaltered. Change in link (interface) status: linkdown(2), linkup(3) EU authenticationfailure(4): Message having invalid community field received. egpneighborloss(5), enterprisespecific(6) Copyright 2015 Tim Moors 38

SNMPv2-Trap QK 1st 2 variables are always sysuptime and snmptrapoid Identify type of trap with OID instead of integer, e.g. internet.snmpv2.snmpmodules.snmpmib.snmpmibobjects. snmptraps.linkdown & defined using SMI NOTIFICATION- TYPE macro, e.g. linkdown NOTIFICATION-TYPE OBJECTS { ifindex } STATUS current DESCRIPTION "A linkdown trap signifies that the SNMPv2 entity, acting in an agent role, recognizes a failure in one of the communication links represented in its configuration." ::= { snmptraps 3 } Copyright 2015 Tim Moors 39

Reliability of notifications Trap messages may be lost => Manager unaware of event +. Partially to simplify agent: no need to buffer and retransmit. Undesirable in a hierarchy of management agents: May want to forward traps up hierarchy and lower agent has resources to retransmit. SNMPv2 introduces InformRequest: Same content as a Trap but recipient confirms receipt by sending a Response. Retransmission policy implementation-dependent. + A manager might later detect a missing coldstart/warmstart trap when it notices that the sysuptime is not what it expects, given its knowledge of previous startup times. Copyright 2015 Tim Moors 40 WA e.g. An EE&T Manager <TX] ( lower agent ) could collect EE&T traps & forward relevant ones to UNSW parent.

missing alarms missing down alarms spurious down noise The Fault Mgt lecture will discuss [LA> how to reduce and correct such noisy data Copyright 2015 Tim Moors NR Figure from www.cs.princeton.edu/~jrex/talks/trfmeas_part2a.ppt 41

Get vs Trap PTO for pic. (Like polling vs interrupts for computer I/O): Traps better than Get: # of messages exchanged: Often Get no change. Timeliness: Time between event and next Get. except element failures: may prevent notification with trap => detect from Get time out Get better than Trap: Timeliness of detecting element failure. e.g. time to next Get + timeout vs detect never or after element restarts. Robustness? (InformRequest intended to rectify this) Comer 9.12-14 Copyright 2015 Tim Moors 42 AZ

!!! Copyright 2015 Tim Moors 43

Outline syslog KG Copyright 2015 Tim Moors 44

syslog Many Mgrs prefer CLIs to SNMP Get/Set (particularly before SNMPv3 security). But CLI provides no asynchronous notifications. => Often augment with syslog syslog originated from Unix for logging system events IETF extensions: network event notifications protocol for carrying syslog data A8 Fig. 8.7 from Clemm Copyright 2015 Tim Moors 45

Protocol: syslog Full name: syslog / system log Purpose: Convey event notification messages Layer: Application Uses: UDP (or TLS over TCP) Identified by: port number: UDP 514 or TCP 6514 Standards: Proposed Standard Versions: 1: RFCs 5424-7 (Mar. 2009) (ancestor: RFC 3164) ZM Copyright 2015 Tim Moors 46

MAC addr & message suggest this is from a Nokia IPSO firewall http://uluru.ee.unsw.edu.au/~tim/zoo/d3d256da.pcap Copyright 2015 Tim Moors 47 TP

Things to think about!!!! Critical thinking: Could OIDs be encoded more efficiently, e.g. using prefix pointers like the suffix pointers in DNS packets? Could encoding rules be defined to optimise encoding of groups of objects rather than singular objects? Engineering methods: We ve seen how SNMP messages allow polling/interrupts as in computer architecture. Links to other areas: IPFIX/Netflow for performance management has more efficient encoding of bulk data In Fault Management we ll consider how to diagnose faults when symptoms are error prone (e.g. trap messages lost) Independent learning: Copyright Tim Moors 2015 48 On the Future of Internet Management Technologies

The end for this week SNMPv3 covered in security lecture Mid-session test covers material up to here Consultation time: Wednesdays 5:00-5:15 + pm in room 341 Copyright 2015 Tim Moors 49