Guest

Cisco ONS 15800 Series DWDM Platforms

CMP File System Corruption Diagnosis Procedure

Cisco - CMP File System Corruption Diagnosis Procedure

Document ID: 13560

Updated: Dec 01, 2005

   Print

Introduction

This document diagnoses Control and Monitoring Processor (CMP) failure conditions due to corrupt file or file system corruption. This procedure identifies whether the failure is due to a problem with individual files or with the Flash file system.

Prerequisites

Requirements

Cisco recommends that you have knowledge of these topics:

  • The IP address of the CMP on which you work.

  • The subnet of CMP.

  • The default gateway of CMP.

  • An IP address for maintenance operation to assign to your PC or laptop in the same subnet as the CMP card.

Components Used

The information in this document is based on these software and hardware versions:

  • PC or laptop that runs Windows 95, Windows 98, or Window 2000

  • Ethernet adapter card

    If the Ethernet adapter does not have a 10Base2 (coaxial) interface, you must have:

    • One 10BASET to 10BASE2 media converter,

      Or

    • One HUB with 10BASE2 coaxial plug.

  • Three meters of 10BASE2 coaxial cable.

  • One 50 Ohm BNC terminator.

  • One BNC T connector, if required, by the 10BASE2 media converter interface.

  • BOOTP/TFTP server for Windows 95, Windows 98, or Window 2000. All of the distribution is in the companion zip archive file named bootp&tftpd.zip.

  • WinZip program to unzip the distribution files.

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.

Conventions

Refer to Cisco Technical Tips Conventions for more information on document conventions.

Installation and Configuration of BOOTP and TFTP Server

This section describes the procedure to install and configure the BOOTP and TFTP server.

First, you must unzip the bootp&tftpd.zip file on the PC or laptop that you want to use to perform the procedure.

  1. The target disk to unzip the distribution archive must be C:\ (see Figure 1).

    Figure 1 – The Target Disk

    15800_cmp_diagnosis_procedure-1.gif

  2. Click Extract on the menu bar in order to extract all files. The Extract dialog box appears:

    Figure 2 – The Extract Dialog Box

    15800_cmp_diagnosis_procedure-2.gif

  3. Select C:\ from the Extract to list.

  4. Select the All files option in the Files section, and check the Use folder names check box.

  5. Click Extract. All files download into the C:\etc and C:\tftpboot directories.

  6. Go to the C:\etc directory (see Figure 3).

    Figure 3 – The C:\etc Directory

    15800_cmp_diagnosis_procedure-3.gif

  7. Drag and drop these two shortcuts on the desktop of your PC or laptop: Tftpd and Bootpd.

  8. View the desktop. You must have on your desktop, the two icons named Bootpd and Tftpd (see Figure 4).

    Figure 4 – Shortcuts to Bootpd and Tftpd

    15800_cmp_diagnosis_procedure-4.gif

Configuration of the BOOTP Server

Complete these steps:

  1. Right click the Bootpd icon on the desktop, and select Properties. The Bootpd Properties dialog box appears:

    Figure 5 – The Bootpd Properties Dialog Box

    15800_cmp_diagnosis_procedure-5.gif

  2. Select the Shortcut tab (see Figure 6).

    Figure 6 – The Bootpd Properties Dialog Box With the Shortcut Tab Selected

    15800_cmp_diagnosis_procedure-6.gif

  3. The Target text box contains C:\etc\BOOTPD.EXE -i 10.165.251.150/255.255.255.0 -d -d -d -d -t 0 -s. Substitute the pre-configured IP address with the IP address of the PC or laptop.

    For example, if your IP address is 10.51.126.43, and the subnet mask is 255.255.255.224, type C:\etc\BOOTPD.EXE -i 10.51.126.43 /255.255.255.224 -d -d -d -d -t 0 -s (see Figure 7).

    Figure 7 – Type Your IP Address

    15800_cmp_diagnosis_procedure-7.gif

  4. Click OK.

Configuration of the TFTP Server

This section describes how to configure the TFTP server.

Complete these steps:

  1. Right-click the Tftpd icon on desktop, and select Properties. The Tftpd Properties dialog box appears (see Figure 8).

    Figure 8 – The Tftpd Properties Dialog Box

    15800_cmp_diagnosis_procedure-8.gif

  2. Type C:\tftpboot in the Start in: field (see Figure 9).

    Figure 9 – Type "C:\tftpboot" in the Start in: field

    15800_cmp_diagnosis_procedure-9.gif

  3. Click OK.

CMP Diagnosis Procedure

This section describes the five-step CMP diagnosis procedure.

Step 1: Connection of the PC or Laptop to the Target CMP

Complete these steps in order to connect the PC or laptop to the CMP:

  1. Extract the Link Status Meter (LSM) board from the subrack where the target CMP is plugged.

  2. Connect the BNC cable to the QA or QB connection of the subrack to your PC or laptop by the HUB or adapter. Your CMP is isolated from the subnetwork.

