You are on page 1of 73

H3C MSR 20 Series Routers

Installation Manual (v1.00)

MSR 20-20
MSR 20-21
MSR 20-40

BOM: 3104A10S
www.3Com.com
Part Number: 10016319 Rev. AA
August 2007

Downloaded from www.Manualslib.com manuals search engine

3Com Corporation
350 Campus Drive
Marlborough, MA
USA 01752-3064

Copyright 2007, 3Com Corporation. All rights reserved. No part of this documentation may be reproduced in any form or
by any means or used to make any derivative work (such as translation, transformation, or adaptation) without written
permission from 3Com Corporation.
3Com Corporation reserves the right to revise this documentation and to make changes in content from time to time
without obligation on the part of 3Com Corporation to provide notification of such revision or change.
3Com Corporation provides this documentation without warranty, term, or condition of any kind, either implied or
expressed, including, but not limited to, the implied warranties, terms or conditions of merchantability, satisfactory quality,
and fitness for a particular purpose. 3Com may make improvements or changes in the product(s) and/or the program(s)
described in this documentation at any time.
If there is any software on removable media described in this documentation, it is furnished under a license agreement
included with the product as a separate document, in the hard copy documentation, or on the removable media in a
directory file named LICENSE.TXT or !LICENSE.TXT. If you are unable to locate a copy, please contact 3Com and a copy will
be provided to you.
UNITED STATES GOVERNMENT LEGEND
If you are a United States government agency, then this documentation and the software described herein are provided to
you subject to the following:
All technical data and computer software are commercial in nature and developed solely at private expense. Software is
delivered as Commercial Computer Software as defined in DFARS 252.227-7014 (June 1995) or as a commercial item
as defined in FAR 2.101(a) and as such is provided with only such rights as are provided in 3Coms standard commercial
license for the Software. Technical data is provided with limited rights only as provided in DFAR 252.227-7015 (Nov 1995) or
FAR 52.227-14 (June 1987), whichever is applicable. You agree not to remove or deface any portion of any legend provided
on any licensed program or documentation contained in, or delivered to you in conjunction with, this User Guide.
Unless otherwise indicated, 3Com registered trademarks are registered in the United States and may or may not be
registered in other countries.
3Com and the 3Com logo are registered trademarks of 3Com Corporation.
H3C,
, Aolynk,
, H3Care,
, TOP G,
, IRF, NetPilot, Neocean, NeoVTL, SecPro,
SecPoint, SecEngine, SecPath, Comware, Secware, Storware, NQA, VVG, V2G, VnG, PSPT, XGbus, N-Bus, TiGem, InnoVision
and HUASAN are trademarks of Hangzhou H3C Technologies Co., Ltd., a 3Com company.
All other trademarks that may be mentioned in this manual are the property of their respective owners.
ENVIRONMENTAL STATEMENT
It is the policy of 3Com Corporation to be environmentally-friendly in all operations. To uphold our policy, we are committed
to:
Establishing environmental performance standards that comply with national legislation and regulations.
Conserving energy, materials and natural resources in all operations.
Reducing the waste generated by all operations. Ensuring that all waste conforms to recognized environmental standards.
Maximizing the recyclable and reusable content of all products.
Ensuring that all products can be recycled, reused and disposed of safely.
Ensuring that all products are labelled according to recognized environmental standards.
Improving our environmental record on a continual basis.
End of Life Statement
3Com processes allow for the recovery, reclamation and safe disposal of all end-of-life electronic components.
Regulated Materials Statement
3Com products do not contain any hazardous or ozone-depleting material.
Environmental Statement about the Documentation
The documentation for this product is printed on paper that comes from sustainable, managed forests; it is fully
biodegradable and recyclable, and is completely chlorine-free. The varnish is environmentally-friendly, and the inks are
vegetable-based with a low heavy-metal content.

Downloaded from www.Manualslib.com manuals search engine

GET THE LATEST DOCUMENTATION


AND SOFTWARE FOR YOUR
H3C ROUTER
Thank you for purchasing an H3C MSR 20 Series router. As part of our
commitment to help you get the most out of your H3C network equipment, we
offer updated documentation and software on our website.

In addition to this Installation Guide, a detailed User Guide, Configuration Guide,


and a Command Reference Guide are also available on the 3Com website.
To obtain the most up-to-date user documentation and operating software for the
MSR 20 Series router, point your web browser to: www.3Com.com and select
the Support and Registration link.
Please note that you must register your router to receive software upgrades. To
register, point your web browser to eSupport.3Com.com.

Espaol

Portugus

Una versin en espaol de esta gua se encuentra disponible en nuestra pgina


Web. Visite www.3Com.com, seleccione Support and Registration y presione el
vnculo Software Downloads.
Para obter a verso em portugus deste guia, visite nosso site www.3Com.com,
selecione Support and Registration e clique no link Software Downloads.

Downloaded from www.Manualslib.com manuals search engine

GET THE LATEST DOCUMENTATION AND SOFTWARE FOR YOUR H3C ROUTER

Downloaded from www.Manualslib.com manuals search engine

CONTENTS

GET THE LATEST DOCUMENTATION AND SOFTWARE FOR YOUR


H3C ROUTER
ABOUT THIS GUIDE
Conventions 7
Related Documentation

OVERVIEW
Introduction 9
Router Model and Structure
Generic Modules 15

INSTALLATION PREPARATIONS

INSTALLATION
Installation Process 21
Installing the Cabinet 22
Installing the Router 22
Installing Generic Modules 24
Connecting the PGND Wire 24
Connecting the Power Cord 25
Connecting the Console Terminal 26
Fixed Interfaces 27
Interface Card Module 30
Installation and Uninstall of the Slide Rail on MSR 20-40 Router
Verifying Installation 31

STARTUP AND CONFIGURATION


Startup 33
Configuration Fundamentals

37

SOFTWARE MAINTENANCE
Introduction 41
BootROM Menu 43
Upgrading BootROM Through Serial Port 48
Upgrading Application Program Through Serial Port

Downloaded from www.Manualslib.com manuals search engine

51

30

Upgrading Application Program Through Ethernet Interface 51


Maintaining Application Program and Configuration Through Command Lines
Maintaining Application Program and Configuration File 59
Dealing with Router Password Loss 61
Backing up and Restoring BootROM 62

HARDWARE MAINTENANCE
Preparing Tools 63
Opening/Closing Chassis Cover 63
Internal Structure 65
Installing/Removing CF Card 66
Replacing Memory Bar 67
Installing/Removing ESM/VCPM Card

69

TROUBLESHOOTING
Troubleshooting the Power System 71
Troubleshooting the Configuration System 71
Troubleshooting Application Software Upgrade 72

Downloaded from www.Manualslib.com manuals search engine

54

ABOUT THIS GUIDE

This guide describes the H3C MSR 20 Series Routers and how to install hardware,
configure and boot software, and maintain software and hardware. This guide
also provides troubleshooting and support information for your router.
This guide is intended for qualified service personnel who are responsible for
configuring, using, and managing the routers. It assumes a working knowledge of
local area network (LAN) operations and familiarity with communication protocols
that are used to interconnect LANs.

n
Conventions

Always download the release notes for your product from the 3Com World Wide
Web site and check for the latest updates to software and product
documentation: http://www.3Com.com

Table 1 lists icon conventions that are used throughout this guide.
Table 1 Notice Icons
Icon

Notice Type

Description

Information note

Information that describes important features or


instructions.

c
w

Caution

Information that alerts you to potential loss of data


or potential damage to an application, system, or
device.

Warning

Information that alerts you to potential personal


injury.

Table 2 lists text conventions that are used throughout this guide.
Table 2 Text Conventions
Convention

Description

Screen displays

This typeface represents information as it appears on the


screen.

Keyboard key names

If you must press two or more keys simultaneously, the key


names are linked with a plus sign (+), for example:
Press Ctrl+Alt+Del

The words enter and type

Downloaded from www.Manualslib.com manuals search engine

When you see the word enter in this guide, you must type
something, and then press Return or Enter. Do not press
Return or Enter when an instruction simply says type.

ABOUT THIS GUIDE

Table 2 Text Conventions


Convention

Description

Words in italics

Italics are used to:


Emphasize a point.
Denote a new term at the place where it is defined in the
text.
Identify menu names, menu commands, and software
button names.
Examples:
From the Help menu, select Contents.
Click OK.

Words in bold

Related
Documentation

Boldface type is used to highlight command names. For


example, Use the display user-interface command
to...

The following manuals offer additional information necessary for managing your
MSR 20 Series router:

H3C MSR 20/30/50 Series Routers Configuration Guide Describes how to


operate the router. It includes sections about getting started, system
management, interface, link layer protocol, network protocol, routing protocol,
multicast protocol, security, VPN, reliability, QoS, dial-up and VoIP, as well as
acronyms used in the manual.

H3C MSR 20/30/50 Series Routers Command Reference Guide Provides a


detailed description of the operating commands. It includes sections about
getting started, system management, interface, link layer protocol, network
protocol, routing protocol, multicast protocol, security, VPN, reliability, QoS,
dial-up and VoIP, as well as a command index.

H3C MSR 20/30/50 Series Routers Interface Card and Interface Module
Manual Covers the pinouts, function, interface attributes, panels, and LEDs
of all interface cards and modules available with the router.

LMR Series Routers Cable Manual Describes the pinouts of the cables
available for LMR series routers.

Release Notes Contains the latest information about your product. If


information in this guide differs from information in the release notes, use the
information in the Release Notes.

These documents are available in Adobe Acrobat Reader Portable Document


Format (PDF) on the CD-ROM that accompanies your router or on the 3Com
World Wide Web site: http://www.3Com.com

Downloaded from www.Manualslib.com manuals search engine

OVERVIEW

1
Introduction

H3C MSR 20 Series Routers were self-developed by Hangzhou H3C Technologies


Co., Ltd. for use on enterprise-level networks. Depending on the network size,
MSR 20 Series Routers can be either core routers on small and medium enterprise
networks, or access routers for network branches on some large-sized enterprise
networks. Therefore, MSR 20 Series Routers are suitable for the application on the
carrier-level networks, such as telecom management networks and billing
networks. MSR 20 Series Routers adopt modular design and provide a wide range
of optional smart interface cards (SICs). The MSR-20, MSR 20-21 and MSR 20-40
are available with AC-powered units.
Currently, the H3C MSR 20 series includes the following models:

Router Model and


Structure

Fixed Interface

MSR 20-20

MSR 20-21

MSR 20-40

The H3C MSR 20 Series Routers include MSR 20-20, MSR 20-21, and MSR 20-40.
These three models are similar in chassis structure and layout. All of them can be
put on the tabletop and can be mounted in 19-inch standard racks. The following
subsections will give you more details about these three models.

Table 1 H3C MSR 20-20/20-21/20-40 Routers Interface Description


Item
Fixed
interface

Interface Card

MSR 20-20

MSR 20-21

MSR 20-40

Console

AUX

USB

FE

Two FE interfaces

Two FE interfaces

Two FE interfaces

FE switching
interface

Table 2 Interface card description of H3C MSR 20-20/20-21/20-40 Routers


Item
External
module

Downloaded from www.Manualslib.com manuals search engine

SIC module

MSR 20-20

MSR 20-21

MSR 20-40

2 SICs

2 SICs

4 SICs

10

CHAPTER 1: OVERVIEW

Table 2 Interface card description of H3C MSR 20-20/20-21/20-40 Routers


Item
Internal
module

Processor and Memory

MSR 20-20

MSR 20-21

MSR 20-40

ESM module

VCPM module

VPM strip

Table 3 Processor and memory description of H3C MSR 20-20/20-21/20-40 Routers


Item

MSR 20-20

MSR 20-21

MSR 20-40

Processor

PowerPC

PowerPC

PowerPC

BootROM

4 MB

4 MB

4 MB

Memory

CF Flash

Other Hardware
Specifications

SDRAM

SDRAM

SDRAM

Default: 128 MB

Default: 128 MB

Default: 128 MB

Max: 384 MB

Max: 384 MB

Max: 384 MB

Default: 256 MB

Default: 256 MB

Default: 256 MB

Max: 1 GB

Max: 1 GB

Max: 1 GB

BootROM stores bootstrap.

The memory is used to store the communication data between the system and
the CPU when the system is running.

