H3C EPON OLT Installation Manual(Release 5100 SeriesV1.02)

DownLoad Chapters Download(407 KB)

06-Chapter6 Switch Monitoring and Maintenance


Chapter 6  Switch Monitoring and Maintenance

6.1  Monitor a Switch

Although S7500 Ethernet Switches have passed the comprehensive and strict test before delivery, there might be some fault occurring due to improper installation. This chapter describes how to troubleshoot.

On the SRPU of S7500 Series Switches, you can find the state indicators of LPU, power supply, and fan and locate the faults accordingly.

6.1.1  Configuration System Troubleshooting

After the switch is powered on and the system is normal, the booting information will be displayed on the configuration terminal. If the configuration system has failed, the configuration terminal may yield illegible output or nothing at all.

Troubleshooting when the terminal yields no output.

After powered on, if there is no information displayed on the terminal, check if:

l           The power system works normally.

l           SRPU works normally.

l           The console cable has been connected to the Console port in the SRPU.

If there is no problem in the above checking, there might be some other faults as follows:

l           Serial port connected to the console cable is wrong. (The port in use is not the one set on the terminal.)

l           Configuration terminal parameter setting errors. (Parameter setting requirements: Set the baud rate to 9600, data bit to 8, parity check to none, stop bit to 1, flow control to none, and select VT100 as terminal emulation.)

l           There is something wrong with the console cable.

Troubleshooting when the terminal yields illegible characters.

If the configuration terminal yields illegible output, the configuration terminal settings are likely to contain errors. Check the settings one by one. (Set the baud rate to 9600, data bit to 8, parity check to none, stop bit to 1, flow control to none, and select VT100 as terminal emulation.)

6.1.2  Power Troubleshooting

Table 6-1 Power indicator meaning

Indicator

State description

OK

On means that the power works normally.

Off means that the power fails to work or has not been installed yet.

FAIL

On means that power fails to work.

Off means that the power works normally or has not been installed yet.

 

If the power indicator OK is off, there may be something wrong with the system power supply. Check if:

l           The switch power has been turned on.

l           The power cord has been properly connected.

l           The source voltage is correct.

6.1.3  Fan Troubleshooting

Table 6-2 Fan indicator (FAN)

Indicator

State description

OK

On means that the fan works normally.

Off means that the fan fails to work or has not been installed yet.

FAIL

On means that the fan works abnormally or has not been installed yet.

Off means that the fan works normally.

 

If the fan indicator OK is off, check if:

l           Every heat dissipation fan works normally.

l           There is something blocking the vent of the chassis.

l           The blank filler plates are furnished on the chassis where there is no card inserted.

6.1.4  Cards Troubleshooting

The indicators of SRPU and LPUX (X ranges from 1 to 6 for S7506 and S7506R Switches and from 1 to 3 for S7503 Switch) show the state of these cards respectively.

Table 6-3 Card indicator meaning

Indicator

State description

RUN

On/Off means the card fails to work or has not been inserted.

Blinking means the card works normally.

ALM

Off means the card works normally or has not been inserted.

Staying on means the card works abnormally.

 

l           If the card ALM indicator stays on, there must be something wrong with the corresponding card. During the process of resetting the card, indicator ALM will turn on. After normal booting, it will be off.

l           When resetting the card, if the indicator ALM stays off, the card may have not been connected with the power source. Check if the card has been properly installed.

6.2  Hardware Maintenance

 

  Caution:

S7500 Series Switches support hot-swappable power modules.

When installing or replacing power module with the power on, consider the operation measures and safety with electricity. Do not touch any naked wire, terminal or any part of the product with a dangerous voltage label to avoid hurting human body.

 

6.2.1  Replacing Power Module

Step 1: Wear the ESD wrist strap and loosen the captive screw in the module to be replaced, using the screwdriver.

Step 2: Pull the module to be replaced until it slides out of the slot.

 

  Caution:

Because S7500 Series Ethernet Switch power module is heavy, use both hands to pull it out. Hold the module in one palm and gently pull the handle with the other hand. Install a blank filler panel on the chassis for dust-proof and heat dissipation, if you will not install another module in this position.

 

Step 3: Take out a new power module from the package and make sure of the input mode.

Step 4: Hold the module in one palm and hold the handle with another hand. Align the module with the guides in the chassis and slide the module gently into the slot. Ensure the module matches well with the guides.

 

  Caution:

Install the power module with caution. Note the direction of the panel. During the process of inserting, if the pin terminal springs up, the system will give an alarm and the pin cannot be seated into the hole. To avoid breaking or cranking the power terminals, if the power module has not been inserted in properly, you should slide it out and insert again.

 

Step 5: Fasten the captive screws (loosened in Step 1) and fixed the power module on the chassis.

 

  Caution:

If the captive screws cannot be fastened, the power module may not have been properly seated. Check it carefully.

Dust may block the holes in the intake air filter of the power module and the integrated chassis after a long time of usage. Periodically clean the filter to guarantee the heat dissipation of the chassis.

Clean the air filter with fresh water only and air-dry it.

 

6.2.2  Replacing Card

SRPU and LPUs of S7500 Series Ethernet Switches can be installed and removed basically in the same way. This section describes the general measures of installing and removing these cards.

Cards of S7500 Series Ethernet Switches are hot-swappable.

I. Required tools

l           ESD wrist strap

l           Screwdriver

II. Remove a service card

