Specifications

9-2
Cisco MGX 8260 Command Line Interface Guide
Release 1.2, Part Number 78-10987-01 Rev. B0, January, 2002
Chapter 9 Command Reference
Understanding Bitmaps
Understanding Bitmaps
The MGX-8260 command line interface reports some parameters as binary bitmaps. A bitmap is a
compact way of representing multiple binary indicators using a single decimal value. To interpret the
bitmap, you must convert it to a binary number and then interpret the individual bit positions.
For example, the MGX-8260 Media Gateway reports the card service type as a decimal value that
indicates one of four possible service types. To interpret the decimal value, convert it to a binary value
using a decimal to binary conversion tool such as the Microsoft Calculator in the scientific mode.
Assume the MGX-8260 command line interface reports a decimal value of 4. The binary equivalent is
0100. Each bit of the binary number is mapped to a specific card service type:
A bit position is set when it contains a one. In this case, the binary value sets bit position two. To
determine the card service state, use the following service translation table:
Therefore, the service state is Voice. In this example the bit positions are mutually exclusive because
you can only have one service state at a time. There following values are possible:
The values of other bitmaps, such as alarm bitmaps, are not mutually exclusive, and any value is
permitted. The conversion process is the same in both cases.
Table 9-1 Binary Bits versus Binary Values
Bit Position 3210
Binary Value 0100
Table 9-2 Bitmap Translations
Bit position Service
Bit 0 ATM (reserved for future use)
Bit 1 Frame Relay (reserved for future use)
Bit 2 Voice
Bit 3 IP Emulation (reserved for future use)
Table 9-3 Valid Bitmaps for Service State
Decimal value Binary value Service
10001ATM
2 0010 Frame Relay
40100Voice
8 1000 IP Emulation