The CF card is used to store the software system and configuration file. The CF
card LED blinks when the system is reading/writing data from/to the CF card. In
this case, do not remove the CF card, otherwise hardware and software
damage may occur.

Table 4 Other specifications description of H3C MSR 20-20/20-21/20-40 Routers


MSR 20-20
Description

MSR 20-21
Description

MSR 20-40
Description

44.2 360 287.1


mm (1.74 14.17
11.3 in.)

44.2 360 287.1


mm (1.74 14.17
11.3 in.)

44.2 442 407.1 mm


(1.74 17.4 16.02
in.)

Weight

3.4 kg (7.5 lb.)

3.4 kg (7.5 lb.)

5.4 kg (11.9 lb.)

AC input

Rated voltage: 100


VAC to 240 VAC;
50/60 Hz

Rated voltage: 100


VAC to 240 VAC;
50/60 Hz

Rated voltage: 100 VAC


to 240 VAC; 50/60 Hz

Max power

54 W

54 W

100 W

Operating
temperature

0C to 40C (32F to
104F)

0C to 40C (32 F to 0C to 40C (32F to


104F)
104F)

Relative humidity
(non-conducting)

5% to 90%

5% to 90%

Item
Dimensions (H x W x
D)
(excluding feet and
rack-mounting ear)

Downloaded from www.Manualslib.com manuals search engine

5% to 90%

Router Model and Structure

H3C MSR 20-20 Router

11

Appearance
1 Front view
Figure 1 Front view of H3C MSR 20-20 router

(1) (2) (3)

(1) Power LED (PWR)

(2) System LED (SYS)

(3) ESM LED (ESM)

2 Rear view
Figure 2 Rear view of MSR 20-20 router

(3)

(4)

(5)

(7)

(1)

(6)

(8) (9) (10)

(2)

(11)

(1) SIC slot2

(2) SIC slot1

(3) Grounding terminal

(4) Power receptacle

(12)

(5) Power switch

(6) Fixed Ethernet port0 (LAN0)

(7) Fixed Ethernet interface 1 (LAN1)

(8) Console port (CON)

(9) Auxiliary port (AUX)

(10) USB interface

(11) CF card LED

(12) CF card interface

Panel LEDs
The following table gives the features of H3C MSR 20-20 router LEDs:
Table 5 Front panel LEDs description of MSR 20-20 router
LED

Description

PWR

Power LED:
ON means power is on.
OFF means power is off.

SYS

System operating LED:


Green and fast blinking means the system is booting.
Green and slow blinking means the system is operating normally.
Yellow and fast blinking means the system is malfunctioning.
Steady OFF means the system does not operate normally.

Downloaded from www.Manualslib.com manuals search engine

12

CHAPTER 1: OVERVIEW

Table 5 Front panel LEDs description of MSR 20-20 router


LED

Description

ESM

ESM module LED:


Green and slow blinking means the system is booting.
Green means ESM card is operation normally.
Yellow means ESM card is malfunctioning.
Steady OFF means no ESM card is present.

Table 6 Rear panel LEDs of H3C MSR 20-20 Router


LED

Description

LINK

OFF means no link is present.


ON means a link is present.

ACT

OFF means no data is being transmitted or received.


Blinking means data is being transmitted or received.

CF

Steady green means a CF card is present.


Green and blinking means the CF card is reading/writing data. To
prevent data corruption, do not remove the running CF card.
Steady yellow means the present CF card is malfunctioning.
Steady OFF means no CF card is present or the present CF card
cannot be identified by the system.

H3C MSR 20-21 Router

Appearance
1 Front view
Figure 3 Front view of H3C MSR 20-21

(1) (2) (3)

(1) Power LED (PWR)

(2) System LED (SYS)

(3) ESM LED (ESM)

2 Rear view
Figure 4 Rear view of H3C MSR 20-21

(3)

(4)

(5)

Downloaded from www.Manualslib.com manuals search engine

(1)

(7)

(13)

(6)

(8)

(9) (10)

(2)

(11)

(12)

Router Model and Structure

(1) SIC slot2

(2) SIC slot1

(3) Grounding terminal

(4) Power receptacle

(5) Power switch

(6) Fixed Ethernet port0 (LAN0)

(7) Fixed Ethernet port1 (LAN1)

(8) Console port (CON)

(9) Auxiliary port (AUX)

(10) USB interface

(11) CF card LED

(12) CF card interface

13

(13) Fixed L2 switching port (LAN2LAN9)

Panel LEDs
The following table gives the features of H3C MSR 20-21 router LEDs:
Table 7 Front panel LEDs description of H3CMSR 20-21 router
LED

Description

PWR

Power LED:
ON means power is on.
OFF means power is off.

SYS

System operating LED:


Green and fast blinking means the system is booting.
Green and slow blinking means the system is operating normally.
Yellow and fast blinking means the system is malfunctioning.
Steady OFF means the system does not operate normally.

ESM

ESM module LED:


Green and slow blinking means the system is booting.
Steady green means ESM card is operation normally.
Steady yellow means ESM card is malfunctioning.
Steady OFF means no ESM card is present.

Table 8 The rear panel LEDs of H3C MSR 20-21 Router


LED

Description

LINK

OFF means no link is present.

ACT

OFF means no data is being transmitted or received.

ON means a link is present.


Blinking means data is being transmitted or received.
CF

Steady green means a CF card is present.


Green and blinking means the CF card is reading/writing data. To
prevent data corruption, do not remove the running CF card.
Steady yellow means the present CF card is malfunctioning.
Steady OFF means no CF card is present or the present CF card
cannot be identified by the system.

Downloaded from www.Manualslib.com manuals search engine

14

CHAPTER 1: OVERVIEW

H3C MSR 20-40 Router

Appearance
1 Front view
Figure 5 Front view of H3C MSR 20-40

(9)

(3) (1)

(7)

(6)

(8)

(5) (4) (2)

(1) Power LED (POWER)

(2) System LED (SYSTEM)

(3) Console port (CONSOLE)

(4) Auxiliary port (AUX)

(5) USB interface

(6) CF card

(7) CF card LED

(8) Power receptacle

(9) Power switch

2 Rear view
Figure 6 Rear view of H3C MSR 20-40

(7)

(6)

(5)

(10)(12)

(2)

(4)

(3)

(8)(9)(11)

(1)

(1) FE interface 0

(2) FE interface 1

(3) SIC slot1

(4) SIC slot2

(5) SIC slot3

(6) SIC slot4

(7) Grounding terminal

(8) VCPM LED

(9) VPM0 LED

(10) VPM1 LED

(11) ESM0 LED

(12) ESM1 LED

Panel LEDs
The description of LEDs on MSR 20-40 router is as follows:
Table 9 Front panel LEDs description of H3C MSR 20-40 router
LED
PWR

Description
Power LED:
ON means the circuit board supplies power normally.
OFF means the circuit board does not supply power.

Downloaded from www.Manualslib.com manuals search engine

Generic Modules

15

Table 9 Front panel LEDs description of H3C MSR 20-40 router


LED

Description

SYS

Hardware system operation LED:


Blinking means the system is operating normally.
Steady ON or steady OFF means the system does not operate
normally.

CF

CF card LED:
Steady green means the CF card is in place, and can be identified
by the router.
Blinking green means the CF card is being accessed and cannot
be removed.
Steady yellow means the CF card is in place, but cannot be
identified by the router.
OFF means no CF card is inserted or the CF card cannot be
identified.

Table 10 Rear panel LEDs description of MSR 20-40 router


LED

Description

LINK

OFF means no link is present.


ON means a link is present.

ACT

OFF means no data is being transmitted or received.


Blinking means data is being transmitted or received.

ESM0 to 1

OFF means no ESM is in the ESMx slot.


Steady green means an ESM is in the ESMx slot and operates
normally.
Steady yellow means an ESM is in the ESMx slot but does not
operate normally.

VCPM

OFF means no VCPM is in the slot.


Steady green means a VCPM is in the slot and operates normally.
Steady yellow means a VCPM is in the slot but does not operate
normally.

VPM0 to 1

OFF means no VPM is in the VPMx slot.


Steady green means a VPM is in the VPMx slot and operates
normally.
Steady yellow means a VPM is in the VPMx slot but does not
operate normally.

Generic Modules

The MSR 20 series is available with generic modules such as SIC interface card and
ESM. For detailed information about interface cards, refer to H3C MSR 20/30/50
Series Routers Interface Card and Interface Module Manual.

SIC and DSIC Interface


Cards

MSR series routers adopt modular design and support a wide range of optional
SIC/DSIC interface cards, providing various interfaces, such as
synchronous/asynchronous serial interface, Ethernet interface, E1/T1, ISDN BRI/PRI,
ADSL, audio interface, and Layer 2 switching interface, and so on.

Downloaded from www.Manualslib.com manuals search engine

For an H3C MSR 20-40 router, 4FSW/1FEA/1GEC/1ADSL/1ADSL-I can only be


installed in Slot 2 or Slot 4.

16

CHAPTER 1: OVERVIEW

ESM Module

Currently, MSR 20 series routers do not support PoE and regard SIC-4FSW-POE
and DSIC-9FSW-POE (if used) as only ordinary Layer 2 switching modules.

High-performance network data encryption ESM module (ESM-ANDE)

Standard network data encryption ESM module (ESM-SNDE)

ESM module supports IPSec and by using hardware encryption expedites IP packet
encryption. The use of hardware encryption/decryption and hashing operation
allows the router to encrypt packets with high performance and reliability.
The encryption card is optional. On a router installed with an encryption card, the
main control board functions to route IP packets and implement
encryption-enabled VPN, while the encryption card functions to encrypt packets.
Table 11 Encryption card attributes
Attribute

Description

Protocol

IPsec

Hardware encryption algorithm

Key algorithms: DES, 3DES, AES


Authentication algorithms:
HMAC-MD5-96, HMAC-SHA-1-96

VPM and VCPM Module

VPM (Voice Processing Module) functions to implement the encryption/decryption,


EC and CNG of voices.
VCPM (Voice Co-Processing Module) processes the voice data in combination with
VPM.

Voice co-processing module (RT-VCPM)

8-channel voice processing module (RT-VPM8)

16-channel voice processing module (RT-VPM16)

24-channel voice processing module (RT-VPM24)

32-channel voice processing module (RT-VPM32)

VPM/VCPM is only available on MSR 20-40.

Downloaded from www.Manualslib.com manuals search engine

2
Requirements on
Environment

Requirements on
Temperature/Humidity

INSTALLATION PREPARATIONS

H3C MSR 20 Series must be used indoors. To ensure the normal operation and
prolong their service life, the following requirements for installation site must be
met.
To ensure the normal operation and prolong their service life, certain requirements
on temperature and humidity in the equipment room shall be met. If the relative
humidity is too high, the insulation materials in it will deteriorate easily or even
lead to electric leakage. Sometimes this will result in change to the mechanical
performance of the materials and rusting of the metal components. If the relative
humidity is too low, the fastening screw will become loosen due to shrinkage of
the isolation spacer. In an environment with dry climate, static electricity may be
produced, putting the CMOS of the router to risk. High temperature is of the
greatest risk: for it will significantly degrade the routers reliability, speed up aging
process of the insulating materials, and shorten the service life of the router.
The requirements on the temperature and humidity for MSR 20 Series are shown
in the following table:
Table 12 Temperature/humidity requirements in the equipment room

Requirements on
Cleanness

Temperature

Relative Humidity

0C to 40C (32F to 104F)

5% to 90% (non-conducting)

Dust is harmful to the safe operation of the Router. Dust on the chassis may result
in static absorption, thus causing poor contact of the metal connection
components or points. Especially under the condition of low indoor humidity, dust
is easier to be absorbed.
The requirements on the dust concentration and diameter are shown in the
following table:
Table 13 Limitation on dust content in equipment room
Diameter (m)

0.5

Concentration
(particle/m3)

1.4 107

7 105

2.4 105

1.3 105

Besides the dust specifications, the equipment room of the Router should also
meet the rigorous requirements for the content of salt, acid and sulfide. These
harmful gases could accelerate the metal erosion and aging process of some parts.
The specific limits of these harmful gases as SO2, H2S, NO2, NH3 and CI2 are given
in the following table.

Downloaded from www.Manualslib.com manuals search engine

18

CHAPTER 2: INSTALLATION PREPARATIONS

Table 14 Harmful limits in equipment room

Requirements on
Electrostatic Discharge
Prevention