Step 1: Wear the ESD wrist strap and loosen the captive screws on the card with Philip screwdriver.

Step 2: Hold the ejector levers on the card with both hands and press them toward both sides of you to separate the connectors of the card from the motherboard.

Step 3: Gently slide the card along the guides out of the slot.

Figure 6-1 Card removal

III. Install a card

Step 1: Wear ESD wrist strap and loosen the screws and remove the blank filler panel.

Step 2: Hold the ejector levers of the card with both hands and push them outward, align the card with the guides in the chassis and slide it gently into the slot. Push the card until positioning pin on its handle bar touches the hole in the chassis.

Step 3: Press the ejector levers inward and seat the pin on the handle bar into the positioning hole in the chassis.

Step 4: Fasten the captive screws and fix the card.

Figure 6-2 Service card installation

6.2.3  Replacing Fan Frame

 

  Caution:

Do not touch any naked wire, terminal or any part of the product with a dangerous voltage label to avoid hurting human body.

 

I. Required tools

l           ESD wrist strap

l           Screwdriver

II. Replace fan frame for S7506 Switch

Step 1: Wear the ESD wrist strap. Hold the ejector levers on the fan frame with both hands. Pull them outside to separate the fan frame pin from the backplane.

 

  Caution:

If you want to replace the fan frame for an operating switch, pull out the fan frame from the chassis after the fan stops rotating. In this case, the fan may be still rotating, and therefore you cannot put your hand into the frame for fear of hurting.

 

Step 2: Slide the fan gently along the guides of the slot and pull it out.

Step 3: Put the removed fan frame into the package.

Step 4: Hold the ejector levers on the fan frame with both hands and push them outward. Align the fan with the guides in the chassis and slide it gently into the slot. Push the Fan Frame until its positioning pin touches the hole in the chassis.

Step 5: Press the ejector levers inward and seat the pin on the handle bar into the positioning hole in the chassis.

 

  Caution:

Install a new fan soon after removing the old one to ensure that the switch can work normally.

 

III. Replace fan frames for S7503 and S7506R Switches

Step 1: Wear ESD wrist strap and loosen the captive screws from the fan frame with a screwdriver.

 

  Caution:

If you want to replace the fan frame for an operating switch, pull out the fan frame from the chassis after the fan stops rotating. In this case, the fan may be still rotating, you cannot put your hand into the frame for fear of hurting.

 

Step 2: Pull the fan frame and remove it from the slot.

Step 3: Put the removed fan frame into the package.

 

  Caution:

If you want to disassemble the fan frame for an operating switch, the fan may be still rotating, you cannot put your hand into the frame for fear of hurting.

 

Step 4: Take a new fan frame from the box. Push the fan frame into the switch until it well touches the backplane.

Step 5: Fasten the captive screws of the fan frame with a screwdriver.

 

  Caution:

Install a new fan soon after removing the old one to ensure that the switch can work normally.

 

6.2.4  Cleaning Air Filter

Dust may block the holes in the intake air filter of the power module and the integrated chassis after a long time of usage. Periodically clean the filter to guarantee the heat dissipation of the chassis.

The air filter can be washed with water or dry-cleaned. No kneading. Air-dry it.

6.3  Boot ROM and Host Software Loading

The S7500 series switches can be loaded through either the command line or the BOOT menu.

6.3.1  Introduction to Loading Approaches

This chapter introduces how to load BOOTROM and host software for a switch.

You can load the software through commands using:

l           FTP

l           TFTP

You can load the software at the local via BOOT menu using:

l           XModem through Console port

l           TFTP through Ethernet port

l           FTP through Ethernet port

 

&  Note:

l      Please note that the BOOTROM version should be compatible with the host software version when BOOTROM and host software are being loaded. Do not load BOOTROM frequently.

l      The process of LPU BOOTROM loading through BOOT menu is different from that of SRPU BOOTROM loading. For loading LPU BOOTROM, the command line approach is recommended.

 

6.3.2  Local Software Loading by BOOT Menu

If your terminal is directly connected to the switch, you can load BOOTROM and host software at the local.

Before proceeding to load the software, make sure that your terminal is correctly connected to the switch.

 

&  Note:

The steps that you should take to load BOOTROM program and host software are the same, except that in a BOOTROM program loading process you need to press <Ctrl +U> after accessing the BOOTROM menu and will view a different prompt message. BOOTROM loading steps are described below as an example.

 

I. BOOT menu

After powering on the switch, run BOOTROM program first and the terminal will display the following information:

            ******************************************

            *                                        *

            *  H3C S7506 BOOTROM, Version 400    *

            *                                        *

            ******************************************

      Copyright(C) 2004-2007 Hangzhou H3C Technologies Co., Ltd.

      Creation date   : May 26 2006, 16:57:31

      CPU type         : MPC8260

      CPU Clock Speed : 200Mhz

      BUS Clock Speed : 66Mhz

      Memory Size      : 128MB

 

S7506 main board self testing...............................

60X_SDRAM Data lines Selftest.............................OK!

60X_SDRAM Address lines Selftest..........................OK!

60X_SDRAM fast selftest...................................OK!

LOCAL_SDRAM Data lines Selftest...........................OK!

LOCAL_SDRAM Address lines Selftest........................OK!

LOCAL_SDRAM fast selftest.................................OK!

Please check leds................ .....Led selftest finished!

Switch chip selftest......................................OK!

CPLD selftest.............................................OK!

 

&  Note:

Different models of S7500 Series Switches may yield different outputs.

 

