Ch. 31 Q and A IS 333 Spring 2015 Victor Norman. SNMP, MIBs, and ASN.1 SNMP defines the protocol used to send requests and get responses. MIBs are like.

Slides:



Advertisements
Similar presentations
Top-Down Network Design Chapter Nine Developing Network Management Strategies Copyright 2010 Cisco Press & Priscilla Oppenheimer.
Advertisements

Ch. 23, 25 Q and A (NAT and UDP) Victor Norman IS333 Spring 2014.
Implementing a Highly Available Network
Keeping Tabs on Your Network First, a Horror Story Types of Management Tools What is SNMP? Dartmouth’s Net Management InterMapper demo Questions Rich Brown.
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 24 Network Management: SNMP.
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.
Oct 21, 2004CS573: Network Protocols and Standards1 IP: Addressing, ARP, Routing Network Protocols and Standards Autumn
Chapter 23: ARP, ICMP, DHCP IS333 Spring 2015.
COMP4690, by Dr Xiaowen Chu, HKBU
Announcements List Lab is still under construction Next session we will have paper discussion, assign papers,
SNMP & MIME Rizwan Rehman, CCS, DU. Basic tasks that fall under this category are: What is Network Management? Fault Management Dealing with problems.
Ch 20 Q and A IS333, Spring 2015 Victor Norman. Universal Service Means every computer can talk “directly” with every other one. A message is not addressed.
Q and A, Ch. 21 IS333, Spring 2015 Victor Norman.
Guide to TCP/IP, Third Edition Chapter 11: Monitoring and Managing IP Networks.
Network Management: SNMP
Introduction to SNMP AfNOG 11, Kigali/Rwanda.
Ch. 31 Q and A CS332 Spring Network management more than just Ethernet Q: Comer mentions that network managers need to be able to account for different.
SNMP (Simple Network Management Protocol) Jon Sevy Geometric and Intelligent Computing Laboratory Department of Mathematics and Computer Science Drexel.
ENS 1 SNMP M Clements. ENS 2 Simple Network Management Protocol Manages elements in networks – E.g. routers, switches, IP phones, printers etc. Uses manager.
Chapter 6 Overview Simple Network Management Protocol
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 ( Simple Network Management Protocol ) based Network Management.
1.  TCP/IP network management model: 1. Management station 2. Management agent 3. „Management information base 4. Network management protocol 2.
SNMP (Simple Network Management Protocol)
SNMP ( Simple Network Management Protocol ) based Network Management.
Internet Control Message Protocol (ICMP)
DNS (Domain Name System) Protocol On the Internet, the DNS associates various sorts of information with domain names. A domain name is a meaningful and.
9/15/2015© 2008 Raymond P. Jefferis IIILect Application Layer.
SNMP (Simple Network Management Protocol)
1 © 1999 BMC SOFTWARE, INC. 2/10/00 SNMP Simple Network Management Protocol.
Top-Down Network Design Chapter Nine Developing Network Management Strategies Oppenheimer.
Communication and Functional Models
BAI513 - PROTOCOLS SNMP BAIST – Network Management.
CS 453 Computer Networks Lecture 22 Network Management.
Lec 3: Infrastructure of Network Management Part2 Organized by: Nada Alhirabi NET 311.
1 Network Management: SNMP The roots of education are bitter, but the fruit is sweet. - Aristotle.
Basic component of Network Management Woraphon Lilakiatsakun.
SNMP 1. SNMP is an Internet protocol developed by the IETF. It is designed to facilitate the exchange of management information between network elements.
Chapter 23: ARP, ICMP, DHCP CS332, IS333 Spring 2014.
1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Dynamic Host Configuration Protocol (DHCP)
Network Management  introduction  Internet SNMP: Simple Network Management Protocol  required reading: section 7.3 in text.
Network Layer: Address Mapping, Error Reporting, and Multicasting
Internet Flow By: Terry Hernandez. Getting from the customers computer onto the internet Internet Browser
Chapter 36 Network Management & SNMP. Network management monitors network related hardware & software; troubleshoot network problems Detects major failures.
1 15-Mar-16 VLAN Trunking protocol CCNA Exploration Semester 3 Chapter 4.
Q and A, Ch. 21 IS333, Spring 2016 Victor Norman.
Address Resolution Protocol Yasir Jan 20 th March 2008 Future Internet.
Ch. 23, 25 Q and A (NAT and UDP) Victor Norman IS333 Spring 2015.
Ch. 31 Q and A IS 333 Spring 2016 Victor Norman. SNMP, MIBs, and ASN.1 SNMP defines the protocol used to send requests and get responses. MIBs are like.
Chapter 27 Network Management Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Simple Network Management Protocol
IP: Addressing, ARP, Routing
SNMP.
Karl Quinn 23rd November 2004 NDS M.Sc.
Network Management: SNMP
Chapter 21 Address Mapping
SNMP M Clements ENS.
Network Environment Management
Instructor Materials Chapter 5: Ethernet
Instructor & Todd Lammle
SNMP M Clements ENS.
© 2002, Cisco Systems, Inc. All rights reserved.
Net 323: NETWORK Protocols
Network Environment Management
SNMP M Clements ENS.
SNMP (Simple Network Management Protocol) based Network Management
SNMP (Simple Network Management Protocol) based Network Management
Ch 17 - Binding Protocol Addresses
Chapter 5: Link Layer 5.1 Introduction and services
Presentation transcript:

