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.

Slides:



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

Implementing a Highly Available Network
TCP/IP Protocol Suite 1 Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display. Chapter 24 Network Management: SNMP.
Troubleshooting.
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
CSCI 4550/8556 Computer Networks Comer, Chapter 19: Binding Protocol Addresses (ARP)
Network Administration Procedures Tools –Ping –SNMP –Ethereal –Graphs 10 commandments for PC security.
Chapter 23: ARP, ICMP, DHCP IS333 Spring 2015.
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.
SNMP and CMIP By, Vishwajit Singh Srigiri Laxman Srinivas ISQS 6341, Spring 2000.
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.
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
Network Management: SNMP
Introduction to SNMP AfNOG 11, Kigali/Rwanda.
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.
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.
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.
Emanuele Pasqualucci Extending AppManager Monitoring with the SNMP Toolkit.
SNMP (Simple Network Management Protocol)
SNMP ( Simple Network Management Protocol ) based Network Management.
NMS Labs Mikko Suomi LAB1 Choose SNMP device managment software Features: –Gives Nice overview of network –Bandwith monitoring –Multible.
1 Kaseya Advanced Workshop Developed by Kaseya University Powered by IT Scholars Kaseya Version 6.2 Last updated on June 25, 2012 DAY TWO.
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.
SNMP (Simple Network Management Protocol)
Top-Down Network Design Chapter Nine Developing Network Management Strategies Oppenheimer.
BAI513 - PROTOCOLS SNMP BAIST – Network Management.
Cisco S2 C4 Router Components. Configure a Router You can configure a router from –from the console terminal (a computer connected to the router –through.
CS 453 Computer Networks Lecture 22 Network Management.
CS332, Ch. 26: TCP Victor Norman Calvin College 1.
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)
Basic component of Network Management Woraphon Lilakiatsakun.
Network Management  introduction  Internet SNMP: Simple Network Management Protocol  required reading: section 7.3 in text.
Company LOGO Network Management Architecture By Dr. Shadi Masadeh 1.
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.
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.
Chapter 27 Network Management Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
IP: Addressing, ARP, Routing
SNMP.
Karl Quinn 23rd November 2004 NDS M.Sc.
Lec 5: SNMP Network Management
SNMP M Clements ENS.
Instructor & Todd Lammle
SNMP M Clements ENS.
CHAPTER 3 Architectures for Distributed Systems
Top-Down Network Design Chapter Nine Developing Network Management Strategies Copyright 2010 Cisco Press & Priscilla Oppenheimer.
BOOTP and DHCP Objectives
© 2002, Cisco Systems, Inc. All rights reserved.
Net 323: NETWORK Protocols
SNMP M Clements ENS.
CCNA 3 v3 JEOPARDY Module 8 CCNA3 v3 Module 8 K. Martin.
Lec 5: SNMP Network Management
SNMP (Simple Network Management Protocol) based Network Management
SNMP (Simple Network Management Protocol) based Network Management
Top-Down Network Design Chapter Nine Developing Network Management Strategies Copyright 2010 Cisco Press & Priscilla Oppenheimer.
Presentation transcript:

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 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 defined and 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)

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.)

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.

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.

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.

Why Element Management? Q: If element management is so labor intensive and prone to errors, then why is it done? What is a better way? A: It is labor intensive if you have 10s or 100s of devices in your network. A better way to go is to have a tool in which you can select your devices and an operation to do on them all, and click a button.

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.

How are ‘set’s handled? Q: Does the system constantly check to see if a value is set (e.g., to set a value to cause the system to reboot)? A: No. SNMP is typically implemented as a separate layer that makes function calls into the system to perform operations: get or set values. Just like the CLI does.

Traps/Notifications SNMP agents can be configured to send updates to managers when some event happens. – Link goes down/up. – Link use gets near to capacity. – User logs in to system. – Service starts up or goes down – etc.

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.

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

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.