Network Design and Operations

Using SNMP, a router interface's 64-bit counter of received bytes is read every 5 minutes (300 seconds). The previous reading was 1,200,000,000 and the current one is 4,950,000,000. Which is closest to the average receive rate over these 5 minutes?

  1. A12.5 Mbps
  2. B100 Mbps
  3. C500 Mbps
Show answer and explanation

Answer: B. 100 Mbps

The interface received 4,950,000,000 − 1,200,000,000 = 3,750,000,000 bytes in 5 minutes, or 3.75×10⁹ × 8 = 3×10¹⁰ bits. Dividing by 300 seconds gives 1×10⁸ bit/s, or 100 Mbps. In SNMP, the managing side (the manager) queries MIB values from the agent on the device and, as here, works out traffic from differences between counter readings to draw graphs. A 32-bit counter wraps back to 0 after 2^32 ≈ 4.29×10⁹ bytes, which at 100 Mbps takes only about 344 seconds, so 64-bit counters are used for fast interfaces.

  • A. This value does not convert bytes to bits (it is 12.5 MB/s).
  • B. Correct. 3.75×10⁹ × 8 ÷ 300 = 1×10⁸ bit/s.
  • C. This divides the difference by 60 seconds instead of 300.
Practice this topic Back to topic

Related calculators

Books on Network Design and Operations Ad

As an Amazon Associate I earn from qualifying purchases.

More Network Design and Operations questions

  1. For the traffic passing through a router, you want to find out how many bytes are taken up by each combination of source and destination (addresses, port numbers and protocol), aggregated per stream of traffic. Which mechanism is the most appropriate to use?
  2. From a PC, ping with an IP address reaches a server on the internet, but when a domain name is entered in the browser it shows "server not found" and the web page does not open. Which setting is the most appropriate to check first?
  3. When an L2 switch receives a frame, which information does it record in its MAC address table?
  4. An L2 switch with an empty MAC address table has devices on ports 1 to 4, all in the same VLAN. PC-A on port 1 sends a frame to PC-B on port 2, and PC-B then sends a reply frame to PC-A. How are the two frames forwarded?
  5. An L2 switch with four PCs is connected to one interface of a router. A repeater hub with three PCs is connected to the router's other interface. No VLANs are used. Counting a collision domain as the range in which frames can collide on half-duplex Ethernet, which is the correct pair of numbers of broadcast domains and collision domains?

Comparisons in this topic