Step 2: Retrieve the MAC Address of the CMP

Complete these steps in order to retrieve CMP MAC addresses:

  1. Start the BOOTP server. Double-click the Bootpd icon on the desktop. A window appears. Verify these details in the first line of Bootpd window:

    if #0, ip=10.51.126.43 , subnet mask=255.255.224 ????

    The IP address and subnet mask must be the IP address and subnet mask that you set on your laptop.

    If the IP address or subnet mask does not match, redo the configuration of the Bootp server.

    Figure 10 – Verify Details in the Bootpd Window

    15800_cmp_diagnosis_procedure-10.gif

  2. Reset CMP card.

    The MAC address is the number that appears after the request from the hardware address message.

    Note the MAC address, which you will use as shown in Figure 11.

    Figure 11 – Use of the MAC Address

    15800_cmp_diagnosis_procedure-11.gif

  3. Close the BOOTP application.

Step 3: Configure the bootp Tab

Complete these steps:

  1. Go to C:\etc directory, and edit the bootp tab file (use Windows Notepad to edit). The result looks like this:

    Figure 12 – Result that Appears After You Edit the Bootp Tab File

    15800_cmp_diagnosis_procedure-12.gif

  2. Complete these steps to modify the file:

    1. Set the sm field as the subnet mask of your laptop.

    2. Set the ha field with the MAC address.

    3. Set the ip field with the target CMP IP address.

    4. Set the gw field with the target CMP default gateway.

      For example:

      If the IP address of the CMP is 10.51.126.36, the subnetwork is 255.255.255.224, the gateway is 10.165.251.33, and the MAC address is 000050070B68, the file must appear as shown here:

      ether:\
          :hn:sm=255.255.255.224:\
          :vm=rfc1048:ht=ether:
      
      # CMP to configure
      cmp129:\
         :tc=ether:ha=000050070B68:ip=10.165.251.143:\
         :hd=/tftpboot:bf=monitor.abs:\
        :gw=10.165.251.33:
      
      

      The bold entries show where you must make changes.

  3. Save the file.

Step 4: Start the BOOTP and the TFTP Servers

Complete these steps in order to start the servers:

  1. Run the BOOTP server. To do so, double-click the icon on the desktop.

  2. Run the TFTP server. To do so, double-click on the icon on the desktop.

  3. Reset CMP manually.

    If everything works fine:

    • CMP shows a fixed H letter on the front display.

    • Windows like this appear on your laptop:

      Figure 13 – The BOOTP Server

      15800_cmp_diagnosis_procedure-13.gif

      The BOOTP server appears as shown in Figure 13.

      Figure 14 – The TFTP Server

      15800_cmp_diagnosis_procedure-14.gif

      The TFTP server appears as shown in Figure 14.

    When the reached end of file message appears, close the BOOTP and TFTP servers.

Step 5: Check for Corruption

Complete these steps:

  1. Connect with a Telnet session on the CMP. No prompt appears for a password or login. Complete these steps:

    1. Click the Start button of your Windows program, then select Run.

    2. Type telnet IP address of the CMP (see Figure 15):

    Figure 15 – Type telnet IP address of the CMP

    15800_cmp_diagnosis_procedure-15.gif

  2. Click OK. A Telnet session opens.

    Figure 16 – Telnet Session

    15800_cmp_diagnosis_procedure-16.gif

  3. At the Telnet prompt, type the ls -il command.

    Check whether the output looks like this:

    ls: logfile: unknown error
    ls: param: unknown error
    ls: boottable: unknown error
    ls: bpool.cfg: unknown error
    ls: CPT_INFO: unknown error
    ls: PERSISTENT: unknown error
    ls: timeout.cfg: unknown error
    ls: filenfs: unknown error
    ls: pwd.fil: unknown error
    ls: netosi.cfg: unknown error
    ls: agent.abs: unknown error
    ls: Q3INFO: invalid file number
    ls: genPers.dat: unknown error
    ls: genPers.idx: unknown error
    total 371
         1 -r--r--r--   1 root           3584 Jan 21 158 11:03 BITMAP.SYS
         2 -r--r--r--   1 root          13312 Jan 21 158 11:03 FLIST.SYS
        16 -rwxrwxrwx   1 root           1024 Feb 23 100 16:57 cfg.fil
        11 -rwxrwxrwx   1 root              0 Jan 21 158 11:03 filesntp
        18 -rwxrwxrwx   1 root         163840 May 20 101 06:28 moPers.dat
        19 -rwxrwxrwx   1 root           8192 May 20 101 06:28 moPers.idx
    
    

    This is the indicator that the file system is corrupt and the CMP card needs replacement. A seemingly normal response indicates that an individual file is corrupt, in which case, you can use the recovery procedure.

Related Information

Updated: Dec 01, 2005
Document ID: 13560