Gas

Max (mg/m3)

SO2

0.2

H2S

0.006

NH3

0.05

CI2

0.01

Although many antistatic considerations have been given to H3C MSR 20 Series,
damage to the routers circuit or even the whole equipment may still happen when
the static electricity exceeds the tolerance threshold.
In the communication network to which the routers are connected, static
induction mainly comes from two aspects: external electric fields such as outdoor
high voltage power line or thunder and internal environment like flooring
materials or the whole equipment structure. Thus, the following should be
considered to safeguard the equipment against ESD.

Requirements on
Electromagnetic
Environments

Requirements on
Preventing Lightning

Make sure that the equipment and the floor are well grounded.

The equipment room is dust-proof.

Maintain an appropriate humidity and temperature.

Wear an ESD-preventive wrist strap and uniform when contacting the circuit
board.

Place the uninstalled circuit board on the antistatic workbench, with its face
upward, or put it into the static shielding bag.

When observing or removing the uninstalled circuit board, please touch the
edge of the circuit board, and avoid contacting the devices on it.

The interference sources, no matter where they come from, affect the routers with
capacitance coupling, inductance coupling, radiation of electromagnetic wave,
common impedance (including the grounding system) or conducting line (power
line, signal line and transmission line etc.). So the following should be considered:

Take effective measures to prevent the power system from being interfered
with by the power grid system.

Use an earthing system or lightning protection grounding different from that


for the power supply equipment and keep them as far as possible.

Keep the router far away from the radio launcher, radar launcher, and
high-frequency devices working in high current.

Use electromagnetic shielding when necessary.

Although many measures have been taken to protect H3C MSR 20 Series from
lightning, if the lightning intensity exceeds a certain range, damage to the router
may still happen. To protect the router from lightning better, the following should
be considered:

Ensure the PGND wire of the chassis is well grounded.

Ensure the ground point of the socket of AC power supply is well grounded.

Downloaded from www.Manualslib.com manuals search engine

19

Checking the Rack

Safety Precautions

To enhance the lightning protection capability of the power supply, a lightning


arrester could be installed at the input end of the power supply.

As for the signal line outdoors to which the interface modules of H3C MSR 20
series routers are connected, such as ISDN line, telephone line, E1/T1 line, etc, a
special lightning arrester should be installed at the input end of the signal line
to enhance the lightning protection capability.

When installing H3C MSR 20 Series Routers, observe the following:

There is spacing reserved at the air inlet and outlet in the router so as to
facilitate the radiation of the router cabinet.

Make sure that the rack has a good ventilation system.

Make sure that the rack is sturdy enough to support the weight of the device
and the installation accessories.

Make sure that the rack is well-grounded.

Routers play a key role in data communications network. Please pay attention to
the following:

Warning: It indicates that this operation is incorrect and may seriously damage
the router or endanger the operator. Please follow the correct operation
procedures for sake of safety.

Caution: It indicates that during the installation and usage of the router, the
operation needs attention. If this operation is performed incorrectly, it might affect
the operation of the router.
When installing or working on the router, you are recommended to:

Installation Tools and


Meters and Equipment

Keep the router far away from the heat sources and water/liquid.

Make sure that the router has been correctly grounded.

Wear an ESD-preventive wrist strap in installation and maintenance, making


sure that the strap has good skin contact.

Do not hot swap the interface modules and interface cards of the router.

Do not hot swap any cable.

Correctly connect the interface cable for the router. Do not connect the
telephone cable (including the ISDN cable) to the AUX port or the console port.

Use laser with caution. Do not directly stare into apertures or fiber-optic
connectors that emit laser radiation.

Adopt uninterrupted power supply (UPS).

Tools

Phillips screwdriver

Straight screwdriver

ESD-preventive twist strap

Downloaded from www.Manualslib.com manuals search engine

20

CHAPTER 2: INSTALLATION PREPARATIONS

Cables

PGND wire and power cord

Console cable

Optional cables

Meters and equipment

Hub or LAN switch

Console terminal (it could be a PC)

Equipment related to the selected modules

Multimeter

CAUTION: H3C MSR 20 series are not shipped with any installation tools, meters,
or devices.

Downloaded from www.Manualslib.com manuals search engine

3
Installation Process

INSTALLATION

Figure 7 H3C MSR 20 Series Router installation process

Start
Mount the rack
Connect PGND
Connect the pow er
cord
Connect to the
console terminal
V erif y installation
Pow er on
Normal?
YES

Turn of f the pow er


sw itch
Install the FICs

Install multifunctional
interf ace modules

Connect to the
Ethernet
Connect to the WA N
Verif y installation
Pow er on
End

Downloaded from www.Manualslib.com manuals search engine

Troubleshoot
NO

Turn of f the
pow ersw itch

22

CHAPTER 3: INSTALLATION

Installing the Cabinet

For cabinet installation methods, refer to the part discussing cabinet installation.
Skip this section if you want to mount your router on the tabletop or the rack of
another vendor.

Installing the Router

Install the router after you have completed the installation preparations.
The installation of the router will be respectively described below according to the
positions that it will be placed:

Installing the Router on


a Workbench

Installing the Router on


a Chassis

Installing the router on a workbench

Installing the router on a chassis

In many circumstances, you may not own a 19-inch standard rack. Usually, the
router will be installed on a clean workbench. The operations are very simple, but
still, you should be aware of the following items:

Ensure the stability and well-grounding of the workbench.

Leave a space of 10cm (3.9 in.) around the router for heat dissipation.

Do not place heavy objects on the router.

Dimensions
H3C MSR 20 Series Routers are designed for mounting in a 19-inch standard rack
and on the tabletop. The following table describes their dimensions:
Table 15 H3C MSR 20-20/20-21/20-40 Router dimensions
Dimensions
Router model

(H W D) (excluding feet and rack-mounting ear)

MSR 20-20

44.2 360 287.1 mm (1.74 14.17 11.3 in.)

MSR 20-21

44.2 360 287.1 mm (1.74 14.17 11.3 in.)

MSR 20-40

44.2 442 407.1 mm (1.74 17.4 16.02 in.)

Installation process
Step 1: Check the grounding and stability of the rack. Use the screws to fix the
mounting ears at both sides of the front panel or the rear panel of the router.
Step 2: Put the router in a rack tray. For MSR 20-40 routers, use dedicated ears
mounted on the rear panel if no tray is available. Depending on the actual
situation, slide the router along the chassis guides to an appropriate place.
Step 3: Fasten the mounting ears with the recess screws to fix the router in the
rack horizontally and firmly. The specifications of recess screws should satisfy the
installation requirements and the surface of the screws should be anti-rust.

Downloaded from www.Manualslib.com manuals search engine

Installing the Router

Figure 8 Installing H3C MSR 20 Series Router in a rack

(1)
(1) Mounting ear

(2)
(2) Guide

Figure 9 Installing ears on the rear panel of the H3C MSR 20-40 Series Router

Downloaded from www.Manualslib.com manuals search engine

23

24

CHAPTER 3: INSTALLATION

Installing Generic
Modules

Installing generic modules includes installing the memory, ESM cards, and FICs. For
more information about the memory and ESM cards and their installation, refer to
Hardware Maintenance on page 63 in this manual. For more information about
FICs and their installation, refer to H3C MSR 20/30/50 Series Routers Interface
Card and Interface Module Manual.

Connecting the PGND


Wire

WARNING: The normal connection of the protection ground (PGND) on the


router chassis is an essential safeguard against the lightning shocks and
interference. You must correctly connect the PGND when installing or using the
router.
The power input end of H3C MSR 20 Series router is connected to a noise filter.
The neutral point of the noise filter is directly connected to the chassis and is called
protection ground (PGND). The PGND wire must be well grounded, so as to safely
conduct the faradism and leaky electricity to the earth ground, and thereby
improve the capability of the whole device to guard against the electromagnetic
interference. This PGND wire can also protect the router against the lightning
caused by the connection with the external network lines, such as E1/T1 line,
ISDN/PSTN line.
The grounding screw of H3C MSR 20 Series Router, which is marked with
grounding label, is located near the AC power socket and its switch on the rear
panel of the chassis, as shown in the following figure:
Figure 10 Grounding terminal of the router

Use a PGND wire to connect the screw to the earth ground, and the grounding
resistance should not be greater than 5-ohm. Likewise, if the router is installed in a
19-inch standard rack, this rack is required to be grounded too.

WARNING: When the router is in normal operation, it is required to be well


grounded. Otherwise, the router cannot reliably avoid lightning, which may
damage the router itself and even the peer device.

Downloaded from www.Manualslib.com manuals search engine

Connecting the Power Cord

Connecting the Power


Cord
Power Input and PGND

Connecting the AC-input


Power Cord

25

The MSR 20-20/20-21/20-40 router is available with AC-powered units.

Table 16 Power input and PGND of the MSR 20-20/20-21/20-40 router


Item

Description

Power input

100 VAC to 240 VAC power input socket

PGND

Connected to the earth ground with ground cable

AC power supply
Rated voltage range: 100 VAC to 240 VAC, 50 Hz/60 Hz
The following figure illustrates the partial external appearance of the power socket
for an AC-powered router:
Figure 11 Power socket on AC-powered units

(2)

(1)

(1) Power switch

(2) AC input

AC power socket (recommended)


You are recommended to use a three-terminal single-phase power socket with
ground contact, which must be grounded reliably. Normally, the ground contact of
the power supply system in a building was buried during construction and cabling.
Still, before connecting the AC-input power cord, you must make sure that the
power supply of the building is well grounded.
Connecting the AC-input power cord
Step 1: Make sure that the PGND is securely connected to the earth ground.
Step 2: When the power switch of the router is in the OFF position, insert one end
of the power cord accompanying the router into the power socket on the chassis
rear panel, and connect the other end of the cable to an AC power source at your
installation site.
Step 3: Place the power switch of the router to the ON position.
Step 4: Check that the PWR LED on the front panel of the router is on for correct
connection.

Downloaded from www.Manualslib.com manuals search engine

26

CHAPTER 3: INSTALLATION

Connecting the
Console Terminal

Console port
H3C MSR 20 series provides an RS232 asynchronous serial console (CON) port for
router configuration, through which you can complete the configuration of the
router. For its attributes, refer to Table 17:
Table 17 Attributes of the console port
Attribute

Description

Connector

RJ-45

Interface standard

RS232

Baud rate

9600 bps (default) to 115,200 bps

Function

Connecting to the ASCII terminal


Connecting to the serial interface of the local PC and
running terminal emulation program on the PC
Command line interface

Console cable
Console cable is an eight-wire shielded cable. At one end of the cable is a crimped
RJ-45 connector to the console port on the router; at the other end of the cable is
a DB-9 (female) connector to the serial port on the console terminal.
The following figure illustrates the console cable.
Figure 12 Console cable
A

Connecting the console cable


Follow these steps to connect the router to a console terminal:
Step 1: Select a console terminal.
It can be a standard ASCII terminal with an RS232 serial port, or more commonly,
a PC.
Step 2: Connect the console cable.
Power down the router and the console terminal, connect the RS232 serial port on
the console terminal to the console port on the router through the console cable.
Verify the connection and power up the devices. The console terminal shows the
startup information of the router if the connection is correct.

Downloaded from www.Manualslib.com manuals search engine

Fixed Interfaces

27

Fixed Interfaces
Ethernet Interface

Ethernet interface
H3C MSR 20 Series Routers are available with fixed 100Base-TX FE interface(s) and
Ethernet modules/cards for expansion. For more information, refer to H3C MSR
20/30/50 Series Routers Interface Card and Interface Module Manual. The
following table describes Ethernet interface attributes.
Table 18 Attributes of the Ethernet interface
Attribute

Description

Connector

RJ-45

Interface

MDI/MDIX auto-sensing

Frame format

Ethernet_II
Ethernet_SNAP

Operating mode

10/100 Mbps auto-sensing


Full duplex/half duplex

MDI (Media Dependent Interface) is a typical type of Ethernet interface provided


by network adapters. MDIX is crossover media-dependent interface, which is
commonly found on a Hub or LAN switch.
Ethernet cable
Ethernet interfaces usually use category 5 twisted pair cables, as shown in the
following figure:
Figure 13 Ethernet cable

Ethernet cables fit into the following two categories:

Standard cable, also called straight-through cable, at both ends of which, wires
are crimped in the RJ-45 connectors in the same sequence. The cable connects
different categories of devices, such as a terminal device (PC for example) or
router to a Hub or LAN switch. The cable accompanying the router is standard
cable.

Crossover cable, at both ends of which, wires are crimped in the RJ-45
connectors in different sequences. The cable connects the same category of
devices, such as PC to PC or PC to router. You can make crossover cables
yourself as needed.

In making network cables, shielded cables are preferred for electromagnetic


compatibility sake.

Downloaded from www.Manualslib.com manuals search engine

28

CHAPTER 3: INSTALLATION

Connecting the Ethernet cable


Follow the steps below to connect an Ethernet cable:
Step 1: Connect one end of the Ethernet cable to an Ethernet port on the router
and the other end to another device.

For a 10/100 Mbps port provided by the RPU, connect it to a PC or another


router using a crossover cable or to a Hub or LAN switch using a
straight-through cable.

Step 2: View the LINK LED of the Ethernet interface: ON means a link is present.
OFF means no link is present; check the line for the cause.
Ethernet Switching
Interface

The H3C MSR 20-21 Router is available with fixed 100Base-TX FE interface(s). The
following table describes Ethernet switching interface attributes:
Table 19 Attributes of the Ethernet switching interface
Attribute

Description

Connector

RJ-45

Interface

MDI/MDIX

Frame format

Ethernet_II

Operating mode

10/100 Mbps auto-sensing

Ethernet_SNAP
Full duplex/half duplex