Press Ctrl-B to enter Boot Menu... 5

Press <Ctrl+B> and system prompts:

Password :

 

To access the BOOT Menu, press <Ctrl+B> within 5 seconds after the screen prompts “Press Ctrl-B to enter Boot Menu...” Otherwise, the system will start executing the program decompression. At this time if you want to access the BOOT Menu, you will have to reboot the switch.

The number of the files in Flash memory has great impact on the waiting time.

 

Enter the BOOTROM password. After entering correct password (no password is set for the switch by default), the system will access the BOOT Menu:

 

  Caution:

While using the switch, please keep in mind the modified BOOTROM password.

 

                          Boot Menu

1:  Download application file to flash

2:  Select application file to boot

3:  Display all files in flash

4:  Delete file from flash

5:  Modify bootrom password

0:  Reboot

Enter your choice(0-5):

II. Loading software from Console port using XModem

Introduction to XModem

XModem is a file transfer protocol widely used due to its simplicity and good functions. XModem transfers files via Console port, supporting data packets of 128 bytes and 1KB. With respect to reliability, it supports checksum, CRC, and error packet retransmission mechanism. Normally, the maximum number of retransmission attempts is ten.

XModem transmission is completed by receiving program and sending program. Receiving program initiates packet checking method negotiation by sending the negotiation character. If the negotiation passes, sending program starts packet transmission. Upon the receipt of a complete packet, the receiving program checks it using the agreed-upon check method. If the check succeeds, the receiving program sends an acknowledgement character; if the check fails, it sends a reject character. Upon the receipt of the acknowledgement, the sending program continues to send the next packet; upon the receipt of the reject, it retransmits the packet.

 Loading SRPU BOOTROM

Step 1: Press <Ctrl+U> and <Enter> in the Boot Menu displayed after the screen prompts “Enter your choice(0-5):” to access the BOOTROM loading menu shown below:

SRPU bootrom update menu:

1. Set TFTP protocol parameter

2. Set FTP protocol parameter3. Set XMODEM protocol parameter0. Return to boot menu

Enter your choice(0-3):3

You can select a different protocol to download BOOTROM.

Step 2: Press <3> in the loading menu, choosing to download the BOOTROM program using XModem. Press <Enter>. The system displays the following download speed setting menu:

Please select your download baudrate:

1. 9600

2. 19200

3. 38400

4. 57600

5. 115200

0. Exit Enter your choice (0-5):5

Step 3: Choose an appropriate download baud rate. Press <5> in the above example to choose the baud rate of 115200bit/s. Press <Enter>. The system displays the following information:

Are you sure to update SRPU bootrom? Yes or No(Y/N)

Step 4: The system begins to download if you press <Y>; it returns to download menu if you press <N>. If you press <Y> and <Enter>, the system displays the following information:

Download baudrate is 115200 bps. Please change the terminal's baudrate to 115200 bps, and select XMODEM protocol.

Press enter key when ready.

 

&  Note:

You do not need to modify the HyperTerminal’s baud rate if you have chosen 9600 bps, and thus can skip Steps 5 and 6 and proceed to Step 7 directly. At this time, the system will not display the above information.

 

Step 5: Enter HyperTerminal’s [File/Properties] menu, click <Configuration> in the popup dialog box, select the baud rate of 115200bps in the “Console Port Configuration” dialog box.

Figure 6-3 “Properties” dialog box

Figure 6-4 “Console Port Configuration” dialog box

Step 6: Click <Disconnect> to disconnect the HyperTerminal from the switch and then click <Connect> to re-establish the connection, thus validating the baud rate setting.

Figure 6-5 <Disconnect> and <Connect>

 

&  Note:

After changing terminal’s baud rate, you must disconnect and connect the terminal emulation program to validate the new configuration.

 

Step 7: Press <Enter> to start program loading. The system displays the following information:

Now please start transfer file with XMODEM protocol.

If you want to exit, Press <Ctrl+X>. Waiting ... CCCCC

Step 8: Select [Transfer/Send File] in the HyperTerminal’s window, and in the popup dialog box similar to the following figure click <Browse>, select the software you need to download, and set the protocol to XModem.

Figure 6-6 “Send File" dialog box

Step 9: Click <Send>. The system displays the following interface.

Figure 6-7 “Sending File” Interface

Step 10: After completing the loading, the system displays the following information:

Loading ...CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC.done!

Are you sure to update SRPU bootrom? Yes or No(Y/N)y

Press <Y> to start file downloading and <N> to return to the program downloading menu. Suppose you press <Y> and then <Enter>. The system starts BOOTROM program downloading and upon its completion automatically starts BOOTROM loading. The system displays the following information upon the completion of the entire process:

SRPU bootrom is updating now......

Get flash Type......FLASH_M29W040B

Erasing flash......done!

Programming flash......done!

Checking flash......done!

 

SRPU bootrom update menu:

 

1. Set TFTP protocol parameter

2. Set FTP protocol parameter

3. Set XMODEM protocol parameter

0. Return to boot menu

 

Enter your choice(0-3):3

Step 11: Press <3> to return to the BOOT menu. Then press <0> in BOOT menu to reboot the system and the following information will be prompted:

Rebooting...

Please change the terminal's baudrate to 9600 bps!

Step 12: Reset HyperTerminal’s baud rate to 9600 bps with reference to Steps 5 and 6 described.

 

&  Note:

