Search this Blog

Sunday, January 19, 2014

How to migrate H.323/MGCP gateway configuration across router models in bulk?


Lets think of an organization which has about 100 branch sites. At each of these sites, there is a router which behaves as a gateway for calls going out of that particular branch site. All of these 100 routers are Cisco2821.

The management then calls for an overhaul of the infrastructure, and wants to deploy Cisco3825 gateways in place of the 2821s. How would we migrate the MGCP/H.323 configuration (including PRI and module slot configuration) from the earlier 2821 models to the new 3825 models? The major hurdle here is the fact that there is no common database for the configuration of MGCP/H.323 gateways in call manager across different router models. Therefore, the exported configuration of a 2821 router can only be directly imported as a 2821 router. The model number cannot change. This procedure is not the normal Export, Change and Import.  
The only options present in BAT for gateway templates and the like is for VG204s and VG224s. How are we supposed to migrate the configuration from one model to another?

  1. Export your entire gateway configurations to an excel file. You will use this later.
  2. Create a 3825 gateway as a test, and configure its module slots with  the required entries for the T1E1 PRI. You will need to create this  gateway and cannot change the ‘Cisco 2821’ gateway type to ‘Cisco 3825’  by just renaming.
  3. Also, configure the T1E1 ports as needed.
  4. Export this configuration using BAT to a CSV file.
  5. In the CSV file, you will see the Gateway name, the slot configuration, and the PRI configuration as 3 separate sections.
bat1.jpg

   6. Copy the entries and add to the sections, the new gateways that you  would like to import into the call manager. This   is the information  from the older gateways that you exported in step 1. Make any  modifications necessary in terms of the slot configurations, device pool  and other settings.

bat2.jpg

   7. Once this is done, save the excel file with the same name as it was exported.
   8. Open this csv file in Notepad++. You will see a lot of extra commas in the file. Remove all the excess commas, and save the fileThis is an important step. Without this, the import will fail.


bat3.jpg
    
   9. Upload  the file to the call manager using BAT -> Upload/Download files.  Then navigate to BAT -> Import/Export. Choose this uploaded file, and  import. Also click Overwrite any settings.
10. Check under BAT -> Job Scheduler for the job to be complete.
11. Check under Device -> Gateway and see if the new gateways are added.



Citation - This blog post does not reflect original content from the author. Rather it summarizes content that are relevant to the topic from different sources in the web. The sources might include any online discussion boards, forums, websites and others.

No comments :

Post a Comment

 
/* Google Analytics begin ----------------------------------------------- */ /* Google Analytics end ----------------------------------------------- */