Cisco Headend Digital Broadband Delivery System 用户指南
9-2
Change DHCT Status to Out-of-Service With the 2way2oos Utility
749640 Rev D
Prepare the Text File
Introduction
System operators who want to use the 2way2oos utility to change the database status
of DHCTs to out-of-service must first prepare a text file that contains the MAC
address of each DHCT that must be changed. This section contains guidelines and
instructions for preparing the text file.
Guidelines for Preparing the Text File
Use the following guidelines when preparing the text file:
•
•
Prepare the file using a standard text editor, such as vi.
•
Prepare the file with one MAC address per line.
Important: MAC addresses must be in hexadecimal format, and any letter
Important: MAC addresses must be in hexadecimal format, and any letter
characters must be uppercase.
Example: 00:02:DE:4A:11:92
Example: 00:02:DE:4A:11:92
00:02:DE:4A:11:93
00:02:DE:4A:11:94
•
Each MAC address must be left-justified on each line of text.
•
The file must be saved in the /dvs/dncs/tmp directory of the DNCS and must be
named 2way2oos.txt.
Important: The file must be saved to the specified directory under the specified
Important: The file must be saved to the specified directory under the specified
name. The directory path and file name are hard-coded as part of the utility.
Preparing the Text File
Follow these instructions to prepare the text file for use with the 2way2oos 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 /dvs/dncs/tmp and then press Enter.
Note: The file must be saved to the /dvs/dncs/tmp directory of the DNCS.
Note: The file must be saved to the /dvs/dncs/tmp directory of the DNCS.
3.
Type vi 2way2oos.txt and then press Enter.
Result: The file opens for editing.
Result: The file opens for editing.
Continued on next page