You do not need to reset the HyperTerminal’s baud rate and can skip the last step if you have chosen 9600 bps. In this case, the system does not display the prompt message “Please change the terminal's baudrate to 9600 bps!” as shown in Step 11.

 

Loading host software

Step 1: Select <1> in Boot Menu. The system displays the following information:

1. Set TFTP protocol parameter

2. Set FTP protocol parameter 3. Set XMODEM protocol parameter0. Return to boot menuEnter your choice(0-3):3

You can select a different protocol to download host software.

The subsequent steps and those of loading BOOTROM are the same, except of the prompt messages.

III. Loading software from Ethernet port using TFTP

Introduction to TFTP

Trivial File Transfer Protocol is a TCP/IP protocol used for file transmission between clients and servers. It uses UDP to provide unreliable data stream transfer service.

The following upgrading takes the S7500 series switch as the TFTP client.

 Loading SRPU BOOTROM

Step 1: Connect the switch to the PC, from where the file is downloaded, through the 10/100Base-TX interface on SRPU for loading. The IP address of the PC is required. At the same time, the switch is externally connected to a PC (that can be the same one as that the downloaded file is located) via a console port.

Step 2: Run the TFTP Server program on the PC connected to the Ethernet port, and specify the path for program loading.

 

  Caution:

No TFTP Server program is provided with the H3C series switches.

User should use cross-over cable when connecting the Ethernet Port for upgrading of switch with PC.

 

Step 3: Run terminal emulation program on the PC that is connected to the Console port. Start the switch, access Boot Menu, and then enter download protocol menu.

To download the BOOTROM program, press <Ctrl+U> and <Enter> to access the menu for BOOTROM downloading when the system displays: “Enter your choice(0-5):”

1. Set TFTP protocol parameter 2. Set FTP protocol parameter 3. Set XMODEM protocol parameter 0. Return to boot menu Enter your choice(0-3):1

Then you can choose different protocols to load the BOOTROM.

Step 4: In the download protocol menu, press <1>to select TFTP protocol to download BOOTROM or host software. Press <Enter>. The system displays the following information:

Load File name:   Switch IP address:

Server IP address: Step 5: Input the TFTP parameter values and press <Enter>. The system displays the following information:

Are you sure to update your bootrom? Yes or No(Y/N)

Step 6: Press <Y> to start file downloading and <N> to return to the program downloading menu. Suppose you press <Y> and then <Enter>. The system starts BOOTROM program downloading and upon its completion automatically starts BOOTROM loading. The system displays the following information upon the completion of the entire process:

Prepare for loading...OK!

Loading....................................................done!

SRPU bootrom is updating now......

Get flash Type......FLASH_M29W040B

Erasing flash......done!

Programming flash......done!

Checking flash......done!

Loading host software

Step 1: Select <1> in Boot Menu. The system displays the following information:

1. Set TFTP protocol parameter

2. Set FTP protocol parameter 3. Set XMODEM protocol parameter0. Return to boot menuEnter your choice(0-3):3

You can select a different protocol to download host software.

The subsequent steps and those of loading BOOTROM are the same, except of the displayed prompt messages.

IV. Loading software from Ethernet port using FTP

Introduction to FTP

A switch can be used via Ethernet port as an FTP server or a client to provide another approach for software loading and file configuration. An example of a switch being used as an FTP client is given below.

 Loading SRPU BOOTROM

Step 1: Connect the switch to the PC, from where the file is downloaded. The IP address of the PC is required. At the same time, the switch is externally connected to a PC (that can be the same one as that the downloaded file is located) through a console port.

Step 2: Run the FTP Server program on the PC that is connected to the Ethernet port, specify the path for program loading, and configure the user name and password.

 

  Caution:

No TFTP Server program is provided with the H3C series switches.

User should use cross-over cable when connecting the Ethernet Port for upgrading of switch with PC.

 

Step 3: Run terminal emulation program on the PC connected to the Console port. Start the switch, access Boot Menu, and then enter download protocol menu.

To download the BOOTROM program, press <Ctrl+U> and <Enter> to access the menu for BOOTROM downloading when the system displays: ”Enter your choice (0-5):”

1. Set TFTP protocol parameter

2. Set FTP protocol parameter 3. Set XMODEM protocol parameter 0. Return to boot menuEnter your choice(0-3):2

Step 4: In the download protocol menu, press <2> to select FTP protocol to download BOOTROM and host software. Press <Enter>. The system displays the following information:

Load File name:   

Switch IP address: Server IP address: FTP User Name: FTP User Password: Step 5: Input the FTP parameter values and press <Enter>. The system displays the following information:

Are you sure to update SRPU bootrom? Yes or No(Y/N)

Step 6: Press <Y> to start file downloading and <N> to return to the program downloading menu. Suppose you press <Y> and then <Enter>. The system starts program downloading and upon its completion, starts writing to Flash. The system displays the following information after completing the writing operation:

......

SRPU bootrom is updating now......

Get flash Type......FLASH_M29W040B

Erasing flash......done!

Programming flash......done!

Checking flash......done!

Loading host software

Step 1: Select <1> in Boot Menu. The system displays the following information:

1. Set TFTP protocol parameter 2. Set FTP protocol parameter 3. Set XMODEM protocol parameter 0. Return to boot menuEnter your choice(0-3):3

You can select a different protocol to download host software.

The subsequent steps are the same as the steps taken to load the BOOTROM program, except for the displayed prompt messages.

