Following my earlier post about the Hunter Free Tools Initiative, we are starting with the Ericsson 2G parser. The name of parsers is Boda.
Boda parsers are written in Java and distributed as “.jar” files. The easiest way to run a jar file in Windows,is to use the command prompt. (To run the command prompt, look for “cmd.exe”). The parsers can be used on other platforms that have java installed besides Windows. This write up focuses on Windows as it is the currently supported platform for the Hunter tools.
Note: This specific post is for Ericsson 2G issues only. If you have questions regarding other Vendor/RAT, either find another topic or create a new topic - if not already created.
Below are the necessary procdures to obtain an Ericsson CNAI dump and parse it. Enjoy!
Step by step procedure to download and configure Hunter Boda Ericsson 2G (CNAIv2 TXT) parser
Click the link below and download boda parser to an appropriate folder in your computer.
Tip: follow Hunter suggested structure, so it will be easier to organize future parser versions, and also other parsers for other RATs. Download link: boda-ericssoncnaiparser.zip (6.3 KB)
The Hunter Structure starts with a “Hunter” base folder. Then, a subfolder for “Boda”. In the Boda folder, create a folder for this parser (“Ericsson 2G”). And finally, the module folders: “Scripts”, “Output” and “Data”.
So, for now, following the Hunter Folder Structure, download BODA Parser “boda-ericssoncnaiparser.jar” to “C:\Hunter\Boda\Ericsson_2G\Scripts”
Step by step procedure to download Ericsson 2G Configuration Parameters File (CNAIv2 TXT) from OSS
Now, let’s obtain the raw dump CM file.
Log in into Ericsson OSS via Citrix.
Launch Terminal: Launch -> Applications -> Utilities -> Terminal
Run CNAI version 2 command: > cnai export valid -i > YourFileName.txt (Change YourFileName properly). (This command will export All Ericsson 2G parameters to a file. To see where this file is stored, you can run ‘pwd’ command and check current directory.)
Using any FTP Client program (such as Filezilla), download the file from OSS to your computer.
Following the Hunter Folder Structure, download the file to “C:\Hunter\Boda\Ericsson_2G\Data<aammdd>”. You can modify “” to anything you want - just make sure that it can be easy for you to find it later.
Step by step procedure to parse (process/extract) Ericsson 2G Configuration Parameters
With the raw dump file downloaded, let’s extract the Parameters.
First, check if the downloaded files are compressed (ZIP, RAR, 7-z, GZ, etc…). If so, uncompress it using any Compress/Uncompress utility such as Winzip, Winrar or 7-zip.
We need to run a command. It is best practice to create a auxiliary text file, to store/modify the command.
Under the Scripts folder, create a file called “ericsson_2g_cnaiv2_usage.txt” to contain the command.
Adjust the command based on usage:
Run it, and wait to finish.
IMPORTANT: Please make sure you run the command on ONE LINE ONLY (not on separate lines).
All your parameters are extracted into CSV files - that can be opened using any text editor such as Microsoft Excel or Access.
java -jar C:\HUNTER\Boda\Ericsson_2G\Scripts\boda-ericssoncnaiparser.jar C:\HUNTER\Boda\Ericsson_2G\Data\example_data_subfolder\example_cm_file.txt C:\HUNTER\Boda\Ericsson_2G\OThis text will be hiddenutput\example_output_subfolder\
- “C:\HUNTER\Boda\Ericsson_2G\Data\example_data_subfolder” is the folder where you have your dump file;
- “example_cm_file.txt” is your dump file;
- “C:\HUNTER\Boda\Ericsson_2G\Output\example_output_subfolder” is the folder where all CSV files will be created.
For a more detailed example, please check this topic: General instructions for using the CM parsers to process any network dump
Hope you all find this useful.
Help us by inviting friends to the community, giving suggestions/feedback and of course submitting any issues you may find.
Let’s build a totally new Telecom/IT Global Community.