Hi Veer,
Are you in SAP PI 7.0 or 7.1?, your thread subject is different to the following text.
Check:
Carlos Ocampos's blog How to migrate Communication Channels from SAP PI 7.0 to SAP PI 7.31 using Directory API.
Anil Veepuri's blog SAP tool to migrate dual stack ID objects to Integrated Configuration Objects (ICO) - PI 7.3 EHP1, SP07
Regards.