6.3.3  Remote and Local Software Loading by Commands

If your terminal is connected to the switch by a network, you can load BOOTROM and host software at the remote via commands which can also be used in local software loading.

I. Remote and local loading using FTP

Run FTP Server on a local PC, provided you have configured username and password and have set the correct file directory. Suppose IP address of the PC is 10.10.110.1. Log onto the switch by Telnet or the Console port to send host program to the switch using FTP. Connect PC and switch with crossover cable if your terminal is connected to the switch through console port at the local.

 

&  Note:

l      The S7500 series support dual image booting, that is, usually the switch boots with the main image (that is, the primary file), but it uses the backup image (that is, the backup file) when the primary one is in error. See 6.3.5  Booting the Switch with Dual Images for details.

l      The S7500 series supports updating by the combined BOOTROM file, that is, update all the BOOTROMs of cards by a combined file. See 6.3.6  Introduction to Combined Boot ROM File for details.

 

Suppose that the main boot file is SWITCH002.app; the active host software is SWITCH001.app; the LPU BOOTROM program is LPUbtm.app; LPU occupies slot 3 and SRPU occupies slot 0. You can follow these steps after logging onto the switch.

Step 1: Download the software to the switch using FTP.

<H3C> ftp 10.10.110.1

Trying ...                                                               

Press CTRL+K to abort                                                 

Connected.                                                              

220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user

User(none):lyt                                                           

331 Give me your password, please                                   

Password:                                                               

230 Logged in successfully      

[ftp] get SWITCH002.app SWITCH002.app

[ftp] get Switchbtm.app Switchbtm.app

[ftp] bye

 

&  Note:

You may also download two host software: one as the main and the other as backup.

 

Step 2: Load BOOTROM.

<H3C> boot bootrom Switchbtm.app

please wait ...

 Bootrom is updated!

Step 3: Load the host software.

l           Load the primary file

<H3C> boot boot-loader primary SWITCH002.app

l           Load the backup file

<H3C> boot boot-loader backup SWITCH001.app

<H3C> display boot-loader

The primary app to boot of board 0 at the next time is: flash:/SWITCH002.app

The backup app to boot of board 0 is: flash:/SWITCH001.app

The app to boot of board 0 at this time is: flash:/SWITCH001.app

<H3C> reboot (Please make sure that you have saved other configurations before rebooting, otherwise, they might not survive a reboot.)

BOOTROM and host software loading is completed now. Please note that you must reboot the switch to validate host software downloading. If Flash memory space is not enough, you can delete some of the program files in Flash after completing the BOOTROM loading. (You are recommended to delete the host program that is no longer in use.) Then upload the host program to the switch using FTP. Please note that power-off must be prevented during loading process.

II. Remote and local loading using TFTP

Using TFTP is similar to using FTP in remote and local loading via commands. The only difference is that it is TFTP that you use when loading software to the switch. In this case, the switch can only be used as a TFTP client to download the software to its Flash memory from the TFTP server. The remaining steps after downloading are the same as those of remote loading using FTP.

6.3.4  Loading Boot ROM and Host Software to S7506R

H3C S7506R uses dual SPRUs, one of which is active (hereinafter referred to as master card) and the other one is standby (hereinafter referred to as slave card). The slots 0 and 1 are fixedly for SRPUs, while other slots are for LPUs. The loading to S7506R includes BOOTROM and host software loading to master card and slave card, and Boot ROM loading to LPUs.

The following two loading approaches are available on S7506R:

l           Remote or local loading with command lines

l           Local loading through BOOT menu

But for LPU, Boot ROM can only be loaded with command lines.

Please note that:

l           To keep consistent software version of master card, slave card and LPUs, use the same approach to load corresponding contents to the master and slave cards. That is, both use command line approach or both use BOOT menu approach.

l           If the current Boot ROM matches the target host software to be loaded, you can skip Boot ROM loading to master card, slave card and LPUs.

 

&  Note:

Since loading with command line has less affect on the switch services than loading through BOOT menu, command line approach is preferred.

 

I. Loading with command lines

Suppose that the target Boot ROMs for SRPU and LPU are respectively SRPUbtm.app and LPUBTM.app; the master boot file is S7506R002.app and the active system software is S7506R001.app. Master card is inserted in slot 0 and slave card in slot 1 and LPU in slot 3.

Loading through FTP

Run FTP Server on the local computer. Check if username and password, as well as target directory for the correct files have been configured. Log onto the switch using Telnet or through the Console port and transfer host software to the switch through FTP.

Step 1: Download program files to the switch through FTP

<H3C> ftp 10.10.110.1

Trying ...                                                                     

Press CTRL+K to abort                                                         

Connected.                                                                     

220 WFTPD 2.0 service (by Texas Imperial Software) ready for new user

User(none):lyt                                                                  

331 Give me your password, please                                          

Password:                                                                      

230 Logged in successfully      

[ftp] binary

[ftp] get S7506R002.app S7506R002.app

[ftp] get SRPUbtm.app SRPUbtm.app

[ftp] get LPUbtm.app LPUbtm.app

[ftp] bye

Step 2: Load Boot ROM (Skip this step if Boot ROM loading is not required).

 

&  Note:

If you need to load the Boot ROMs of LPU and SRPU at the same time, first load the Boot ROM to LPU and then to mater and slave cards.

 

l            Load Boot ROM to LPU.

<H3C> boot bootrom LPUbtm.app slot 3

