Cisco Headend Digital Broadband Delivery System User Guide

Page of 152
 
Chapter 10    Convert IP Addresses with the convertIP Utility 
 
 
 
80 
4020694 Rev B 
Run the convertIP Utility 
To run the convertIP utility, choose one of the following options: 
 
To convert a single IP address, follow the instructions in Converting a Single IP 
Address
 
To convert IP addresses listed in a file of IP addresses, follow the instructions in 
Converting a File of IP Addresses
 
Converting a Single IP Address 
1  If necessary, open an xterm window on the DNCS. 
2  Type convertIP and then press Enter. The Enter IP address to convert message 
appears. 
3  Type the IP address you want to convert and then press Enter. The convertIP 
utility converts the IP address and displays both the original value and the 
converted value on the screen of the DNCS.  
Note:  You can type the IP address in either format, decimal or dotted-decimal 
notation. 
Examples:   
 
 
Decimal-167854166 
 
Dotted-decimal notation-10.1.64.86 
 
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 (on page 79). 
1  If necessary, open an xterm window on the DNCS. 
2  Type convertIP  -f and then press Enter. The Enter the file name (full path) 
containing IP addresses to convert message appears. 
3  Type the name of the file you prepared (including the full directory path) and 
then press Enter. The message Enter the file name (full path) in which to store 
the converted IP addresses
 appears. 
Example: Type /dvs/dncs/tmp/IP_input_file and then press Enter