Ch. 31 Q and A IS 333 Spring 2015 Victor Norman

SNMP, MIBs, and ASN.1 SNMP defines the protocol used to send requests and get responses. MIBs are like database schema, defined for common stuff on machines: interfaces, IP statistics, routing tables, ARP tables; and for device-specific values and tables. ASN.1 is how the values and table entries are encoded in requests and responses. – It is a very nasty encoding – bit oriented in some places.

SNMP, MIBs, and ASN.1 (cont) “SNMP defines the format of packets (or protocol) used to get and set MIB variables on an agent. The packets are formatted using ASN.1 encoding.” Variables are identified with a quadruple: (object-id, type, len, value)

SNMP: what layer? Q: What layer does SNMP live at? A: Layer 5. It is carried over UDP typically, ports 161 and 162. Q: Will SNMP work with IPv6? A: Yes, no problems.

Element Management Q: Are element management systems still used today? They seem really time-consuming. A: They are very much used today. When we configured the Cisco Catalyst router in lab, we were doing element management. Everything we did could have been done via SNMP and/or a GUI tool provided by Cisco or a third party.

Managers, agents, etc. A manager is a client, of one or more agents. – Application that gets/sets data on the agents. – sends SNMP queries. An agent runs on a managed device – router, switch, NAT, etc. – responds to SNMP queries. Summary: manager = client, agent = server.

Root-cause Analysis Figuring what what is really wrong in a network when you get various reports. SNMP agents can be configured to generate “traps” – sent to the manager when something goes wrong. – link goes down, utilization hits 60%, etc. Usually when something goes wrong, you’ll get multiple traps, which can be automatically analyzed to determine the root cause. – power failure, mis-configuration, ethernet cut, etc.

Network Management Tools Q: Are many of the networking management tools (in 31.5) automatic or do they have to be actively used? A: A lot of these tasks can be automated. Configuration is not often automated (AFAIK). Neither is planning. Discovery is automated, with help.

Old Slides

SNMP Packet Format Q: What does an SNMP packet look like? A: 1 byte PDU type (get/set/get-next/trap) request id error status error index repeat: (object-id, type, len, value)

FCAPS Q: In the working world how is the responsibility of the FCAPS shared? Is one person's job or does this depend on the size of the organization? A: AFAIK, the jobs are distributed. A team in the NOC (Network operations center) handles errors (“faults”). Another team is responsible for provisioning/configuration – because they are dealing with customer requests, etc. Accounting and billing are a totally different department.

Controlling devices Q: How is SNMP used to control a device exactly? It uses the fetch and store paradigm and it talks about resetting a counter, but what about other operations? A: Most of the time SNMP is used for monitoring – getting the status of devices (routers, switches, network file servers, etc.). When stuff is configured, SNMP sets are done to write the correct values to the MIBs on the devices. E.g., you could change the default route on all routers with a set of SNMP set requests. Or clear all ARP caches.

ASN.1 Q: How does ASN.1 work? A: ASN.1 is an encoding standard. It defines how you encode data for different types: how to send an integer, a string, a bit string, an object-id, a real number, a null, etc. It also tries to minimize the space it takes to encode things. As a result, it is barf-making. A truly evil thing. (As a result, when you build the SNMP data part, you build it backwards in memory, and then reverse-copy it into the packet memory to be sent.)

Why ASN.1? Q: Why exactly does SNMP use ASN.1 encoding? A: Because it is general and was there… Or because some group was feeling nasty and decided that misery loves company… Or maybe it was an April Fool’s joke that “went viral”…

How/where are values stored? Q: In the fetch-store paradigms used for SNMP, how and where are the values stored in a device? A: They are stored somewhere on the device in memory – in the device drivers or OS somewhere. We stored our data in the OS and then queries to values retrieved them out of the OS, and formatted them to be returned.

MIB discovery Q: How can you discover all of the valid fields in the MIB for a given device? A: 1. You read the MIB – or use a management app that has them built in. 2. You use the app to “walk” the MIB tree on the device, using repeated get-next requests. This is how you discover all the interfaces on a machine, e.g., or if the machine will report its ARP table.

SNMP Traps SNMP also has something called “Traps” or “Alerts” A machine for network management configures managed devices to send errors to it when they happen. The net mgmt application displays/summarizes them so that a network manager can see when something really bad happens. The manager then has to find the root cause.