This will update BootRom file on board 3 . Continue? [Y/N] y

Press <Y> and <Enter> and the system prompts

.............<Omitted>

Frame 0 IO Board 3 is upgrading BOOTROM, please wait...

<H3C>

%Apr 10 21:47:50 2000 H3C DEV/5/DEV_LOG:

Frame 0 IO Board 3 upgrade BOOTROM succeeded!

l           Load Boot ROM to master card.

<H3C> boot bootrom SRPUbtm.app slot 0

please wait ...

Bootrom is updated!

Step 3: Load host software to master card.

l           Load the primary file

<H3C> boot boot-loader primary S7506R002.app slot 0

l           Load the backup file

<H3C> boot boot-loader backup S7506R001.app slot 0

<H3C> display boot-loader

The primary app to boot of board 0 at the next time is: flash:/S7506R002.app

The backup app to boot of board 0 is: flash:/S7506R001.app

The app to boot of board 0 at this time is: flash:/S7506R001.app

Step 4: Load Boot ROM and host software to slave card.

l           Copy Boot ROM and host software from master card to slave card.

<H3C> copy SRPUbtm.app slot1#flash:/SRPUbtm.app(Skip this if BOOTROM loading is not required.)

<H3C> copy S7506R002.app slot1#flash:/S7506R002.app

l           Specify the newly loaded Boot ROM and host software as the Boot ROM and host software of slave card.

<H3C> boot bootrom SRPUbtm.app slot 1(Skip this if BOOTROM loading is not required.)

<H3C> boot boot-loader primary S7506R002.app slot 1

<H3C> boot boot-loader backup S7506R001.app slot 1

<H3C> display boot-loader

The primary app to boot of board 0 at the next time is: flash:/S7506R002.app

The backup app to boot of board 0 is: flash:/S7506R001.app

The app to boot of board 0 at this time is: flash:/S7506R001.app

The primary app to boot of board 1 at the next time is: flash:/S7506R002.app

The backup app to boot of board 1 is: flash:/S7506R001.app

The app to boot of board 1 at this time is: flash:/S7506R001.app

Step 5: Reboot the system.

<H3C> reboot

Loading through TFTP

Loading through TFTP is similar to through FTP, the only difference is that in this approach TFTP is used when program files are downloaded from remote end to the switch. Then the switch only can serve as a TFTP client: download the program files from TFTP server and store them in the Flash memory. The loading process is the same as using FTP.

II. Loading through BOOT menu

Loading corresponding contents to master and slave cards for S7506R through BOOT menu is the same as that for S7506 and S7503. Refer to Section 7.3.2 and Section 7.3.3 for details. Note that:

l           It is recommended that use two HyperTerminals which are connected respectively to the Console ports of master and slave cards to simultaneously load Boot ROM and host program to master and slave cards. After loading, reboot the system or reboot master and slave cards separately.

l           If only one HyperTerminal is available, you can first load the contents to master card and reboot it. Then connect the HyperTerminal to the Console port of slave board and load Boot ROM and host software to slave card and reboot it.

l           After system reboots, load Boot ROM to LPU with command lines. For more information, refer to “I. Loading with command lines”.

6.3.5  Booting the Switch with Dual Images

The S7500 series support dual image booting: Usually the switch boots with the main image(i.e. the primary file), but it uses the backup image (i.e. the backup file) when the main image is in error. Boot ROM 400 or above version is required to support dual image booting.

Refer to 6.3.3  for loading dual images to the switch using commands. The following introduces the setting of dual images in Boot menu.

Step 1: Enter Boot menu.

          BOOT  MENU

1. Download application file to flash

2. Select application file to boot

3. Display all files in flash

4. Delete file from flash

5. Modify bootrom password

0. Reboot

Enter your choice(0-5): 2

Step 2: Enter <2> to turn to the menu for choosing the active booting file.

File Number   File Size(bytes)   File Name

========================================================

1.                    4          snmpboots

2.                  1972         SWITCH100.cfg

3.                  1012         taskswitch.log

4.                631736         Btm400.btm

5.               199696         8241btm.app

6.                 2427         vrpcfg.txt

7.              6048565         SWITCH200.app

8(*).           5639172         SWITCH000.app

9(-).            203460         SWITCH100.app

 

The current application file is :SWITCH000.app                 

The backup application file is : SWITCH100.app

Free Space : 471040 bytes

The system shows all the files in the flash memory, where the one with the asterisk (*) is the primary file and the one with the hyphen (-) is the backup file.

Step 3: Reset the primary and backup files.

l           Set the primary file.

Enter the serial number of the desired primary file when the terminal shows the following information:

Please input the primary application file number to boot :9

Press <Enter> and the system displays the primary file name you have chosen. Type <Y> to acknowledge and <N> to reset.

The primary file you selected is SWITCH100.app, are you sure? Yes or No(Y/N): Y

Type <Y> (as an example) and the terminal show this information:

On reboot, SWITCH100.app will become the default primary application file to boot!

This means the primary file has been set successfully.

l           Set the backup file

You can set the backup file in almost the same way as setting the primary file. The terminal shows the following information in this case:

Please input the backup application file number :7

The file you selected is SWITCH200.app, are you sure? Yes or No(Y/N)y

On reboot,SWITCH200.app will become the backup application file to boot!

Step 3: Decide if to run the primary file immediately. Ether <Y> and the system begins to reboot.

Do you want to run SWITCH100.app now?Yes or No(Y/N)?Y

