Cisco Headend System Release 2.5 用户指南
749640 Rev D
Transmit the ModifyDhctConfiguration Transaction With the modDhctCfg Utility
13-7
Prepare a Text File,
Continued
Preparing a Text File
Follow these instructions to prepare a text file for use with the modDhctCfg utility.
Important: These instructions use the vi text editor as an example. The vi text editor
Important: These instructions use the vi text editor as an example. The vi text editor
is not intuitive. These instructions are not a substitute for a good working
knowledge of the vi text editor.
1.
If necessary, open an xterm window on the DNCS.
2.
Type cd /tmp and then press Enter.
Note: Cisco recommends that you save the text file in the /tmp directory on
Note: Cisco recommends that you save the text file in the /tmp directory on
the DNCS.
3.
Type vi [file name] and then press Enter.
Example: vi modDhctCfg-in_11.13.03
Result: The file opens for editing.
Example: vi modDhctCfg-in_11.13.03
Result: The file opens for editing.
4.
Insert your list of MAC addresses or serial numbers into the file you have just
opened.
Note: Use the guidelines set forth in Guidelines for Preparing the Text File,
Note: Use the guidelines set forth in Guidelines for Preparing the Text File,
earlier in this section.
Important: Type only one MAC address or serial number per line.
Important: Type only one MAC address or serial number per line.
5.
Save the file and close the vi editor.