Ch. 31 Q and A. IS 333 Spring 2014. 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?
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.
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.
Q: What does an SNMP packet look like?
A: 1 byte PDU type (get/set/get-next/trap)
repeat: (object-id, type, len, value)
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.
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.)
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”…
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.
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.