press Ctrl+B to enter Boot Menu... 5

Auto-booting....................

These may occur in your system booting:

The primary file is correct and the system boots with the primary file.

A fault occurs when the system boots with the primary file, so it boot with the backup file.

Both the primary and backup files are in error, so the system chooses randomly a application file for booting.

The system stops choosing boot file if it fails when booting with a random application file. Then it just reckons this as that the file system is unavailable or no correct booting file is available.

 

&  Note:

l      If you specify only the primary file, but not the backup file, the system boots with the primary file. If the primary file is in error, the system randomly chooses an application file for booting.

l      If you specify only the backup file, but not the primary file, the system boots with the backup file.

l      If you specify neither the primary file nor the backup file, the system randomly chooses an application file for booting.

 

6.3.6  Introduction to Combined Boot ROM File

Since there are multiple cards of S7500 Series Ethernet Switches and they use different versions of Boot ROMs, so you are required to use the appropriate Boot ROM file when upgrading the Boot ROM of a card. Upgrading fails if the Boot ROM file does match the card.

To avoid the inconvenience caused by different Boot ROMs in upgrading, in Boot ROM version 400 and the following Boot ROMs, we combine the Boot ROM files of all cards (including LPU and SRPU) into one, that is, the Boot ROM released in the future will have only one file *.BTM, which can be used to upgrade Boot ROMs of all cards.

I. Precautions in upgrading using combined Boot ROM file

Note the following items in upgrading using the combined Boot ROM file:

Upgrading Boot ROM version 400 or higher

Boot ROM version 400 or higher can be upgraded by a single Boot ROM file or the combined Boot ROM file. And you are recommended to use the combined one to upgrade Boot ROM of cards.

The host software is required to support the combined Boot ROM file

Using the combined file to upgrade BOOBROM of cards requires the support of the host software to the combined Boot ROM file. Host software of the late version recognizes the single file and the combined file automatically. The versions of the host software that support upgrading by combined file are: version 052 and higher, version 1001 and higher.

Upgrading Boot ROM version 360 or lower

Boot ROM version 360 and lower can not recognize the combined Boot ROM file, so you can upgrade them by using single files. If you intend to upgrade them by using the combined file, you need to upgrade Boot ROM online through the command line on the host software that supports the combined file, and you cannot upgrade the combined Boot ROM file by using the BOOT menu, otherwise, the system prompts you that the upgrading file errors and the Boot ROM cannot be upgraded.

Naming the combined Boot ROM file

To distinguish easily, the single Boot ROM file is named *.app, and the combined Boot ROM file is named *.btm.

 

&  Note:

If the host software does not support the combined Boot ROM file and the upgrading fails, try to upgrade Boot ROMs of every card by using single Boot ROM files.

 

II. Examples of upgrading using combined Boot ROM file

Predefined conditions: the SRPU on slot 0 of a S7506 switch is LS81SRPUA; on slot 3 and 4 are LPUs LS81FT48A and LS82GT20, and no LPU on other slots; the combined Boot ROM file is S7506btm.btm; the version of the host software which supports the combined Boot ROM file is S7506.app. Both the online upgrading of command line and the upgrading through BOOT menu use FTP mode.

Upgrading Boot ROM version 306 or lower

 

&  Note:

l      You can use either the command line (see this example) or BOOT menu to upgrade the host software to the version that supports the combined Boot ROM file, and upgrade Boot ROM of all cards using the combined Boot ROM file through command line.

l      You also can upgrade the Boot ROM of every card by using single Boot ROM files through command line and BOOT menu.

 

Step 1: Download the host software that supports the combined Boot ROM file and the combined Boot ROM file on the switch using FTP.

<H3C> ftp 10.10.110.1

[ftp] get S7506.app S7506.app

[ftp] get S7506btm.btm S7506btm.btm

[ftp] bye

Step 2: Specify S7506.app as the application software applied by the switch during the next boot.

<H3C> boot boot-loader primary S7506.app

Step 3: Reboot the switch to make the S7506.app effective.

<H3C> reboot

Step 4: Upgrade the Boot ROM of the LPU and SRPU using the combined file.

<H3C> boot bootrom S7506btm.btm slot 0 3 4

please wait ...

Bootrom is updated!

After the above operation, you can complete the upgrading of the Boot ROM.

Upgrading version 400 or higher

Boot ROM version 400 and higher can recognize the combined Boot ROM file automatically. The host software is also required to support the combined Boot ROM file if you want to upgrade the Boot ROM of all cards.

l           Online upgrading through command line

The way of upgrading through command line is omitted here since it is the same as the section Upgrading Boot ROM version 306 or lower.

l           Upgrading the combined Boot ROM through BOOT menu

 

&  Note:

Using BOOT menu, you can only upgrade the Boot ROM of the SRPU. And use the command line if you need to upgrade the Boot ROM of the LPU.

 

Step 1: After entering the BOOT menu, the system prompts you: Enter your choice (0-5).To enter the Boot ROM upgrading menu, press the keys <Ctrl + U> at the same time and <Enter>.

1. Set TFTP protocol parameter

2. Set FTP protocol parameter

3. Set XMODEM protocol parameter

0. Return to boot menu

Enter your choice(0-3): 2

Step 2: Press <2> and choose to upgrade through FTP, press <Enter>, and begin to set the related parameters of FTP protocol.

Load File name          :S7506btm.btm

Switch IP address        :1.1.1.3

Server IP address        :1.1.1.2