MDI (media dependent interface is a typical type of Ethernet interface provided by


network adapters. MDIX is crossover media-dependent interface, which is
commonly found on a Hub or LAN switch.
Ethernet cable
Ethernet interfaces usually use category 5 twisted pair cables, as shown in the
following figure:
Figure 14 Ethernet cable

Ethernet cables fit into the following two categories:

Standard cable, also called straight-through cable, at both ends of which, wires
are crimped in the RJ-45 connectors in the same sequence. The cable connects
different categories of devices, such as a terminal device (PC for example) or
router to a Hub or LAN switch. The cable accompanying the router is
straight-through cable.

Crossover cable, at both ends of which, wires are crimped in the RJ-45
connectors in different sequences. The cable connects the same category of

Downloaded from www.Manualslib.com manuals search engine

Fixed Interfaces

29

devices, such as PC to PC or PC to router. You can make crossover cables


yourself as needed.

In making network cables, shielded cables are preferred for electromagnetic


compatibility sake.
Connecting the Ethernet cable
Follow the steps below to connect an Ethernet cable:
Step 1: Connect one end of the Ethernet cable to an Ethernet port on the router
and the other end to another device.

For a 10/100 Mbps port provided by the RPU, connect it to a PC or another


router using a crossover cable or to a Hub or LAN switch using a
straight-through cable.

Step 2: View the LINK LED of the Ethernet interface: ON means a link is present.
Connecting AUX to a
Modem

AUX port
AUX is an RS232 asynchronous serial interface, which can back up a WAN
interface and provide dial connection. In case of console failure, AUX can function
as a console interface.
AUX cable
AUX cable is an eight-wire shielded cable. At one end of the cable is an RJ-45
connector for connecting the console port on the router. At the other end are
DB-9 (male) connector and DB-25 (male) connector. You can plug either of them
into the serial port on a modem as needed.
Figure 15 AUX cable

Connecting the AUX cable


Follow these steps to connect the AUX cable.
Step 1: Plug the RJ-45 connector of the cable into the AUX port on the main
board.
Step 2: Plug the DB-25 or DB-9 connector into the serial port on the analog
modem.
When using the AUX interface for remote configuration or dial backup, you need
to connect the local modem to the remote modem through PSTN and then to the

Downloaded from www.Manualslib.com manuals search engine

30

CHAPTER 3: INSTALLATION

remote device. For the configuration procedures, refer to H3C MSR 20/30/50
Series Routers User Manual.

Interface Card Module

The MSR 20 Series Routers are available with various types of interface card
modules. For detailed information refer to H3C MSR 20/30/50 Series Routers
Interface Card and Interface Module Manual.

Installation and
Uninstall of the Slide
Rail on MSR 20-40
Router
Slide Rail

SIC slide rail


Figure 16 SIC slide rail

Installing the Slide Rail

Figure 17 Install the slide rail

Figure 18 Fix the slide rail

Downloaded from www.Manualslib.com manuals search engine

Verifying Installation

Uninstalling the Slide


Rail

31

Figure 19 Loosen the screw

Figure 20 Draw out the slide rail

Verifying Installation

During router installation, you must verify installation each time you power on the
router, making sure that:

Whether there is enough space around the router for heat-dissipation, and
whether the workbench is stable enough.

Whether the power supply that the power cord connects to is compliant with
that required by the router.

Whether the PGND wire of the router is correctly connected.

Whether the router is correctly connected to other devices, such as the console
terminal.

CAUTION: The check after installation is very important. The stability, grounding
of the router and power supply will directly affect the operation of the router.

Downloaded from www.Manualslib.com manuals search engine

32

CHAPTER 3: INSTALLATION

Downloaded from www.Manualslib.com manuals search engine

STARTUP AND CONFIGURATION

4
Startup

You can only configure the MSR 20 router through the console port if it is the first
time you use it.
Setting up
Configuration
Environment

Connecting the router to a console terminal


To set up the local configuration environment, RJ-45 connector of the console
cable needs to be connected to the console port on the router, and DB-9
connector to the serial interface of a PC, as shown in the following figure.
Figure 21 Local configuration through Console port

Setting the parameters for console terminal


1 Opening the console terminal and setting up a new connection. Select the serial
interface to be connected in the Connect using field in the [Connect to] box as

Downloaded from www.Manualslib.com manuals search engine

34

CHAPTER 4: STARTUP AND CONFIGURATION

shown in the following figure. Note that the selected serial interface should be
consistent with the actual serial interface connected by the console cable.
Figure 22 Setting the connection port in the local configuration

2 Setting terminal parameters. As shown in the following figure, in the properties


dialog box of the serial interface, set the baud rate to 9600, data bit to 8, no parity
check, stop bit to 1, and flow control to none. Then, click <OK> to return to the
HyperTerminal window.
Figure 23 Setting serial interface parameters

3 Set HyperTerminal properties. Select [FilePropertiesSettings] in the HyperTerminal


to enter the properties setting window as shown in the following figure. Select the

Downloaded from www.Manualslib.com manuals search engine

Startup

35

terminal emulation type to be VT100 or auto detect, and click <OK> to return to
the HyperTerminal window.
Figure 24 Setting terminal type

Powering on the Router

Checking before power-on


Check according to the following items before powering on the router.

Whether the power cord and PGND wire are correctly connected.

Whether the voltage of the power supply complies with the requirement of the
router.

Whether the console cable is correctly connected, whether the PC or terminal


for configuration is open, and whether the settings are done.

Whether the CF card is loosed.

WARNING: Before powering on the router, the user should be aware where the
switch of the power supply to the router is located, so that the power supply can
be disconnected in time once accidents occur.
Powering on the router

Turn on the site power.

Turn on the power switch on the router.

Checking/operating after power-on


After powering on the router, check that:
1 The LEDs on the front panel show that the router is operating normally.
2 The console terminal displays normally.

Downloaded from www.Manualslib.com manuals search engine

36

CHAPTER 4: STARTUP AND CONFIGURATION

For local configuration, after you power on the router, you can see the startup
banner. See Startup Process on page 36.
3 After completing the power-on self-test (POST), the system asks you to press
<Enter>. When the prompt appears, you may proceed to configure the router.
Startup Process

During the power-on or reboot process, the console terminal displays the
following information first:
Do you want to go on checking sdram? Yes or not(Y/N)

If you enter <N> or wait for two seconds, the system runs the Boot ROM program
and the following banner appears on the console screen:
system start booting......Version
Press CTRL+D to stop auto-boot

2.11

Press <Ctrl+D> and the system will enter the basic BootROM menu. Otherwise,
the system will enter the program decompression process of the extended
BootROM segment.

The system enters the basic BootROM menu only if <Ctrl+D> is pressed
immediately (within 3 seconds) after the statement Press CTRL+D to stop
auto-boot appears; otherwise, the system will enter the extended BootROM
decompression process.
Booting Normal Extend BootRom
Decompressing...done!
Ensure the baudrate is set to 9600bps! Starting at 0xa00000...

*******************************************************
*
*
*
H3C MSR20-21 BOOTROM, Version 2.11
*
*
*
*******************************************************
Copyright(c) 2004-2007 Hangzhou H3C Technologies Co., Ltd.
Compiled date: Apr 09 2007, 08:52:28
CPU type
CPU L1 Cache
CPU Clock Speed
Memory Type
Memory Size
Memory Speed
BootRom Size

:
:
:
:
:
:
:

MPC8248
16KB
400MHz
SDRAM
256MB
100MHz
4096KB

CPLD
Version is
HardWare Version is

2.00
3.00

CF Card is Inserted, now is mounting...


cf:/ - Volume is OK
Mount CF Card OK!
CF Card Size:256MByte

Downloaded from www.Manualslib.com manuals search engine

Configuration Fundamentals

37

Press Ctrl+B to enter extended boot menu...

Enter <Ctrl+B>, the system will enter the extended BootROM menu; otherwise,
the system will enter the program decompression process.

The system enters the Boot extended menu only if <Ctrl+B> is pressed
immediately (within six seconds) after the statement Press Ctrl+B to enter
extended Boot Menu... appears. Otherwise, you will enter the program
decompression process. To re-enter the Boot extended menu during the
decompression process, you need to reboot the router.
The current starting file is main application file--cf:/main.bin!
The main application file is self-decompressing...
Decompressing...done!
System is starting.....
Ensure the baudrate is set to 9600bps!
Starting at 0x10000...
usrRoot() end
leave BSP
id=0x2000,proc=0xd75bd0
DRV_Time_GetTimeZone return 1
DRV_Time_SetTimeZone return 1
id=0x70000,proc=0xd96bfc...
......
......
......
User interface con0 is available.

Press ENTER or ACTIVATION KEY to get started.

Press <Enter> and the screen will display:


<H3C>

This prompt indicates that the router has entered the user view, and now the
router can be configured.

Configuration
Fundamentals

In general, the configuration steps are as follows:


Step 1: Before configuring the router, the networking requirements should be
made specific, which include networking purpose, the role of the router in the
network, the division of subnets, WAN type and transmission medium, the
network security policy and reliability.
Step 2: Based on the above requirements, draw a clear and integrated networking
diagram.
Step 3: Configure the WAN interface of the router. First, configure the physical
operating parameters (e.g., the operating mode of the serial interface, baud rate
and synchronous clock) of the interface according to the transmission medium of

Downloaded from www.Manualslib.com manuals search engine

38

CHAPTER 4: STARTUP AND CONFIGURATION

the WAN. For the dial-up interface, the user also needs to configure DCC
parameters. Then, configure the link layer protocol encapsulated on the interface
and the related operating parameters according to the WAN type.
Step 4: Configure the IP addresses or IPX network numbers of all the interfaces on
the router according to the division of the subnets.
Step 5: Configure the routes. If it is necessary to enable a dynamic routing
protocol, the user should configure the related operating parameters of the
protocol.
Step 6: If special security is required, perform the security configuration for the
router.
Step 6: If special reliability is required, perform the reliability configuration for the
router.
See H3C MSR 20/30/50 Series Routers User Manual for the configuration details of
the protocols or functions of the router.
Basic Configuration
Procedures
Command Line Interface

Characteristics of the command line interface


The command line interface of MSR 20 Series Routers provides a number of
configuration commands, which can be used to configure and manage the router.
The command line interface has the following characteristics:

Performs the local configuration through Console port

Performs the local or remote configuration through telnet command, which


can be used to directly log on and manage other routers.

Users can enter ? anytime to get online help.

Provides network diagnostic tools, such as Tracert and Ping, to quickly diagnose
the availability of the network.

Provides all kinds of detailed debugging information to diagnose network


faults.

The command line interpreter adopts fuzzy search for the keywords of the
command. If the user enters the conflict-free keyword for a command, the
command will be interpreted accordingly. For example, for a display
command, the user can just enter dis.

Command line interface


The command line interface of H3C MSR 20 Series routers provides plenty of
configuration commands. All the commands are grouped in system view. Each
group corresponds to a view. The user can use these commands to switch
between different configuration views. In general, only certain commands can be
executed under a particular view. But some common commands (such as ping
and display current-configuration) can be executed in all views.

Downloaded from www.Manualslib.com manuals search engine

Configuration Fundamentals

Arranging Slots and


Numbering Interfaces

39

Slot arrangement
The MSR 20 series provides many types of interfaces, such as console, AUX,
Ethernet, serial (synchronous/asynchronous), and asynchronous port. The
following describes how these interfaces are numbered.
Figure 25 Slot arrangement on the MSR 20-20


(1) Slot0

(2) Slot1

(3) Slot2

Figure 26 Slot arrangement on the MSR 20-21


(1) Slot0

(2) Slot1

(3) Slot2

Figure 27 Slot arrangement on the MSR 20-40

(5)

(4)

(3)

(2)

(1) Slot0

(2) Slot1

(4) Slot3

(5) Slot4


(3) Slot2

Interface numbering
The MSR 20 Series Router interface adopts two dimension numbering rules,
shown in the following:

Downloaded from www.Manualslib.com manuals search engine

40

CHAPTER 4: STARTUP AND CONFIGURATION

The interfaces are represented by interface-type X/Y, where interface-type can


be serial, asynchronous, or Ethernet, and so on; X specifies the slot number; Y
specifies the interface number.

Different interfaces on an interface module share the same slot number X.

For every interface, Y starts from 0 and Y indicates the interface sequence on
the interface module, from left to right.

If you install an SIC-1FEA and an SIC-4FSW respectively in SLOT1 and SLOT2 on


the AR MSR 20-20, the Ethernet interfaces are numbered as follows:

Fixed Ethernet interfaces are Ethernet 0/0 and Ethernet 0/1;

The Ethernet interface on the SIC-1FE is Ethernet 1/0;

The Ethernet interfaces on the SIC-4FSW module are Ethernet 2/0, Ethernet
2/1, Ethernet 2/2 and Ethernet 2/3.

Downloaded from www.Manualslib.com manuals search engine

SOFTWARE MAINTENANCE

5
Introduction
Files

BootROM program file


The file is used for booting application at boot. A complete BootROM file includes
two segments: basic and extended.
Application program file
The router is available with Dual Image function. By default, the system defines
and attempts to boot in order with three boot files: main, backup, and secure,
provided they are available with CF card. If the router fails to boot with the secure
boot file, it prompts the boot failure. For more information about the boot files,
refer to Maintaining Application Program and Configuration File on page 59.
The following table gives default names and types of boot files.
Table 20 Default names and types of the boot files

Boot file

File name

File type

Main boot file

main.bin

Backup boot file

backup.bin

Secure boot file

secure.bin

The application programs for system boot can be type M, B and S, but not type
N. You can store them in Flash memory, but only one for each. For example, if
an M+B file exists, it is impossible to have another M or B file. If you change the
file type of another file to B, the M+B file becomes a type M file.

You can modify the file name of an application file in CF card using the
command after it boots. You cannot modify the file type of a type S application
image file, but you can modify the file type of type M/B and N application
program files in the BootROM menu or using commands after the application
program boots.

Secure boot file is the last resort for system boot. You can download it in the
BootROM menu and must name it secure.bin. However, you cannot modify this
file or change the type of another file to S. If you change the name of the
secure boot file with the rename command after the system boots, the file is
removed from CF card. To use the secure boot file after that, you need to
download it again.

Configuration file
The file stores configuration information of the router.

Downloaded from www.Manualslib.com manuals search engine

42

CHAPTER 5: SOFTWARE MAINTENANCE

By default, the system defines and attempts to boot in order with three
configuration files: main, backup, and default, provided they are available with CF
card. If the router fails to boot with the secure boot file, it prompts the boot
failure. For more information about the boot files, refer to Maintaining
Application Program and Configuration File on page 59.
The following table describes the three configuration files.
Table 21 Description on the three configuration files

Configuration file

File type

Description

Main configuration file

Used by the system for


booting by default.

Backup configuration file

Used by the system for


booting when it fails to boot
with the main configuration
file.

Default configuration file

M/B/N

Used by the system for


booting when it fails to boot
with the backup configuration
file. If the system fails to boot
with the default configuration
file, it boots with null
configuration. The name of
the default configuration file
has something to do with the
router brand. The main and
backup configuration
operations on the default
configuration file is the same
with common configuration
files.

The configuration files for system boot can be type M, B and default
configuration file of type N, but not non-default configuration file of type N
(i.e. neither M nor B).

You can modify the file name of a configuration file in CF card using the
command after it boots. You cannot modify the type of the default
configuration file, but you can modify the file type of type M/B and N
configuration files in the BootROM menu or using commands after the
application program boots.

You can store them in Flash memory, but only one for each. For example, if an
M+B file exists, it is impossible to have another M or B file. If you change the file
type of another file to B, the M+B file becomes a type M file.

CAUTION:

The file name cannot be longer than 64 characters (including drive letter and a
string terminator. If the drive letter is CF: /, the file name can be at most
[64-1-4] = 59 characters in length; or, errors will occur in file operation.
Typically, the file name is recommended to be not more than 16 characters.

The extension ASCII characters (ASCII>=128) and invisible characters (ASCII<33)


cannot be included in the file name.

The following characters cannot be included in the file name: ", , ?, , space, *,
|, <, /, :, >, ~.

Downloaded from www.Manualslib.com manuals search engine

BootROM Menu

Software Maintenance
Methods

The character . can be included in the file name, but cannot be the first or
last character of the file name. Two consecutive .s are not allowed.

Upgrading BootROM and application program using XModem protocol


through serial port.

Upgrading application program from TFTP/FTP server through Ethernet


interface in BootROM.

Uploading/downloading application program and configuration file from


TFTP/FTP server via command lines.

BootROM program is upgraded through binding with the Comware version.


You do not need to upgrade it separately. The system automatically upgrades
BootROM to be the latest version while upgrading Comware.

Check the current version of BootROM and application program before


upgrading. For the association between Comware version and BootROM
program, see the corresponding Release Notes.

Figure 28 Upgrade BootROM and Comware under Comware V5 environment


Start

Comware version

Upgrade Comware ?
Y

Choose correct Comware


Choose upgrade mode

Via network
interface
Xmodem
upgrade

TFTP
upgrade

FTP
upgrade

Upgrade

End

BootROM Menu
Main BootROM Menu

43

When the router is powered on and reboots, the console terminal displays:

Downloaded from www.Manualslib.com manuals search engine

44

CHAPTER 5: SOFTWARE MAINTENANCE

Do you want to go on checking sdram? Yes or not(Y/N)

This prompts whether to perform memory check. Press <N/n> button to ignore it.

The memory check function is developed for test. Since the test takes long
time, this function is often not used.

Generally, to check 128 MB memory needs 16 seconds. The time of checking


other memories is calculated accordingly.

When the prompt is displayed, press <Y/y> button within two seconds to start
checking. If normal, it displays:
SDRAM Check OK!

If you do not press the button within two seconds, it is defaulted to select
<N/n>, and the memory check is not enabled.

Proceed to boot, and the system prompts:


system start booting......Version 2.11
Press CTRL+D to stop auto-boot
Booting Normal Extend BootRom
Decompressing...done!
Ensure the baudrate is set to 9600bps!Starting at 0xa00000...

*******************************************************
*
*
*
H3C MSR20-21 BOOTROM, Version 2.11
*
*
*
*******************************************************
Copyright(c) 2004-2007 Hangzhou H3C Technologies Co., Ltd.
Compiled date: Apr 09 2007, 08:52:28
CPU type
: MPC8248
CPU L1 Cache
: 16KB
CPU Clock Speed : 400MHz
Memory Type
: SDRAM
Memory Size
: 256MB
Memory Speed
: 100MHz
BootRom Size
: 4096KB
CPLD
Version is
HardWare Version is

2.00
3.00

CF Card is Inserted, now is mounting...


cf:/ - Volume is OK
Mount CF Card OK!
CF Card Size:256MByte
Press Ctrl+B to enter extended boot menu...

The extended BootROM menu is referred to as main BootROM menu hereafter in


this manual except for special statement.
Press <Ctrl+B> when it displays Press Ctrl+B to enter extended boot menu....
Then, the system prompts:

Downloaded from www.Manualslib.com manuals search engine

BootROM Menu

45

Please input Boot ROM password:

You have three chances to provide the correct BootROM password (the initial
setting is void). If you fail to do that, you need to reboot the system. After you
enter the correct password, the console screen displays.
===================<EXTEND-BOOTROM MENU>=====================
| <1> Boot From CF Card
|
| <2> Enter Serial SubMenu
|
| <3> Enter Ethernet SubMenu
|
| <4> File Control
|
| <5> Modify Bootrom Password
|
| <6> Ignore System Configuration
|
| <7> Boot Rom Operation Menu
|
| <8> Clear Super Password
|
| <9> Device Operation
|
| <a> Reboot
|
=============================================================
Enter your choice(1-a):

The menu is defined as follows:


Table 22 Main BootROM menu

BootROM Submenus

Menu item

Description

<1> Boot From CF Card

Boot from the CF card.

<2> Enter Serial SubMenu

Enter serial submenu. Refer to Enter serial


submenu on page 45 or details.

<3> Enter Ethernet SubMenu

Enter Ethernet submenu. Refer to Enter


Ethernet interface submenu on page 46 for
details.

<4> File Control

File control submenu. Refer to File control


submenu on page 46 for details.

<5> Modify Bootrom Password

Modify BootROM password.

<6> Ignore System Configuration

Ignore system configuration.

<7> Boot Rom Operation Menu

BootROM operation submenu. Refer to


BootROM operation submenu on page 47
for details.

<8> Clear Super Password

Delete super password.

<9> Device Operation

Device Operation menu, which is used to


select memory device.

<a> Reboot

Reboot the router.

Enter serial submenu


This submenu can be used for upgrading application program, changing serial
baud rate, and other operations.
Enter <2> under the main BootROM menu to enter the serial submenu:
======================<SERIAL SUB-MENU>======================
|Note:the operating device is CF Card
|
| <1> Download Application Program To SDRAM And Run
|
| <2> Update Main Application File
|
| <3> Update Backup Application File
|

Downloaded from www.Manualslib.com manuals search engine

46

CHAPTER 5: SOFTWARE MAINTENANCE

| <4> Update Secure Application File


|
| <5> Modify Serial Interface Parameter
|
| <6> Exit To Main Menu
|
=============================================================
Enter your choice(1-6):

The menu is defined as follows:


Table 23 BootROM serial submenu
Menu item

Description

<1> Download Application Program To


SDRAM And Run

Download the application program to SDRAM


and run it.

<2> Update Main Application File

Upgrade the main application file.

<3> Update Backup Application File

Upgrade the backup application file.

<4> Update Secure Application File

Upgrade the secure application file.

<5> Modify Serial Interface Parameter

Modify serial interface parameter.

<6> Exit To Main Menu

Exit to the main menu.

Enter Ethernet interface submenu


Enter <3> in BootROM menu to enter the Ethernet interface submenu. The system
displays:
====================<ETHERNET SUB-MENU>======================
|Note:the operating device is CF Card
|
| <1> Download Application Program To SDRAM And Run
|
| <2> Update Main Application File
|
| <3> Update Backup Application File
|
| <4> Update Secure Application File
|
| <5> Change Ethernet Parameter
|
| <6> Exit To Main Menu
|
| < Ensure The Parameter Be Modified Before Downloading! > |
=============================================================
Enter your choice(1-6):

The menu is defined as follows:


Table 24 Enter Ethernet interface submenu
Menu item

Description

<1> Download Application Program To


SDRAM And Run

Download application program to SDRAM


and run it.

<2> Update Main Application File

Upgrade the main application file.

<3> Update Backup Application File

Upgrade the backup application file.

<4> Update Secure Application File

Upgrade the secure application file.

<5> Change Ethernet Parameter

Modify Ethernet parameters.

<6> Exit To Main Menu

Exit to the main menu.

File control submenu


Enter <4> under the main BootROM menu to enter the file control submenu.
Through this submenu, the system can display application program file type in
memory, modify file name and delete files. The prompt is shown below:

Downloaded from www.Manualslib.com manuals search engine

BootROM Menu

47

========================<File CONTROL>=======================
|Note:the operating device is CF Card
|
| <1> Display All File
|
| <2> Set Application File type
|
| <3> Set Configuration File type
|
| <4> Delete File
|
| <5> Exit To Main Menu
|
=============================================================

Enter your choice(1-5):


The submenu is defined as follows:
Table 25 File control submenu
Menu item

Description

<1> Display All File

Display all files.

<2> Set Application File type

Set application file type.

<3> Set Configuration File type

Set configuration file type.

<4> Delete File

Delete files.

<5> Exit To Main Menu

Exit to the main BootROM menu.

BootROM operation submenu


Enter <7> under the main BootROM menu to enter the BootROM operation
menu:
=====================<BOOT ROM OPERATION>====================
|Note:the operating device is CF Card
|
| <1> Backup Full Boot ROM
|
| <2> Restore Full Boot ROM
|
| <3> Update Full Boot ROM With XModem
|
| <4> Update Extended Boot ROM With XModem
|
| <5> Update Basic Boot ROM With XModem
|
| <6> Exit To Main Menu
|
| Note:When Update Full/Extended/Basic BootRom,they are the |
|
same file
|
=============================================================
Enter your choice(1-6):

The submenu is defined as follows:


Table 26 BootROM operation submenu
Menu item

Description

<1> Backup Full Boot ROM

Backup full BootROM.

<2> Restore Full Boot ROM

Restore full BootROM.

<3> Update Full Boot ROM With XModem

Upgrade full BootROM through XModem.

<4> Update Extended Boot ROM With


XModem

Update extended BootROM through


XModem.

<5> Update Basic Boot ROM With XModem

Update basic BootROM through XModem.

<6> Exit To Main Menu

Exit to the main menu.

Downloaded from www.Manualslib.com manuals search engine

48

CHAPTER 5: SOFTWARE MAINTENANCE

Upgrading BootROM
Through Serial Port
Modifying Serial Port
Parameters

Use XModem to upgrade BootROM through serial port.

Sometimes, we need to change the serial baud rate to higher in order to save
upgrade time, or to lower to guarantee transmission reliability. This section depicts
how to adjust serial baud rate.
Enter <2> in the main BootROM menu to enter the serial submenu. Then, enter
<5>, and the system prompts to change serial baud rate.
========================<BAUDRATE SET>=======================
|Note: Change The HyperTerminals Baudrate Accordingly,
|
|
Press Enter to exit with things untouched.
|
|--------------------<Baudrate Available>-------------------|
| <1> 9600(Default)
|
| <2> 19200
|
| <3> 38400
|
| <4> 57600
|
| <5> 115200
|
| <6> Exit
|
=============================================================
Enter Your Choice(1-6):

Select a baud rate, <5> for 115200 bps for example. The following prompt
appears:
Change the baudrate on PC side first!

Since the router serial baud rate is modified to 115200 bps, whereas the terminal
baud rate remains to be 9600 bps, they can not communicate with each other.
Change the baud rate of your terminal to the same as that for software download.
Perform the following operation:
Figure 29 Disconnect terminal

Click [File/Properties], and press <Configure...> to change baud rate to 115200


bps:

Downloaded from www.Manualslib.com manuals search engine

Upgrading BootROM Through Serial Port

49

Figure 30 Modify baud rate

Click [Call/Call] to establish new connection.


Figure 31 Establish new connection

Then, press <Enter> to prompt current configuration baud rate and return to the
previous menu.
The system prompts:
The current baudrate is 115200

n
Upgrading BootROM

Restore the baud rate in the HyperTerminal to 9600 bps (the default) after
upgrading the BootROM. This is to ensure that information can be displayed on
the console screen after system boot or reboot.
First, enter <7> in the main BootROM menu (refer to Main BootROM Menu on
page 43) to enter the BootROM operation submenu, under which all BootROM
operations are completed. Refer to BootROM operation submenu on page 47
for detailed descriptions.
For example, when you upgrade full BootROM:

Downloaded from www.Manualslib.com manuals search engine

50

CHAPTER 5: SOFTWARE MAINTENANCE

First, change serial baud rate to speed up upgrading (refer to Modifying Serial
Port Parameters on page 48 Modifying Serial Port Parameters on page 48 for
details), and then enter <3> under BootROM operation menu. The system
prompts:
Select program file please.
Waiting...CC

Select [Transfer/Send file...] in the HyperTerminal window. The following window


pops up:
Figure 32 Send File dialog box

In the displayed Send file dialog box, click <Browse...> to select the application
program file to be downloaded, and select XModem for the Protocol field. Then
click <Send>. The following interface appears:
Figure 33 Sending File interface

After completing download, the following information appears on terminal


interface to indicate download and upgrade success:
Download successfully!
434432 bytes downloaded!
Updating Extend BTM
Updating Extended BootRom.

Change the baud rate of the console terminal from 115200 bps to 9600 bps, and
then reboot the router.

Downloaded from www.Manualslib.com manuals search engine

Upgrading Application Program Through Serial Port

Upgrading Application
Program Through
Serial Port

51

The file name, size and path vary in different situations. Check the current
version of BootROM and application program in order to use correct file.

This method only upgrades a part of BootROM. You can re-upgrade when
error occurs.

Restore the baud rate in the HyperTerminal to 9600 bps (the default) after
upgrading the BootROM, so as to ensure normal display on the console screen
after system boot or reboot.

Upgrading of application program through serial port is implemented under serial


submenu. Enter <2> in the main BootROM menu to enter the serial submenu.
Refer to the Enter serial submenu on page 45 for detailed descriptions.
For example, when you upgrade application program:
First, change serial baud rate to speed up upgrading (refer to the Upgrading
BootROM Through Serial Port on page 48 for details), and then enter <2> under
serial submenu. The system prompts:
Select program file please.
Waiting...CC

Select application program file and send it. Upgrading application program with
serial port takes the similar steps with upgrading BootROM. Refer to the
Upgrading BootROM on page 49 for details.

Generally an application program is more than 10M in size. Even if the baud rate is
changed to 115200 bps, the upgrading takes about 30 minutes. Therefore, it is
recommended you upgrade through Ethernet interface.

Upgrading Application
Program Through
Ethernet Interface

Enter <3> under the main BootROM menu to enter the Ethernet interface
submenu. Refer to Enter Ethernet interface submenu on page 46 for details.

Configuring Ethernet
Parameters

Before upgrading application program through Ethernet interface, we need to


configure the Ethernet interface of the router, as follows:
Enter <3> under the main BootROM menu to enter the Ethernet Interface
submenu. Then, enter <5> to enter the Configure Ethernet interface menu:
Note: Two protocols for download, tftp & ftp.
You can modify the flags following the menu except the boot device.
tftp--0x80, ftp--0x0.
. = clear field;
boot device
processor number
host name
file name

- = go to previous field; Ctrl+D = quit


: motfcc1
Boot device name. Cannot be changed.
: 0
Processor number. Keep unchanged.
: host
Host name. Keep unchanged.
: main.bin
Name of the file to be downloaded,
which must be consistent with the
actual file name. Designate a
downloading path. Or designate a
downloading path in FTP and TFTP
settings.
inet on ethernet (e) : 192.168.80.10
Set it to be in the same network
with TFTP/FTP server. It has

Downloaded from www.Manualslib.com manuals search engine

52

CHAPTER 5: SOFTWARE MAINTENANCE

nothing to do with port IP address


of the router.
inet on backplane (b):
No need to set.
host inet (h)
: 192.168.80.200
IP address of FTP/TFTP server.
gateway inet (g)
:
Gateway IP address. No need to
set.
user (u)
: guest
User name. FTP downloaded is used
in this setting. No need to
consider in TFTP downloading.
ftp password (pw) (blank = use rsh): 123456 FTP downloading password. No need
to consider in TFTP downloading.
flags (f)
: 0x80
Downloading flag. The flag is 0x0
with FTP downloading, and 0x80 with
TFTP downloading.
target name (tn)
:
No need to set. If set, it means
the target file name saved in Flash
memory. If not, the one used for the
last upgrade is used.
startup script (s)
:
No need to set.
other (o)
:
No need to set.

When configuring parameters, enter new parameters directly; or press


<ENTER> to accept the default parameter coming after the colon. . for clear
field, - for go to previous filed, and Ctrl+D for quit.

Upon failure, the system prompts:


Loading failed
Please reboot the router to validate the reset IP address.

Upgrading Application
Program Through
Ethernet Interface

Do not modify the device name of the router; otherwise, the system prompts
Boot device should not be modified and skips to the next configuration item.

Only FE0 port can be used in MSR 20 router, and GE0 port in MSR 30 and MSR
50 routers.

TFTP (Trivial File Transfer Protocol) is a protocol of the TCP/IP suit that is used to
transfer trivial files between clients and the server. It provides not-so-complex and
low-cost file transfer services. Carried over UDP, TFTP provides unreliable data
transfer services and does not provide access authorization and authentication
mechanism. It employs timeout retransmission to guarantee the successful
transferring of data. TFTP takes much smaller size than FTP.
FTP (File Transfer Protocol) is an application layer protocol in the TCP/IP suit. It
mainly transfers files among remote hosts. Carried over TCP, it provides reliable
and connection-oriented data transfer service but does not provide access
authorization and authentication mechanism.
Step 1: Set up an upgrade environment.
Figure 34 Set up TFTP/FTP upgrade environment

Console
Ethernet
ROUTER
(TFTP/FTP Client)

Downloaded from www.Manualslib.com manuals search engine

PC
(TFTP/FTP Server)

Upgrading Application Program Through Ethernet Interface

53

Connect Ethernet port 0/0 to a PC by using a crossover cable. Start TFTP/FTP


program on the PC as the server, and set the path of TFTP/FTP server to point to
the address of application program. You need to set user name and password if
FTP server is used.

CAUTION: No TFTP/FTP Server is available with the H3C MSR 20 series. You must
install one yourself.
Step 2: Modify Ethernet parameters. Refer to Configuring Ethernet Parameters
on page 51 for details.
Step 3: Enter <3> to enter Ethernet submenu. For example, when upgrading main
application program, enter <2> to upgrade:
Loading...
Done!
14323376 bytes downloaded.
Input the File Name:

After the download is done, input the file name and begin to update:
Updating File main.bin........
Update Success!

Step 4: Enter <6> to exit to the main BootROM menu. Enter <1> to boot from the
CF card.
Step 5: Set the updated application program to be the main boot file, i.e. the
default boot file of the system.
Application program does not exist.
Now starting to download application program.
===================<EXTEND-BOOTROM MENU>=====================
| <1> Boot From CF Card
|
| <2> Enter Serial SubMenu
|
| <3> Enter Ethernet SubMenu
|
| <4> File Control
|
| <5> Modify Bootrom Password
|
| <6> Ignore System Configuration
|
| <7> Boot Rom Operation Menu
|
| <8> Clear Super Password
|
| <9> Device Operation
|
| <a> Reboot
|
=============================================================
Enter your choice(1-a):4

The system reboots. Enter <4> when it prompts the above information.
========================<File CONTROL>=======================
|Note:the operating device is CF Card
|
| <1> Display All File
|
| <2> Set Application
File type
|
| <3> Set Configuration File type
|
| <4> Delete File
|
| <5> Exit To Main Menu
|
=============================================================
Enter your choice(1-5):2

Downloaded from www.Manualslib.com manuals search engine

54

CHAPTER 5: SOFTWARE MAINTENANCE

Enter the file control submenu and enter <2> to set the application file type.
Please set application file type in cf:
M=MAIN
B=BACKUP
S=SECURE
N=NOTYPE
********************************************************************
NO.
Size(B)
Time
Type
Name
0
15561860
Jul-10-2006 14:14
N
cf:/main.bin
********************************************************************
Enter File Name:cf:/main.bin

Select the application program as the main boot file, and enter its complete path
and file name.
Modify this file Attribute:
1.
+Main
2.
-Main
3.
+Backup
4.
-Backup
5.
Exit
Enter your choice(1-5):1

Enter 1 to set the selected application program to be the main boot file, i.e. the
default boot file of the system.
Step 6: Enter <5> to exit to the main BootROM menu. Enter <1> to boot from the
CF card.

CAUTION:

The file in the CF card will be overwritten if the file name being input is the
same with the original file name in the CF card.

Make sure the space on memory is sufficient. Or, the system prompts
insufficient space:
Updating File main.bin
Insufficient CF Card space or failed device writing operation

Maintaining
Application Program
and Configuration
Through Command
Lines
Maintaining the Router
with TFTP Server

The file updated will directly replace the original file of this type to become the
only application program. The main.bin file downloaded here will replace the
original M file directly to become the main boot program.

Refer to Files on page 41 for detailed descriptions of file types.

After booting the router normally, you can upgrade and backup application
program and backup and recover configurations under command line mode.

The TFTP service provided by the router is TFTP Client - the router serves as TFTP
Client, and the file server serves as TFTP Server. You can input commands to
upload the configuration file and application program of the router to the file
server, or download configuration file or application program to the router from
the file server.

Downloaded from www.Manualslib.com manuals search engine

Maintaining Application Program and Configuration Through Command Lines

55

Configuring environment
Step 1: Set up hardware environment (refer to Upgrading Application Program
Through Ethernet Interface on page 52 for details), and point the server path to
the folder where the file is put.
Figure 35 Networking diagram for maintenance under command line mode

Console
Ethernet
ROUTER
(TFTP/FTP Client)

PC
(TFTP/FTP Server)

Configure the IP addresses of the two sides to be in the same network. In this
section, the TFTP server is set to 192.168.0.1, and the Ethernet interface
connected to it (Ethernet interface 0/0 in this example; so, any interface is OK) is
set to 192.168.0.2. Both can use the ping command to check if the connection is
successful.
Backing up and recovering application program and configure file
After finishing environment building, perform the following operations:
View the files included in current file system with the dir command:
<H3C>dir
Directory of cf:/
0
1
2
3
4

-rwdrw-rw-rw-rw-

14323376
909
1045
14323376

Apr
Mar
Apr
Apr
Mar

03
20
04
04
31

2006
2006
2006
2006
2006

15:36:48
09:55:28
10:54:38
11:31:36
17:50:22

main.bin
logfile
configbak.cfg
config.cfg
backup.bin

63340 KB total (20928 KB free)


File system type of cf: FAT32
<H3C>

Use the command as follows to backup the config.cfg file on the router to TFTP
server and save as config.bak:
<H3C>tftp 192.168.0.1 put config.cfg config.bak
File will be transferred in binary mode
Sending file to remote tftp server. Please wait... <HardReturn
TFTP:
1045 bytes sent in 0 second(s).
File uploaded successfully.

Use this command to download the config.cfg file on the server to the router:
<H3C>tftp 192.168.0.1 get config.cfg config.cfg
The file config.cfg exists. Overwrite it?[Y/N]:y
Verifying server file...

Downloaded from www.Manualslib.com manuals search engine

56

CHAPTER 5: SOFTWARE MAINTENANCE

Deleting the old file, please wait...


File will be transferred in binary mode
Downloading file from remote tftp server, please wait...<HardReturn
TFTP:
1045 bytes received in 0 second(s)
File downloaded successfully.

If a config.cfg file already exists in the router, select <Y/y> to overwrite it.

Maintaining the Router


with FTP Server

CAUTION:

If a config.cfg file already exists on the server, it will be overwritten.

The above operations are performed under user view.

The backup configuration file can be modified by text editor. The configuration
file modified during download process can modify the configuration, and the
modification takes effect after rebooting. Similarly, you can also download
application program to the router to overwrite the old main program to
upgrade the application program.

Maintaining the router when it serves as the server


FTP (File Transfer Protocol) is an application layer protocol in the TCP/IP suit. It
mainly transfers files among remote hosts. Born over TCP, it provides reliable and
connection-oriented data transfer service but does not provide access
authorization and authentication mechanism.
The FTP service provided by the router is FTP Server, that is to say, the router serves
as the FTP Server. You can run FTP Client to log onto the router and access files on
the router.
Install FTP Client before using FTP. No FTP Server is available with the H3C MSR 20
series. You must install one yourself. Take the FTP Client with Windows XP for
example.
Step 1: Build hardware maintenance environment as follows:
Figure 36 Router maintenance when it serves as the server

Console
Ethernet
ROUTER
(TFTP/FTP Server)

PC
(TFTP/FTP Client

Configure the IP addresses of the two sides to be in the same network. In this
section, the PC server is set to 192.168.0.1, and the router Ethernet interface
connected to it (Ethernet interface 0/0 in this example; so, any interface is OK) is
set to 192.168.0.2. Both can use the ping command to check if the connection is
successful.
Step 2: Boot FTP service.

Downloaded from www.Manualslib.com manuals search engine

Maintaining Application Program and Configuration Through Command Lines

57

You can boot FTP service after configuring FTP server authentication and
authorization. FTP server supports multi-user access. The remote FTP user sends
request to the FTP server, which then executes accordingly and returns the result of
the execution to user. Use the following command to boot the FTP service:
[H3C]ftp server enable
% Start FTP server

Add FTP authorized user name and password:


[H3C] local-user guest Set up the user guest
[H3C-luser- guest] service-type ftp
[H3C-luser- guest] password simple 123456

The user type is FTP user


Add the password 123456 for
the user guest

Step 3: Maintain the router.


After booting FTP service of the router and configuring user name and password,
you can boot FTP Client on your PC. Take the FTP Client with Windows XP for
example:
Enter <ftp> in the DOS window, and the system prompts:
C:Documents and SettingsAdministrator> ftp
ftp>
ftp> open 192.168.0.2
Connected to 192.168.0.2.
220 FTP service ready.
User (192.168.0.2:(none)): guest
331 Password required for guest
Password:
230 User logged in.
the server

The system prompts ftp>


Connected to the router IP

Enter the user name


configured on the router
Enter the password 123456
Successfully connected to

Now, we can use the following command to perform maintenance of the router.
In this example, the main.bin file on the router is backed up to the PC.
ftp> binary
200 Type set to I.
ftp> lcd c:emp Change local path
Local directory now C:emp.
ftp> get main.bin main.bin

Change the transfer mode


to binary

Backup files to PC from


the router

200 Port command okay.


150 Opening BINARY mode data connection for main.bin.
226 Transfer complete.
ftp: 14323376 bytes received in 16.81Seconds 851.87Kbytes/sec.

Recover the backup file to the router command:


ftp> put main.bin main.bin

Recover the local file to the


router

200 Port command okay.


150 Opening BINARY mode data connection for main.bin.
226 Transfer complete.
ftp: 14323376 bytes sent in 8.29Seconds 1727.37Kbytes/sec.
ftp> quit
Quit the FTP
221 Server closing.

Downloaded from www.Manualslib.com manuals search engine

58

CHAPTER 5: SOFTWARE MAINTENANCE

Maintaining the router when it serves as the client


You can also maintain the router file system by building FTP server and making the
router serve as the client.
Step 1: Build maintenance environment as follows:
Figure 37 Router maintenance when it serves as the client

Console
Ethernet
ROUTER
(TFTP/FTP Client)

PC
(TFTP/FTP Server)

When the router serves as the client, you can run FTP server program on your PC
as the FTP server, and set the server path. Then, add user name and password for
the router.
Configure the IP addresses of the two sides to be in the same network. In this
section, the FTP server is set to 192.168.0.1, and the Ethernet interface connected
to it (Ethernet interface 0/0 in this example; so, any interface is OK) is set to
192.168.0.2. Both can use the ping command to check if the connection is
successful.
Step 2: Maintain the router through the terminal connected to the console port as
follow:
<H3C>ftp 192.168.0.1
Trying 192.168.0.1 ...
Press CTRL+K to abort
Connected to 192.168.0.1.
220 3Com 3CDaemon FTP Server Version 2.0
User(192.168.0.1:(none)): guest
331 User name ok, need password
Password:
230 User logged in
[ftp]

Enter the user name


configured on the router
Enter the corresponding
password
Connect successfully

Use the command as follows to maintain the router.


Here, get and put commands are used to backup and recover files.
[ftp] get main.bin main.bin

Download files to the router


from the server
cf:/main.bin has been existing. Overwrite it?[Y/N]:y
Overwrite it or not?
200 PORT command successful.
150 File status OK ; about to open data connection
226 Closing data connection; File transfer successful.
FTP: 14323376 byte(s) received in 69.256 second(s) 206.00K byte(s)/sec.
[ftp]put main.bin main.bin
Backup the router files
to the server
200 PORT command successful.
150 File status OK ; about to open data connection
226 Closing data connection; File transfer successful.

Downloaded from www.Manualslib.com manuals search engine

Maintaining Application Program and Configuration File

59

FTP: 14323376 byte(s) sent in 15.974 second(s) 896.00Kbyte(s)/sec.


[ftp]quit
Quit the FTP
221 Service closing control connection

Maintaining
Application Program
and Configuration File

You can modify and display the file type under the file control submenu:
Enter <4> under the main BootROM menu to enter the file control submenu. The
system prompts:
========================<File CONTROL>=======================
|Note:the operating device is CF Card
|
| <1> Display All File
|
| <2> Set Application File type
|
| <3> Set Configuration File type
|
| <4> Delete File
|
| <5> Exit To Main Menu
|
=============================================================
Enter your choice(1-5):

Display all files


Enter <1>, and the system prompts:
Display All File In cf:
**************************************************************************
NO.
Size(B)
Time
Name
0
14323376
Mar-23-2006 11:47
cf:/main.bin
1
14144592
Mar-17-2006 19:39
cf:/d13.bin
2
935
Mar-23-2006 15:39
cf:/config.cfg
3
160
Mar-20-2006 09:55
cf:/private-data.txt
4
14323456
Mar-25-2006 10:38
cf:/secure.bin
5
238664
Mar-27-2006 10:50
cf:/logfile/logfile.log
**************************************************************************

Set application file type


Enter <2> under the file control submenu to enter the set application file type
menu:
Please set

application file type in cf:

M=MAIN
B=BACKUP
S=SECURE
N=NOTYPE
**************************************************************************
NO.
Size(B)
Time
Type
Name
0
14323376
Mar-23-2006 11:47
M cf:/main.bin
1
14144592
Mar-17-2006 19:39
B cf:/d13.bin
2
14323456
Mar-25-2006 10:38
S cf:/secure.bin
**************************************************************************
Enter File Name:

Enter the file name, including device type and extension name. Take cf:/main.bin
for example. Enter the complete file name, press <ENTER>, and then the system
prompts to modify the file type:
Enter File Name:cf:/main.bin
Modify this file Attribute:
1.
+Main
2.
-Main
3.
+Backup
4.
-Backup

Downloaded from www.Manualslib.com manuals search engine

60

CHAPTER 5: SOFTWARE MAINTENANCE

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

You can set the file type to +M, -M, +B and -B by entering 1 to 4. Refer to
Introduction on page 41 for details.
Set configuration file type
Enter <3> under the file control submenu to enter the configuration file type
menu.
Please set

configuration file type in cf:

M=MAIN
B=BACKUP
N=NOTYPE
**************************************************************************
NO.
Size(B)
Time
Type
Name
0
14323376
Mar-23-2006 11:47
M
cf:/router.cfg
1
14144592
Mar-17-2006 19:39
B
cf:/a.cfg
2
14323456
Mar-25-2006 10:38
N
cf:/b.cfg
**************************************************************************
Enter File Name:

Enter the file name, including device type and extension name. Take cf:/router.cfg
for example. Enter the complete file name, press <ENTER>, and then the system
prompts to modify the file type:
Enter File Name: cf:/router.cfg
Modify this file Attribute:
1.
+Main
2.
-Main
3.
+Backup
4.
-Backup
5.
Exit
Enter your choice(1-5):

You can set the operation file to the types of M, Cancel M, B and Cancel B by
entering 1-4. Refer to Configuration file on page 41 for details.
Delete files
Enter <4> under the file control submenu to delete files:
Delete All File In cf:
**************************************************************************
NO.
Size(B)
Time
Name
0
14323376
Mar-23-2006 11:47
cf:/main.bin
1
14144592
Mar-17-2006 19:39
cf:/d13.bin
2
935
Mar-23-2006 15:39
cf:/config.cfg
3
160
Mar-20-2006 09:55
cf:/private-data.txt
4
14323456
Mar-25-2006 10:38
cf:/secure.bin
5
238664
Mar-27-2006 10:50
cf:/logfile/logfile.log
**************************************************************************
Enter File Name:

Enter the file name, press <ENTER>, and then the system prompts deleting
success:
deleting...
success!

Downloaded from www.Manualslib.com manuals search engine

Dealing with Router Password Loss

61

CAUTION: Confirm the file to be deleted before deleting since the system does
not prompt you to confirm when deleting files.
Exit to the main menu
Exit to the main BootROM menu.

Dealing with Router


Password Loss
User Password Loss

Do as follows when your BootROM password, user password or Super Password is


lost.
You cannot enter the system if you lose your user password. You can boot the
system by neglecting system configuration. Perform the following operations:
Step 1: Enter the main BootROM menu, and select <6> to boot by ignoring system
configuration:
The system prompts:
........
Flag Set Successfully.

The system prompts set success.


Step 2: When the main BootROM menu appears again, enter <a> to reboot the
system.
........
system start booting......Version

2.11

Step 3: Set new password under the system view after rebooting.
[H3C] user-interface console 0
[H3C-ui-console0] authentication-mode password
[H3C-ui-console0] set authentication password simple 123456

This indicates that the password authentication is adopted at the Console port and
the password is set to 123456 and stored in plain text.

After rebooting, the system runs with the initial default configuration. The
original configuration files are stored in memory. To restore the original
configurations, you can use the display saved-configuration command to
display them, and then copy and execute them.

When storing the password in plain text, you can use the display
current-configuration command to see the password in the current
configuration. If you use the set authentication password cipher 123456
command when setting the password, the password is encrypted and stored.

Step 4: Save the new configuration.


[H3C] save

Execute the save command after modifying the user password to save the new
password.

Downloaded from www.Manualslib.com manuals search engine

62

CHAPTER 5: SOFTWARE MAINTENANCE

BootROM Password Loss

Contact the agent or our technical support personnel in the event of BootROM
password loss. They can help you set a new password
Modify the BootROM password under the main BootROM menu.
Enter <5> to modify the password following the prompt. The console terminal
displays:
Change password.
Old password:
New password:
Verify:
........Password Set Successfully.

n
Super Password Loss

Enter the old password


Enter the new password
Enter the new password again
The new password is set successfully

The password modification fails when old password is not correct or new
password is not correctly entered, and then the system exits this operation.
The Super Password enables you to switch among the four Super levels. In the
event of Super Password loss, you cannot perform the operations requiring higher
right.
Enter <8> under the main BootROM menu to clear the Super Password.
Select this option, quit the menu and reboot the router. You can directly enter the
system view. Only after the first rebooting will the setting take effect (the Super
Password restores after the second rebooting).

Backing up and
Restoring BootROM

Enter <7> under the main BootROM menu to enter the BootROM operation
submenu. Refer to BootROM operation submenu on page 47 for details.
Enter <1> under the menu, and the system starts to backup the entire BootROM.
The system prompts:
Backing BootRom....
Updating the backup Basic BootRom.......
Backing Basic BootRom Success!
Updating Back Extended BootRom..........
Backing Extend BootRom Success!

Now, the entire BootROM is backed up to the memory.


Enter <2> under the menu to restore the BootROM in the memory to the system:
Restore Basic BootRom
Updating the Norm Basic BootRom..............
Restore Basic Bootrom Success!
Restore Extend BootRom
Updating Extended BootRom..............
Restore Extend Bootrom Success!

Downloaded from www.Manualslib.com manuals search engine

HARDWARE MAINTENANCE

6
Preparing Tools

n
Opening/Closing
Chassis Cover

Phillips screwdriver

Straight screwdriver

ESD-preventive twist strap

Static shielding bag

The tools are not available with the H3C MSR 20 series. You must prepare one
yourself.

Step 1: Power off the router and remove the power cord.
Step 2: Remove all cables of interface modules on the back panel (keep the
ground cable connected).
Step 3: Put the router on level ground and have the back panel face you. Loosen
the captive screws fastening the back panel with Phillips screwdriver.
Step 4: Put two straight screwdrivers into the holes on the two sides of the chassis
and turn them until the tab on the front edge is separated from the front panel.
Step 5: Drag the chassis levelly a little towards your body and lift it, and then you
can remove the cover and put it away.
Figure 38 Remove/install captive screws of MSR 20-20/20-21

Downloaded from www.Manualslib.com manuals search engine

64

CHAPTER 6: HARDWARE MAINTENANCE

Figure 39 Turn the screwdriver in the hole on MSR 20-20/20-21

Figure 40 Remove/install captive screws of MSR 20-40

Figure 41 Turn the screwdriver on MSR 20-20/20-21

WARNING:

On a mounting screw of your router chassis, there is an anti-dismantle seal of


Hangzhou H3C Technologies Co., Ltd. You must keep it in good condition
when asking your sales agent for servicing. You can open the chassis yourself
but with permission of your sales agent and must operate following the related
rules. The company is not liable for any damage or consequence resulted from
users operation without permission.

Do not replace the hardware unless necessary and under the guidance of
technical staff.

Ensure that no electricity is present before servicing the device to avoid bodily
injuries.

Wear an ESD-preventive wrist strap when servicing the device, making sure it
has good skin-contact.

Use the memory bars provided by Hangzhou H3C Technologies Co., Ltd. only.
Otherwise, anomalies might occur to the device.

Downloaded from www.Manualslib.com manuals search engine

Internal Structure

Internal Structure

Figure 42 Internal structure of MSR 20-20/20-21


(2)

(5)

(3)

(4)

(1) Power module

(2) Memory bar slot

(3) ESM slot

(4) Fan module

(5) SIC slot1

(6) SIC slot2

Figure 43 Internal structure of MSR 20-40


(5)
(4)
(6)
(3)

(7)
(2)
(8)
(1)
(9)
(1) Power module

(2) CF card slot

(3) SDRAM slot

(4) ESM slot0

(5) ESM slot1

(6) SIC slot

(7) Fan

(8) VCPM slot

Downloaded from www.Manualslib.com manuals search engine

65

66

CHAPTER 6: HARDWARE MAINTENANCE

(9) VPM slot

Installing/Removing
CF Card
Structure

Installing CF Card

Figure 44 Front view of CF card

Install the CF card following these steps:


Step 1: Push the spring button into the slot completely, and make sure it only
springs out with outside force.
Step 2: Press the CF card into the slot in correct orientation, and make sure it only
springs out with outside force.
Figure 45 Press the CF card into the slot

n
Removing CF Card

Make sure the CF card with correct application program is properly installed in the
slot; or, the system cannot boot.
Remove the CF card following these steps:
Step 1: Check the CF card LED to make sure it is not blinking, and then proceed.
Step 2: Press the spring button to release the internal spring clip, making the card
out of the slot a little.
Step 3: Push the spring button hard in the orientation shown in the figure below,
and the CF card on the right springs out a little. Then, take it out.

Downloaded from www.Manualslib.com manuals search engine

Replacing Memory Bar

67

Figure 46 Press the spring button to make the card spring out

c
Replacing Memory Bar

CAUTION: Do not remove the card when the router is booting or the LED is
blinking to avoid hardware damage.

This section describes how to replace a memory bar. See Figure 47.
Figure 47 Memory bar maintenance flow
Start

Prepare tools

Turn off the power switch

Locate the memory bar


on the main board

Remove the memory bar

Install the memory bar

End

Memory bars are main board components that you can expand or upgrade as
needed. Generally, you need to do that in the following situations:

More memory is required for the updated application program, maintaining a


large routing table, or processing tasks that consume large memory.

The existing memory bar is damaged.

CAUTION:

Downloaded from www.Manualslib.com manuals search engine

Hold the memory bar by its edge and avoid touching the components on its
surface. An improper operation might result in damage.

68

CHAPTER 6: HARDWARE MAINTENANCE

It is normal that you feel hard when removing the memory bar, but do not
overexert.

Use the memory bars provided by Hangzhou H3C Technologies Co., Ltd. only.
Otherwise, anomalies might occur to the device

Memory Bar Structure

Figure 48 Memory bar structure

Memory Bar Slot

Figure 49 Memory bar structure

Installing/Removing
Memory Bar

Follow the steps below to install the memory bar:


Step 1: Make sure all power interfaces are shut down, and then proceed.
Step 2: Align the memory bar golden finger with the slot on the main board.
Step 3: Make the memory bar to form an angle of 45 degrees with the main board
and insert it into the slot.
Step 4: Press the memory bar vertically until you hear a click. This indicates the
memory bar is fixed within the slot.
Step 5: Check if the spring clip has locked the memory bar slot.

Downloaded from www.Manualslib.com manuals search engine

Installing/Removing ESM/VCPM Card

69

Figure 50 Install memory bar into the slot

Follow the steps below to remove the memory bar:


Step 1: Make sure all power interfaces are shut down, and then proceed.
Step 2: Press the spring clips on the two sides of the memory bar, and pull
outwards levelly until the memory bar separates with the spring clips and forms an
angle of 45 degrees with the main board.
Step 3: Remove the memory bar.
Figure 51 Remove memory bar from the slot

Installing/Removing
ESM/VCPM Card

Follow the steps below to install the ESM/VCPM card:


Step 1: Make sure all power interfaces are shut down, and then proceed.
Step 2: Open the chassis cover (refer to Opening/Closing Chassis Cover on page
63 for details) to find the card.

Downloaded from www.Manualslib.com manuals search engine

70

CHAPTER 6: HARDWARE MAINTENANCE

Step 3: Install the card bracket on specified position on the main board, and fasten
it on the board.
Step 4: Align the card interface with the slot and press down vertically to install
the card on the board. Then, align the screw eye with the card bracket.
Step 5: Fasten the card on the bracket with dedicated screws, making sure the
card is level and firm.
Step 6: Install the cover and power it on.
Figure 52 Install card bracket

Figure 53 Fasten the card on the bracket with screws

Perform the steps inversely to remove the card.

Downloaded from www.Manualslib.com manuals search engine

7
Troubleshooting the
Power System

TROUBLESHOOTING

Symptom:
The PWR LED on the PSU is OFF.
Solution:
Check that:

Troubleshooting the
Configuration System

The power switch on the router is turned on

The switch of the power source is turned on

The power cord is correctly connected

The power source meets the requirement of the router

If the router passes POST after powered on, the console screen displays the startup
banner; if faults occur to the configuration system, the console screen displays
nothing or only illegible characters.
Symptom 1:
After the router is powered on, the console screen displays nothing.
Solution:
Step 1: Check that:

The power system is normal.

The console cable is correctly connected.

Step 2: Check the console cable and the terminal (HyperTerminal for example)
settings.
Symptom 2:
After the router is powered on, the console screen displays illegible characters.
Solution:
Verify that the terminal settings are as follows:
Baud: 9600
Data bits: 8

Downloaded from www.Manualslib.com manuals search engine

72

CHAPTER 7: TROUBLESHOOTING

Stop bit: 1
Parity: None
Flow control: None
Terminal emulation: VT100
Reconfigure the parameters if their values are different.

Troubleshooting
Application Software
Upgrade

Symptom 1:
When upgrading the software using TFTP, the system displays:
boot device
unit number
processor number
file name
inet on ethernet (e)
host inet (h)
user (u)
ftp password (pw)
flags (f)

:
:
:
:
:
:
:
:
:

motfcc
1
0
main.bin
192.168.0.2
192.168.0.1
guest
123456
0x80

Loading...
Done!
0 bytes downloaded.
Something wrong with the file.

Solution:
Fault occurs because the source file does not exist, the network cable is not
connected, or the IP address of the PC is incorrect. Make sure that the source file is
in the TFTP root directory, the cable is connected securely, and the IP address is set
correctly.
Symptom 2:
When upgrading the software using TFTP, the system displays:
boot device
unit number
processor number
file name
inet on ethernet (e)
host inet (h)
user (u)
ftp password (pw)
flags (f)

:
:
:
:
:
:
:
:
:

motfcc
1
0
main.bin
192.168.0.2
192.168.0.1
guest
123456
0x80

Loading...
Done!
11487495 bytes downloaded.
Something wrong with the file.

Downloaded from www.Manualslib.com manuals search engine

Troubleshooting Application Software Upgrade

73

Solution:
Fault occurs because an incorrect application file is downloaded. Download the
correct application program file.

The bar code labels on the chassis and the FICs contain information about
production and servicing. Before you ask your agent for servicing, provide its
bar code.

If you do not set the parameters such as the host name and gateway, they will
not be displayed when you upgrade the router. Therefore, the terminal display
will be different from the above symptoms.

Downloaded from www.Manualslib.com manuals search engine

You might also like