Conversions and Formulas Flashcards
Convert from Hex to Decimal.
- Hex is base16
- Example:
- Take the hex number 7DE and change each digit to its decimal equivalent
- 7 = 7
- D = 13
- E = 14
- Multiply every digit with 16 power of digit location
- 7DE is a hex number
- 7DE = (7 * 162) + (13 * 161) + (14 * 160)
- 7DE = (7 * 256) + (13 * 16) + (14 * 1)
- 7DE = 1792 + 208 + 14
- 7DE = 2014 (in decimal number)
- Take the hex number 7DE and change each digit to its decimal equivalent
QOS - convert AF value to DSCP
- The formula is 8(x) + 2(y) where x is the first digit of the AF value and y is the second.
- Example:
- AF41
- AF41 = (8 x 4) + (2 x 1)
- AF41 = 32 + 2
- AF41 = DSCP 34
Formula to calculate Tc
(Bc [bits] / CIR [bps]) × 1000
Formula to calculate Bc
CIR × (Tc / 1000).
What is the formula to find the number of Tc’s in 1 second?
1000 ms / Tc[ms]
Formula to determine how many packets conform within each Tc?
Bc / packet size in bits (rounded down)
What is the formula to find out how many packets would be sent in 1 second?
Number of packets that conform within each Tc × Tc’s per second
Formula to determine the CIR
Packets per second × Packet size in bits
Formula to calculate the time interval it would take for 1000 packets to be sent at interface line rate?
(Bc [bits] / Interface speed [bps]) × 1000