FTP User Name            :6506

FTP User Password        :123

Are you sure you want update FAB64 bootrom? Yes or No(Y/N)y

Step 3: Press <Y>, and the system begins to download files.

Prepare for loading....OK!

Loading.........................................................................

....................................................................done!

The file is an union files, file name is S7506btm.btm

There are 3 files in this packet

Update-file number is 1st name is SRPU400.app

FAB64 bootrom is updating now......

Get flash Type......FLASH_AMD29LV040B

Erasing flash......done!

Programming flash......done!

Checking flash......done!  

III. Examples of upgrading using a single Boot ROM file

 

  Caution:

Ensure to use the appropriate version Boot ROM file during upgrading the Boot ROM of every card using single Boot ROM files, otherwise, the switch crashes.

 

You can choose either the command line or the BOOT menu mode to upgrade by using single Boot ROM file. You are recommended to use the command line mode to complete the online upgrading. Here takes the command line mode as an example.

Predefined conditions: the card on slot 0 of a S7506 switch is LS81SRPUA, and its corresponding Boot ROM file is SRPUbtm.app; the card LS81FT48A is on slot 3, and its corresponding Boot ROM file is LPUbtm.app;. the card LS82GT20 is on slot 4, and its corresponding Boot ROM file is 8241btm.app. This example introduces online upgrading through FTP mode; you can also upgrade Boot ROM through the TFTP mode which is omitted here.

Follow these steps to upgrade:

Step 1: Download single Boot ROM file to the switch through FTP.

<H3C> ftp 10.10.110.1

[ftp] get SRPUbtm.app SRPUbtm.app

[ftp] get LPUbtm.app LPUbtm.app

[ftp] get 8241btm.app 8241btm.app

[ftp] bye

Step 2: Load single Boot ROM files to every cards.

<H3C> boot bootrom SRPUbtm.app slot 0

<H3C> boot bootrom LPUbtm.app slot 3

<H3C> boot bootrom 8241btm.app slot 4

After the above operation, you can complete the upgrading of the Boot ROM on every card.

6.4  Dealing with Load Failures

If loading fails, the original version will remain in the system.

In this case, check that the physical ports are correctly and well connected. If they are not, reconnect them correctly and restart loading procedures.

If there are no problems with the physical connections, please carefully check information about the loading procedures for input errors on the HyperTerminal.

When using XModem, check that you have reset the baud rate of the HyperTerminal to 9600bps after loading the software with a baud rate other than 9600 bps;

1)         When using TFTP, check that you have provided:

l           Correct server and switch IP addresses;

l           Correct name of the software to be loaded;

l           Correct path for TFTP Server to operate on program files.

2)         When using FTP, check that you have provided:

l           Correct server and switch IP addresses;

l           Correct name of the software to be loaded;

Correct username and password.

If loading fails when there are neither physical connection problems nor input errors, please contact the local agents of H3C Technologies Co., Ltd. for help.

6.5  Resetting a Lost Password

Please contact the local agent if the Boot ROM password or user password of the switch is lost.

6.6  Upgrading ONU Software

You need to upgrade the ONU software remotely.

l           First download the target ONU software to the Flash memory of the switch.

l           Transfer the software to the ONU device and begin software upgrade.

The detailed steps include:

Step 1: Download the target ONU software to the Flash memory of the switch. You can download the software in three ways:

l           Using XModem and through the console port

l           Using TFTP and through the Ethernet port

l           Using FTP and through the Ethernet port

See 6.3  Boot ROM and Host Software Loading for more information.

Step 2: Transfer the software to the ONU memory using the update onu filename command. Table 6-4 gives more information.

Table 6-4 Upgrade ONU software

Operation

Command

Remarks

Enter system view

system-view

Enter OLT port view

interface interface-type interface-number

Required, interface-type is OLT or ONU, and interface-number represents port number.

Enter ONU port view

Upgrade ONU software

update onu filename filename

Optional, filename represents the filename of the ONU software to be upgraded. Executing this command in OLT port view can upgrade all the software of the ONU devices connecting to the port. Executing this command in ONU port view upgrades the software of a single ONU device.

 

&  Note:

l      When executing the interface command in OLT port view, you need to provide the interface-number argument in the format of board slot number/daughter card slot number/OLT port number.

l      When executing the interface command in ONU port view, you need to provide the interface-number argument in the format of board slot number/daughter card slot number/OLT port number:ONU port number.

l      For details of upgrading ONU software, refer to H3C EPON OLT  Operation Manual and H3C EPON OLT  Command Manual.

 

Note that to enable successful transferring, the ONU device must be bound with the ONU port and in up status. If not, you can use the bind onuid command to bind the ONU device.

Step 3: Enter the filename (here support it is pu4f_pu1g_bootrom.app), press <Enter> and the system prompts:

Update flash:/pu4f_pu1g_bootrom.app?[Y/N]

Enter Y to upgrade the software and N to quit the upgrade. Enter Y and the system prompts:

The software has been downloaded to the up ONU(s) successfully!

 Please wait while the firmware is being burned, and check the software version after re-registration!

It means that the upgrade has succeeded. The ONU device is disconnected from the OLT device and turns into down status. The ONU device writes the software in its memory to the Boot ROM and begins software upgrade. The ONU device reboots automatically and turns into up status.

 

H3C reserves the right to modify its collaterals without any prior notice. For the latest information of the collaterals, please consult H3C sales or call 400 hotline.