Anjing Tae Loe Scribd PDF
Anjing Tae Loe Scribd PDF
MSR 20-20
MSR 20-21
MSR 20-40
MSR 30-11
MSR 30-16
MSR 30-20
MSR 30-40
MSR 30-60
MSR 50-40
MSR 50-60
www.3Com.com
Part Number 10016322 Rev. AA
August 2007
3Com Corporation Copyright © 2007, 3Com Corporation. All rights reserved. No part of this documentation may be reproduced in any form or
350 Campus Drive by any means or used to make any derivative work (such as translation, transformation, or adaptation) without written
permission from 3Com Corporation.
Marlborough, MA
USA 01752-3064 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.
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 3Com’s 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.
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.
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.
3Com processes allow for the recovery, reclamation and safe disposal of all end-of-life electronic components.
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.
CONTENTS
1 INTRODUCTION
Volume Introduction 7
2 FEATURE DESCRIPTION
Overview 9
Functional Modules Index of Basic 9
Functional Modules Index of Standard 10
Feature Description 11
5 SOFTWARE MAINTENANCE
Introduction 37
BootROM Menu 39
Upgrading BootROM Through Serial Interface 43
Upgrading Application Program Through Serial Interface 47
Upgrading Application Program Through Ethernet Interface 47
Maintaining Application Program and Configuring Through Command Lines 50
Maintaining Application Program and Configuration File 55
Dealing with Router Password Loss 57
Backing up and Restoring BootROM 58
Introduction to the You can get a brief idea of the contents of this manual by reading the following:
Manual ■ “Feature Description” on page 9: Introduces the main features of each module
presented in this manual.
■ “Logging onto MSR Series Routers” on page 29: Helps you know about the
user interfaces supported on the MSR series routers and how to log on or
telnet through the Console port or the Ethernet interface.
■ “Registering the Software” on page 35: Introduces the registration methods of
the MSR series routers.
■ “Software Maintenance” on page 37: Introduces software upgrade and
maintenance method of the router and how to deal with password loss,
helping you familiar with software upgrade and configuration file maintenance
in all modes.
■ “Slot Position of H3C MSR Series Routers” on page 59: Helps you finding the
slot position with a diagram when you are maintaining the router.
n 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
Conventions Table 1 lists icon conventions that are used throughout this guide.
Table 1 Notice Icons
Table 2 lists text conventions that are used throughout this guide.
Convention Description
Screen displays This typeface represents information as it appears on the
screen.
6 ABOUT THIS GUIDE
Convention Description
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” 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.”
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 Boldface type is used to highlight command names. For
example, “Use the display user-interface command
to...”
Related The following manuals offer additional information necessary for managing your
Documentation MSR 20/30/50 Series routers:
Volume Introduction Softwares on MSR series routers fall into two versions: basic and standard. You can
find lists of features supported on the two versions and the corresponding
volumes of protocols or features you are interested in through feature indexes for
these two versions respectively.
■ “Access Volume” on page 11: Configuration of interfaces and link layer
protocols supported on the router
■ “IP Services Volume” on page 14: Configuration of IP-related features such as
IP address, ARP, DNS, DHCP, IP performance, IP Unicast Routing, ACL, IPv6
Basics, NAT-PT and IPv6 over IPv4 Tunnel
■ “IP Routing Volume” on page 16: Configuration of routing protocols such as
static route, RIP, RIPng, OSPF, OSPFv3, IS-IS, BGP, BGP4+ and routing policy
■ “IP Multicast Volume” on page 17: Configuration of IP multicast protocols such
as IGMP, PIM, MSDP, multicast policy and MLD
■ “MPLS&VPN Volume” on page 19: Configuration of MPLS and VPN related
protocols such as MPLS, MPLS TE, GRE, BGP/MPLS IP VPN, MPLS L2VPN and
VPLS
■ “QoS Volume” on page 20: Configuration of QoS related protocols and
features supported on the router, such as traffic classification, policing, and
shaping, QoS policy, congestion management, priority mapping, congestion
avoidance, MPLS QoS, DAR and Frame Relay QoS
■ “Security Volume” on page 21: Configuration of security protocols such as
AAA, user management, firewall, NAT, IPSec, IKE, RADIUS, HWTACACS and
PORTAL
■ “System Volume” on page 23: Configuration of system-related protocols and
features such as basic system configuration, user login, file system
management, system maintenance, NTP, SNMP, RMON, backup center, VRRP,
NQA and MAC address table management
■ “IPX Volume” on page 26: Configuration of IPX protocol supported on the
router
■ “Voice Volume” on page 26: Configuration of VoIP-related protocols and
features such as H.323, SIP, FoIP, and dial policy
8 CHAPTER 1: INTRODUCTION
FEATURE DESCRIPTION
2
Overview H3C MSR Series Routers can be divided into three series: MSR 20, MSR 30 and
MSR 50, which are positioned in ascending order. MSR 20 and MSR 30 series can
be used as the edge access equipment of large networks or carrier networks, and
the core of branches or small businesses; MSR 50 series can be used as the core of
large and medium-sized enterprise networks as well as the edge/aggregation
access equipment of large networks or carrier networks.
Functional Modules
Table 1 Functional modules index of standard
Index of Basic
Functional
module Feature
“Access ATM and DSL POS Interface Ethernet Interface WAN Interface
Volume” on interface
page 11
ATM DCC DLSw Frame Relay
GVRP HDLC LAPB and X.25 Link Aggregation
MODEM Port Mirroring PPP(PPP,PPPoE) Bridging
ISDN MSTP VLAN Port Isolation
Dynamic router Logical interface
backup
“IP Services ARP DHCP(Server,Client DNS IP Accounting
Volume” on )
page 14
IP Addressing IP Performance IP Unicast URPF
Policy-Routing
Fast Forwarding IPv6 Basics Dual Stack
“IP Routing IP Routing BGP OSPF RIP
Volume” on Overview
page 16
Routing Policy Static Routing IPv6 Static
Routing
“IP Multicast Multicast Multicast Routing IGMP MSDP
Volume” on Overview and Forwarding
page 17
PIM IPv6 Multicast MLD IPv6 PIM
Routing and
Forwarding
“MPLS&VPN GRE L2TP
Volume” on
page 19
“QoS Volume” QoS
on page 20
10 CHAPTER 2: FEATURE DESCRIPTION
Functional
module Feature
“Security 802.1x AAA RADIUS Firewall NAT
Volume” on HWTACACS
page 21
PKI PORTAL Rsh SSH1.5
ACL SSH2.0
“System GR Backup Center VRRP Device
Volume” on Management
page 23
NQA NetStream NTP RMON
SNMP File System System Basic System
Management Maintaining and Configuration
Debugging
Information User Interface MAC Address
Center Table
Management
Functional Modules
Table 2 Functional modules index of Standard
Index of Standard
Functional
module Feature
“Access ATM and DSL POS Interface Ethernet Interface WAN Interface
Volume” on interface
page 11
ATM DCC DLSw Frame Relay
GVRP HDLC LAPB and X.25 Link Aggregation
MODEM Port Mirroring PPP Bridging
ISDN MSTP VLAN Port Isolation
Dynamic router Logical interface CPOS
backup
“IP Services ARP DHCP DNS IP Accounting
Volume” on
IP Addressing IP Performance IP Unicast UDP Helper
page 14
Policy-Routing
URPF Fast Forwarding IPv6 Basics NAT-PT
Dual Stack Tunneling IPv6 Unicast Policy Terminal Access
Routing
“IP Routing IP Routing BGP IS-IS OSPF
Volume” on Overview
page 16
RIP Routing Policy Static Routing IPv6 BGP
IPv6 IS-IS IPv6 OSPFv3 IPv6 RIPng IPv6 Static
Routing
“IP Multicast Multicast Multicast Routing IGMP MSDP
Volume” on Overview and Forwarding
page 17
PIM IPv6 Multicast MLD IPv6 PIM
Routing and
Forwarding
Multicast VPN
“MPLS&VPN MPLS Basics MPLS TE MPLS L2VPN MPLS L3VPN
Volume” on
DVPN GRE L2TP
page 19
Feature Description 11
Functional
module Feature
“QoS Volume” QoS
on page 20
“Security 802.1x AAA RADIUS Firewall MAC
Volume” on HWTACACS Authentication
page 21
NAT PKI PORTAL Rsh
ACL IPSec SSH2.0 SSL
“System GR Backup Center VRRP Device
Volume” on Management
page 23
NQA Automatic NTP RMON
Configuration
SNMP File System System Basic System
Management Maintaining and Configuration
Debugging
Information User Interface MAC Address NetStream
Center Table
Management
PoE OAP Module1 ACFP ACSEI
Track
“IPX Volume” IPX
on page 26
“Voice Voice Overview VoIP Dial Plan E1 and T1
Volume” on
Fax over IP H.323 SIP VoFR
page 26
Voice RADIUS Call Services
1 Note that in some regions, the OAP module is sold as the OSM module. Both modules are functionally the
same.
Feature Description
n In the PDF version of this manual, you can click the hyperlink in the “Operation
Manual” and “Command Manual” to access the operation and command manual
you are interested in. Press <Alt + ←> to return to [ Feature Description ].
Access Volume
Table 3 Features in access volume
IP Services Volume
Table 4 Features in IP services volume
Operation and
Feature command manual Feature description
ARP ARP Configuration Address resolution protocol, mainly used for
resolution from IP address to Ethernet MAC
ARP Commands
address.
■ ARP configuration
■ Gratuitous ARP configuration
■ ARP source suppression configuration
■ Proxy ARP configuration
DHCP DHCP Configuration Dynamic host configuration protocol,
implements dynamic configuration for
DHCP Commands
information such as IP address.
■ DHCP server configuration
■ DHCP relay configuration
■ DHCP client configuration
■ DHCP Snooping configuration
■ BOOTP client configuration
DNS DNS Configuration DNS is a distributed database that applies to
TCP/IP application programs. It functions to
DNS Commands
resolve between hostnames and IP addresses.
■ Static DNS configuration
■ Dynamic DNS configuration
IP Accounting IP Accounting IP accounting counts inbound and outbound IP
Configuration packets on the router.
IP Accounting Commands ■ IP accounting configuration
IP Addressing IP Addressing ■ IP address configuration
Configuration
■ Assigning an IP address to an interface
IP Addressing Commands
IP Performance IP Performance In a specific network, IP parameters need to be
Configuration adjusted to optimize the network performance.
IP Performance Commands ■ Enabling receiving and forwarding directed
broadcasts
■ Configuration of TCP timer, buffersize,
packet size and ICMP error packets
IP Unicast IP Unicast Policy-Routing Policy routing, selects routes according to
Policy-Routing Configuration policies defined by the user.
IP Unicast Policy-Routing ■ Policy routing configuration
Commands
UDP Helper UDP Helper Configuration UDP Helper functions to relay UDP broadcast
packets to the specified server after converting
UDP Helper Commands
them to unicast packets.
■ UDP Helper configuration
URPF URPF Configuration Unicast reverse path finding, used to prevent
the network attack based on source address
URPF Commands
spoofing.
■ URPF configuration
Feature Description 15
Operation and
Feature command manual Feature description
Fast Fast Forwarding Fast forwarding employs cache and
Forwarding Configuration data-flow-based technology to handle packet
forwarding.
Fast Forwarding
Commands ■ Fast forwarding configuration
IPv6 Basics IPv6 Basics Configuration Internet protocol version 6 (IPv6) was designed
by the Internet Engineering Task Force (IETF) as
IPv6 Basics Commands
the successor to Internet protocol version 4
(IPv4).
■ Configuring basic IPv6 functions
■ IPv6 NDP configuration
■ PMTU discovery configuration
■ TCP6 configuration
■ IPv6 FIB forwarding configuration
■ IPv6 DNS configuration
NAT-PT NAT-PT Configuration IPv4 networks and IPv6 networks will co-exist to
communicate with each other for a long period
NAT-PT Commands
of time. The network address translation -
protocol translation (NAT-PT) realizes translation
between IPv4 and IPv6 addresses to meet the
communication requirement.
■ NAT-PT configuration
Dual Stack Dual Stack Configuration A network node that supports both IPv4 and
IPv6 is called a dual stack node. A dual stack
Dual Stack Commands
node configured with an IPv4 and an IPv6
addresses can have both IPv4 and IPv6 packets
transmitted.
■ Dual stack configuration
■ Transition technology from IPv4 to IPv6
Tunneling Tunneling Configuration Tunneling is an encapsulation technology,
which utilizes one network transport protocol to
Tunneling Commands
encapsulate packets of another network
transport protocol and transfer them over the
network.
■ Manual/automatic IPv4-compatible IPv6
Tunnel
■ 6to4 tunnel configuration
■ ISATAP tunnel configuration
■ IPv4 over IPv4 tunnel configuration
■ IPv6 over IPv6 tunnel configuration
■ IPv4 over IPv4 tunnel configuration
■ 6PE configuration
IPv6 Unicast IPv6 Unicast Policy Routing IPv6 Unicast Policy Routing configuration
Policy Routing Configuration
IPv6 Unicast Policy Routing
Commands
16 CHAPTER 2: FEATURE DESCRIPTION
Operation and
Feature command manual Feature description
Terminal Terminal Access ■ Introduction to Terminal Access
Access Configuration
■ TTY Terminal Access Configuration
Terminal Access
■ Telnet Terminal Access Configuration
Commands
■ RTC Terminal Access Configuration
Return to “Functional Modules Index of Basic” on page 9
IP Routing Volume
Table 5 Features in IP routing volume
IP Multicast Volume
Table 6 Features in IP multicast volume
MPLS&VPN Volume
Table 7 Features in MPLS&VPN volume
QoS Volume
Table 8 Features in QoS volume
Security Volume
Table 9 Features in security volume
System Volume
Table 10 Features in system volume
IPX Volume
Table 11 Features in IPX volume
Voice Volume
Table 12 Features in voice volume
Logging onto an MSR You can log onto the MSR 20/30/50 series routers in the following ways:
Series Router ■ Local login through Console port
■ Telneting to the router through an Ethernet interface
■ Remote login through AUX port or TTY port using Modem dialup
■ Login through NMS
Local login through Console port and telneting to the router through an Ethernet
interface are the most frequently used login methods in application. In this manual
we introduce these two login methods in details.
Console
PC Router
After setting all parameters, click [Enter], and you can configure the router.
Server Client
Configuring the router
Before you perform remote login onto the router, you must configure the router.
You must perform local configuration through Console port when you first
configure the router.
# Configure the IP address of the interface that connects to the Internet. You can
change this IP address to what is in use.
[H3C]interface ethernet0/0
[H3C-ethernet0/0]ip address 192.168.0.1 24
[H3C]user-interface vty 0
Login authentication
Password:
<H3C> system-view
[H3C]
Enter password 123456 when the system prompts entering the password. You can
perform operations on the router after entering the correct password.
Introduction to User
Interface
User Interface
Table 13 Introduction to user interface
Supported on MSR
Series Routers User interface Corresponding user Port type Description
Console user User logging through Console port There is only one
interface Console port Console user for each
router
TTY user User logging through TTY interface Different products
interface TTY interface support different
numbers of users. Use
the display
user-interface
command to check it.
Introduction to User Interface 33
User Interface User interface of the system falls into four categories, and is arranged in certain
Numbering for the order:
Router
They are Console (CON), Auxiliary port (AUX), virtual interface (VTY) and physical
terminal interface (TTY).There is only one user interface for console and auxiliary
port, while multiple user interfaces for VTY and TTY interface, each type of these
multiple user interfaces being arranged in order.
User interface is numbered in the following two ways: absolute number and
relative number.
1 Absolute number
The beginning number of absolute number is 0 (Namely, Console port), and the
rest interfaces can be deduced by analogy. Console port and Aux port occupy one
number respectively; For VTY interface and TTY interface, different products
support different numbers of user interfaces. Use the display user-interface
command to view them. Absolute number can uniquely specify one user interface
or one group of user interfaces.
You can obtain a registration serial number through buying letter of authorization
of the software.
You can use the license register serial-number command or log onto the
network management interface and then enter the serial number to finish
software registration; and you can use the display license command or log onto
the network management interface to view the soft registration information of
the device.
Introduction
The following table gives default names and types of boot files.
n ■ 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.
38 CHAPTER 5: SOFTWARE MAINTENANCE
Configuration file
The file stores configuration information of the router.
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 55.
n ■ 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.
c 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, *,
|, <, /, :, >, ~.
■ 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.
BootROM Menu 39
Software Maintenance Upgrading BootROM and application program using XMODEM protocol
Methods through an serial interface.
Start
Comware version
N
Upgrade Comware ?
Via network
interface
Xmodem
upgrade
TFTP FTP
upgrade upgrade
Upgrade
End
BootROM Menu
Main BootROM Menu When the router is powered on and reboots, the console terminal displays:
InitDDR
*******************************************************
* *
* H3C MSR50-40 BOOTROM, Version 2.11 *
* *
*******************************************************
Press <Ctrl+B> when it displays “Press Ctrl+B to enter extended boot menu...”.
Then, the system prompts:
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):
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 |
| <4> Update Secure Application File |
| <5> Modify Serial Interface Parameter |
| <6> Exit To Main Menu |
=============================================================
Enter your choice(1-6):
Modifying Serial Sometimes, we need to change the serial baud rate to higher in order to save
Interface Parameters upgrading time, or to lower to guarantee transmission reliability. This section
depicts how to adjust serial baud rate.
Enter <2> under 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 HyperTerminal’s Baudrate Accordingly, |
| Press ’Enter’ to exit with things untouched. |
|--------------------<Baudrate Avaliable>-------------------|
| <1> 9600(Default) |
| <2> 19200 |
44 CHAPTER 5: SOFTWARE MAINTENANCE
| <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:
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.
Then, press <Enter> to prompt current configuration baud rate and return to the
previous menu.
n 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.
Upgrading BootROM First, enter <7> under the main BootROM menu (refer to “Main BootROM Menu”
on page 39) to enter the BootROM operation submenu, under which all BootROM
46 CHAPTER 5: SOFTWARE MAINTENANCE
First, change serial baud rate to speed up upgrading (refer to “Modifying Serial
Interface Parameters” on page 43 for details), and then enter <3> under
BootROM operation menu. The system prompts:
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:
n ■ 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.
Upgrading Application Upgrading of application program through serial interface is implemented under
Program Through serial submenu. Enter <2> under the main BootROM menu to enter the serial
Serial Interface submenu. Refer to “Enter serial submenu” on page 41 for detailed descriptions.
First, change serial baud rate to speed up upgrading (refer to “Modifying Serial
Interface Parameters” on page 43 for details), and then enter <2> under serial
submenu. The system prompts:
Select application program file and send it. Upgrading application program with
serial port takes the similar steps with upgrading BootROM. Refer to “Upgrading
BootROM” on page 45 for details.
n Application program often takes over 10M.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 Enter <3> under the main BootROM menu to enter the Ethernet interface
Program Through submenu. Refer to “Enter Ethernet interface submenu” on page 42 for details.
Ethernet Interface
Configuring Ethernet Before upgrading application program through Ethernet interface, we need to
Parameters 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:
■ 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 routers, and GE0 port in MSR 30 and
MSR 50 routers.
Upgrading Application TFTP (Trivial File Transfer Protocol) is a protocol of the TCP/IP suite that is used to
Program Through transfer trivial files between clients and the server. It provides not-so-complex and
Ethernet Interface 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.
As an application layer protocol in the TCP/IP suite, FTP (File Transfer Protocol)
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.
Ethernet
ROUTER PC
(TFTP/FTP (TFTP/FTP
the address of application program. You need to set user name and password if
FTP server is used.
c CAUTION: No TFTP/FTP Server is available with the H3C MSR 50 series. You must
install one yourself.
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:
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.
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
Enter the file control submenu and enter <2> to set the application file type.
50 CHAPTER 5: SOFTWARE MAINTENANCE
Select the application program as the main boot file, and enter its complete path
and file name.
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.
c CAUTION:
■ The file in the CF card will be overwritten if the file name being input is the
same as 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
■ 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 37 for detailed descriptions of file types.
Maintaining After booting the router normally, you can upgrade and backup application
Application Program program and backup and recover configurations under command line mode.
and Configuring
Through Command
Lines
Maintaining the Router The TFTP service provided by the router is TFTP Client - the router serves as TFTP
with TFTP Server 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.
Maintaining Application Program and Configuring Through Command Lines 51
Configuring environment
Step 1: Set up hardware environment (refer to “Upgrading Application Program
Through Ethernet Interface” on page 48 for details), and point the server path to
the folder where the file is put.
Ethernet
ROUTER PC
(TFTP/FTP (TFTP/FTP
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.
View the files included in current file system with the dir command:
<H3C>dir
Directory of cf:/
<H3C>
Use the command as follows to backup the config.cfg file on the router to TFTP
server and save as config.bak:
Use this command to download the config.cfg file on the server to the router:
52 CHAPTER 5: SOFTWARE MAINTENANCE
If a config.cfg file already exists in the router, select <Y/y> to overwrite it.
c 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 Maintaining the router when it serves as the server
with FTP Server FTP (File Transfer Protocol) is an application layer protocol in the TCP/IP suite. 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.
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 50
series. You must install one yourself. Take the FTP Client with Windows XP for
example.
Ethernet
ROUTER PC
(TFTP/FTP (TFTP/FTP
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
Maintaining Application Program and Configuring Through Command Lines 53
set to 192.168.0.2. Both can use the ping command to check if the connection is
successful.
You can boot FTP service after configuring FTP server authentication and
authorization. FTP server supports multiuser 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:
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:
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> 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.
54 CHAPTER 5: SOFTWARE MAINTENANCE
Ethernet
ROUTER PC
(TFTP/FTP (TFTP/FTP
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 Enter the user name configured on the router
331 User name ok, need password
Password: Enter the corresponding password
230 User logged in Connect successfully
[ftp]
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
Maintaining Application Program and Configuration File 55
Maintaining You can modify and display the file type under the file control submenu:
Application Program
and Configuration File 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 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:
2. -Main
3. +Backup
4. -Backup
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 37 for details.
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:
You can set the operation file to the types of M, Cancel M, B and Cancel B by
entering 1-4. Refer to “Files” on page 37 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 suc
cess:
deleting...
success!
Dealing with Router Password Loss 57
c CAUTION: Confirm the file to be deleted before deleting since the system does
not prompt you to confirm when deleting files.
Dealing with Router Do as follows when your BootROM password, user password or Super Password is
Password Loss lost.
User Password Loss 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:
........
Flag Set Successfully.
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.
n ■ After reboot, 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.
[H3C] save
n Execute the save command after modifying the user password to save the new
password.
58 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.
Enter <5> to modify the password following the prompt. The console terminal
displays:
Change password.
Old password: Enter the old password
New password: Enter the new password
Verify: Enter the new password again
........Password Set Successfully. The new password is set successfully
n The password modification fails when old password is not correct or new
password is not correctly entered, and then the system exits this operation.
Super Password Loss 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 Enter <7> under the main BootROM menu to enter the BootROM operation
Restoring BootROM submenu. Refer to “BootROM operation submenu” on page 43 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!
Enter <2> under the menu to restore the BootROM in the memory to the system: