Cisco Headend System Release 2.7 User Guide

Page of 117
11-4 
Convert IP Addresses With the convertIP Utility 
749640 Rev D 
Run the convertIP Utility,
 Continued 
Converting a File of IP Addresses 
Follow these instructions to use the convertIP utility to convert a file of IP addresses. 
When the convertIP utility runs, it displays each original and converted IP address 
on the screen of the DNCS, as well as writes the output to a user-specified file. 
Important:  You should already have prepared a text file containing IP addresses 
using the guidelines and directions in Prepare the Text File, earlier in this chapter. 
 
1. 
If necessary, open an xterm window on the DNCS. 
2. 
Type convertIP  -f and then press Enter
Result:  The message Enter the file name (full path) containing IP addresses 
to convert appears. 
3. 
Type the name of the file you prepared (including the full directory path) and 
then press Enter
Example:  Type /dvs/dncs/tmp/IP_input_file and then press Enter
Result:   The message Enter the file name (full path) in which to store the 
converted IP addresses appears. 
4. 
Type the name of the file (including the full directory path) in which you 
want to store the output. 
Example:  Type /dvs/dncs/tmp/IP_output_file and then press Enter
Results:   
• 
The convertIP utility converts the IP addresses and displays both the 
original value and the converted value on the screen of the DNCS. 
• 
The convertIP utility displays the number of IP addresses that were 
converted and suggests that you review the converted IP addresses by 
examining the output file. 
Example:  There are 16 IP addresses in the /dvs/dncs/tmp/IP_input_file 
file that were converted. 
Please review the converted IP addresses in the /dvs/dncs/tmp/IP_output_file 
file.