R4001 Router Installation Manual
R4001 Router Installation Manual
R4001 Router Installation Manual
Volume
Version T2-080419-20000408-C-1.0
Status Formal
Product Version
BOM 31040219
Trademarks
HUAWEI,
, C&C08, EAST8000, HONET, ViewPoint, INtess, ETS, DMC,
SBS, TELLIN, InfoLink, Netkey, Quidway, SYNLOCK, Radium, IP Inside,
M900/M1800, OptiX are trademarks of Huawei Technologies Co., Ltd.
Notice
The information in this document is subject to change without notice. Although
every effort has been made to make this document as accurate, complete, and
clear as possible, Huawei Technologies assumes no responsibility for any
errors that may appear in this document.
Contents
To help the users better understand, operate and maintain the Quidway series
of routers, this series of manuals are published, which consist of:
Quidway Series of Routers User Manual - Configuration Guide
Quidway Series of Routers User Manual - Command Reference
Quidway R2509/2511 Routers Installation Manual
Quidway R1603/1604 Routers Installation Manual
Quidway R2501 Router Installation Manual
) Quidway R4001 Router Installation Manual
Quidway R1602 Router Installation Manual
Quidway R2630/31&R3640/80 Routers Installation Manual
Quidway R2601 Router Installation Manual
Quidway R2606 Router Installation Manual
Quidway R2608/2609 Routers Installation Manual
The first two manuals suit all the Quidway routers, while the other manuals are
used separately with corresponding routers.
Quidway R4001 Router Installation Manual, which contains six chapters and
two appendices, describes the hardware and software installation, software
configuration, maintenance and troubleshooting of the Quidway R4001 router:
Chapter 1 (Introduction) contains the Router’s hardware features and
functions, including the physical and connective attributes of the interfaces.
Chapter 2 (Installation Preparation) describes the safety recommendation,
the requirements on the installation conditions, as well as the check on the
Router and its accessories.
Chapter 3 (Installation) introduces the Router’s mechanical installation
details, and the connection modes of various cables.
Chapter 4 (Configuration) introduces the environment creation of the
command line interface, the configuration commands and use of Setup.
Chapter 5 (Debugging) introduces the debugging tools, failure analysis and
diagnosis.
Chapter 6 (Maintenance) introduces the software upgrading, downloading
of configuration files, and solution to password loss.
Appendix A Description of Optional Cables
Appendix B Description of Indicators
Target Readers
The manual is intended for the network engineers, network managers and
relevant technical personnel.
Caution:
Attention should be paid to the texts following this sign, inappropriate operation
may cause damage to the router, or loss of data.
Note:
This is annotation on relative description.
Installation Manual
Quidway R4001 Router Table of Contents
Table of Contents
Chapter 1 Introduction to R4001 Router ........................................... 1-1
1.1 General . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.2 Hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.2.1 Outlook of R4001 Router . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.2.2 System Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.2.3 Interface Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
1.3 Functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5
Chapter 2 Installation Preparation .............................................. 2-1
2.1 Safety Recommendation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
2.2 Installation Conditions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
2.3 Goods Check . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.4 Preparation for Cable Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.4.1 Preparation for cE1/PRI Interface Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.4.2 Preparation for Sync/Async Serial Interface Connection . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.4.3 Preparation for Ethernet Interface Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.4.4 Preparation for Console Port Connection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
Chapter 3 Installation ..................................................... 3-1
3.1 Tools and Devices Required . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
3.2 Mechanical Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
3.3 Connect Power . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3.4 Connect Cables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
3.4.1 Connect Ethernet Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
3.4.2 Connect cE1/PRI Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
3.4.3 Connect Sync/Async Serial Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-5
3.4.4 Connect AUX Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
3.4.5 Connect Console Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
Chapter 4 Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.1 Premises for Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.1.1 Set up Configuration Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.1.2 Command Line Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
4.1.3 Configuration with Setup . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
4.1.4 Configuration Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
4.2 Configure cE1/PRI Interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
4.2.1 Configuration Preparation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
4.2.2 Configure Physical Timeslot Binding of cE1/PRI to Create New Interface . . . . . . . . . . . . . 4-10
i
Installation Manual
Quidway R4001 Router Table of Contents
ii
Installation Manual Chapter 1
Quidway R4001 Router Introduction to R4001 Router
1.1 General
Quidway R4001 router has 1 Ethernet interface, 1 multi-protocol sync/async serial port,
1 cE1/PRI interface, and 1 Auxiliary port. The cE1/PRI interface can be configured to
support ISDN PRI (30B+D) or sub-timeslot E1 (cE1). It can function as a central router
for small and medium-sized enterprises by interconnecting the enterprise LANs via
ISDN PRI, sub-timeslot E1, DDN, frame relay and X.25 lines. It can also serve as an
ISDN access server for ISP, providing up to 30 BRI access channels at the same time.
This router is an enterprise-level central router with powerful functions.
1.2 Hardware
cE1/PRI port
The cE1/PRI interface has two indicating lights: data indicator and sync indicator, the
WAN port in the figure is the sync/async port.
1-1
Installation Manual Chapter 1
Quidway R4001 Router Introduction to R4001 Router
Item Description
1 Ethernet port
1 cE1/PRI port
1-2
Installation Manual Chapter 1
Quidway R4001 Router Introduction to R4001 Router
Attribute Description
10BASE-T(RJ-45)
Connector
AUI (DB-15)
Ethernet_II
Ethernet_SNAP
Supported frame formats
IEEE 802.2
IEEE 802.3
IP
Supported network protocols
Novell IPX
Attribute Description
Connector DB-15
Interface standard G.703
Cable type 75-ohm non-balanced coaxial cable
IP
Supported network protocol
Novell IPX
X.25
ISDN
PPP
MP
Q.921
Q.931
1-3
Installation Manual Chapter 1
Quidway R4001 Router Introduction to R4001 Router
Note:
An external adapter is required for X.21, EIA/TIA-449 and EIA-530 standard interfaces.
Description
Attribute
Synchronous Asynchronous
Connector DB-50 DB-50
Interface V.24 V.35 X.21 EIA/TIA-449 EIA-530
standard and DTE DTE DTE DTE EIA/TIA-232
working mode DTE DCE
DCE DCE DCE DCE
Minimum baud
1200 1200 1200 300
rate (bps)
Maximum baud 4.096
64k 2.048M 115.2k
rate (bps) M
X.25 Modem dial-up
Supported
services
Frame Relay Backup
PPP
PPP
MP
Supported
SLIP
protocols
LAPB
MP
HDLC
Attribute Description
Connector RJ-45
Interface standard Asynchronous EIA/TIA-232
Baud rate 300bps~115.2kbps
Modem dial-up
Supported services
Backup
PPP
MP
1-4
Installation Manual Chapter 1
Quidway R4001 Router Introduction to R4001 Router
Attribute Description
Connector RJ-45
Interface standard Asynchronous EIA/TIA-232
Baud rate 9600bps
Command line interface
Connected via Modem to the serial port of remote PC that runs terminal emulation program
1.3 Functions
The function features of Quidway R4001 router are as illustrated in Table 1-7.
1-5
Installation Manual Chapter 1
Quidway R4001 Router Introduction to R4001 Router
Attribute Description
Ethernet_II
Ethernet_SNAP
LAN protocol
IEEE 802.2
IEEE 802.3
Frame Relay
X.25
X.25 switching
LAPB
MP
HDLC
Modem dial-up (incoming/outgoing)
Dialing backup
L2TP
VPN GRE
1-6
Installation Manual Chapter 1
Quidway R4001 Router Introduction to R4001 Router
Attribute Description
ARP, Proxy ARP
IP packet filtering
IP Unnumber
IP performance Van Jacobson TCP message compression
Network Static routing management
protocol
Dynamic routing protocol
RIP-2
IP route
OSPF
IGRP
BGP
Novell IPX
Radius
Authentication,
authorization and
CHAP authentication
accounting (AAA)
services
PAP authentication
Packet filtering
1-7
Installation Manual Chapter 1
Quidway R4001 Router Introduction to R4001 Router
Attribute Description
Providing backup interfaces for any interfaces on the router
Providing multiple backup interfaces for a main interface, which will be used
Network Backup center according to their priority
reliability
An interface with multiple physical channels can provide backup for multiple
main interfaces
The user can configure conditions for switching between main and standby
interface.
HSRP
Local or remote configuration via console port
1-8
Installation Manual Chapter 2
Quidway R4001 Router Installation Preparation
To avoid accidents that may cause damages to equipment and injury to people, please
read this chapter carefully before installing the Quidway R4001 router.
Around the radiating holes, a space of at least 10mm should be reserved to ensure
sufficient radiating. Though the router provides a cross-ventilation slot, you'd better
mount the router aerial to ensure good cross-ventilation. It is recommended that the
router be mounted on a 19" standard cabinet. Otherwise place the router horizontally
on a clean surface. Air conditioners are recommended where it is hot in summer.
2-1
Installation Manual Chapter 2
Quidway R4001 Router Installation Preparation
Caution:
To ensure good ventilation, do not put the router on carpet or other cotton textiles.
Multi-protocol serial port cables are optional cables, including the V.35 DTE, V.35 DCE,
V.24 DTE and V.24 DCE. You must specify the type of cable before purchasing,
otherwise the cables will not be supplied as accessories. For details about the cables,
please refer to Appendix A.
E1 interface cable is 3M 75-ohm cable, with 75/120ohm adapter. Please specify
whether this cable will be needed when purchasing the router. Otherwise it will not be
delivered. Refer to Appendix A for details about the cable.
The technical documents of the router may be in paper or CD-ROM.
Check the goods against the packaging list and purchase contract. Contact the dealer
if there are any questions or mistakes.
2-2
Installation Manual Chapter 2
Quidway R4001 Router Installation Preparation
Before connecting the cE1/PRI, make sure of the features of the E1 line.
There are two cable impedance optional for the cE1/PRI interface: 75 and 120 ohm.
The cable supplied is 75ohm BNC connector, which can be connected to the 120ohm
interface through the delivered 75/120ohm adapter.
CSU/DSU
In different modes, the sync/async serial port supports different electrical signal
standards and baud rates. So different cables should be selected according to the
2-3
Installation Manual Chapter 2
Quidway R4001 Router Installation Preparation
actual situation. The maximal signal transmitting distance and the set baud rate are
related to the cables selected. See Table 2-3 for specific parameters.
Caution:
The baud rate shall not exceed 64kbps when V.24 cable works under synchronous mode.
2-4
Installation Manual Chapter 2
Quidway R4001 Router Installation Preparation
The Quidway R4001 router provides the user with a 10BASE-T and an AUI Ethernet
interface, connecting the router with LAN via a twisted-pair. Various adapters can also
be added to the AUI interface, so that the router can be connected to 10BASE-5 or
10BASE-2 networks. When Category-5 twisted-pair is used, the transmitting distance
can be up to 100 meters. Refer to Section 3.4 for detailed methods of connecting the
router to the LAN.
The Quidway R4001 router provides an EIA/TIA-232 asynchronous console serial port,
via which the user can configure the router in two ways:
Way 1: Configuring the router via the character terminal (usually an ordinary PC) with
an RS-232 serial port;
Way 2: Remote configuring the router via two Modems.
Please refer to the following chapters for detailed methods of connection and
configuration.
2-5
Installation Manual Chapter 3
Quidway R4001 Router Installation
Chapter 3 Installation
3-1
Installation Manual Chapter 3
Quidway R4001 Router Installation
Caution:
In many cases the user does not have the 19" standard cabinet. In this case, place the Quidway R4001
router on a clean plane surface, reserve a space of at least 10mm around the router. Do not put any
heavy objects on the router.
3-2
Installation Manual Chapter 3
Quidway R4001 Router Installation
Netural point
Caution:
1. If the power indicator remains off after repeating steps 2 and 3, please contact the dealer.
3. Do not open the router’s back cover by your self. In case the router breaks down, please contact the
dealer.
4. To protect the equipment against lightning strike, the grounding cable delivered must be connected and
well earthed. The cable should be cut as short as possible so long the environment allows.
3-3
Installation Manual Chapter 3
Quidway R4001 Router Installation
RX
TX
To E1 line
To power
socket To digital
To analog MODEM
To PC serial MODEM
port To LAN
Note:
On the Quidway R4001 router, the sync/async serial interface (Serial0) and AUX port can not be used at
the same time. To switch between them, use the enable command in the command line configuration.
For example: in the configuration mode of port Serial0, input and execute enable
command to activate the sync/async serial port (Serial0), and disable the AUX port
(AUX).
Quidway(config-if-Serial0)#enable
Serial1 is disabled: disable AUX port
Serial0 is enabled: activate the sync/async serial port
Step 1: Connect one end of the Ethernet cable to the 10BASE-T or AUI interface of the
router.
Step 2: Connect the other end of the Ethernet cable to the 10BASE-T interface of the
HUB.
Step 3: Check the status of the 10BASE-T indicator on the router’s rear panel.
3-4
Installation Manual Chapter 3
Quidway R4001 Router Installation
Caution:
Read the label on the interface carefully to avoid misconnection.
Caution:
Read the label on the interface carefully to avoid misconnection.
Step 1: Connect the DB-50 end of the cable to the router's sync/async serial port.
Step 2: Connect the other end of the cable to the DCE device:
According to the DCE interface type, select the correct cable for connection (V.35 or
V.24 cables).
Caution:
Read the label on the interface carefully to avoid misconnection.
3-5
Installation Manual Chapter 3
Quidway R4001 Router Installation
Step 1: Connect the RJ-45 end of the AUX port cable to the router's AUX port.
Step 2: Connect the DB-25 end of the cable to the serial port of an analog Modem.
Caution:
Read the label on the interface carefully to avoid misconnection.
Step 1: Prepare a character terminal, which can be either a standard terminal with
RS-232 serial port, or an ordinary PC (more popular). To conduct a remote
configuration, two Modems are needed.
Step 2: Make sure that either the router or the character terminal is powered off,
connect the RS-232 serial port of the character terminal with the router’s console port
via console cable.
Refer to the following chapter for details of configuration.
3-6
Installation Manual Chapter 4
Quidway R4001 Router Configuration
Chapter 4 Configuration
4-1
Installation Manual Chapter 4
Quidway R4001 Router Configuration
ON
OFF
Console port
MODEM
Telephone line
PSTN
Quidway R4001
MODEM
ON
OFF
4-2
Installation Manual Chapter 4
Quidway R4001 Router Configuration
Configuration in LAN
Workstation
Quidway R4001
ON
OFF
Server Workstation
ON
OFF
Local router
WAN line
WAN
Remote LAN
Quidway R4001
ON
OFF
Router to be configured
If the router is not powered on for the first time, and the IP address for each interface of
the router has been configured correctly, you can log in the router through Telnet via
LAN or WAN, and configure the router.
Step 1: As shown in Figure 4-3, to set up local configuration environment, just connect
the PC Ethernet interface via LAN to the router’s Ethernet interface. To set up remote
configuration environment, just connect the PC to the router via the WAN interfaces, as
shown in Figure 4-4.
Step 2: Run the Telnet program on the computer, set its terminal type to VT100.
4-3
Installation Manual Chapter 4
Quidway R4001 Router Configuration
Step 3: Power on the router, input the IP address of the router’s Ethernet interface on
the local computer (or input the IP address of the router’s WAN interface on the remote
computer) to set up a connection to the router. Then the command line prompt (such
as Quidway>) will appear. If it prompts there are too many users, try the connection
later.
Step 4: Input commands to configure the router or check the router's running status.
Enter ‘?’ anytime you need help.
The Quidway series routers provide the users with a command line interface that
consists of a series of configuration commands. With these commands, the user can
configure and manage the router. The command line interface has the following
features:
Local or remote configuration via console port.
Local or remote configuration via Telnet.
Multilevel configuration command protection. Only the privileged users can configure
and manage the router, unauthorized users can not access the router.
Users may input ‘?’ anytime to get on-line help.
Providing various prompts and help information.
Providing network testing commands such as tracert, ping for quick diagnoses of
network faults.
Providing rich and detailed debugging information to help diagnosing network faults.
Direct log-in and management on other routers with telnet commands.
Providing functions similar to DosKey to execute certain history commands.
The command line interpreter searches key words by incomplete matching. Users only
need to input non-conflicting key words, such as sh for show, and interpretation will be
done.
For the convenience of managing the router, all commands are divided into groups:
each corresponding to a command mode. Switchover between different configuration
modes can be realized through these commands. Usually, in a command mode, only
limited commands can be executed. But some common commands (such as ping,
show, running-config, interface) can be executed in all modes except ordinary user
mode.
Function features of each mode are shown in Table 4-1.
4-4
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-5
Installation Manual Chapter 4
Quidway R4001 Router Configuration
The switchover among various command modes are shown in Table 4-2.
Ordinary
user enable
Privileged
user disable config
Global exit
configuratio vpdn-gro
n Ctrl+Z router interface logic-channel up controller
Routing
protocol
configuratio vpdn-gro
n Ctrl+Z exit interface logic-channel up controller
Interface
configuratio vpdn-gro
n Ctrl+Z exit router logic-channel up controller
Backup
center
logical
channel
configuratio vpdn-gro
n Ctrl+Z exit router interface up controller
VPDN group
configuratio
n Ctrl+Z exit router interface logic-channel controller
cE1/PRI
interface
configuratio vpdn-gro
n Ctrl+Z exit router interface logic-channel up
In addition to the command line interfaces, setup command can be used to configure
the Quidway series routers. Setup guides the user in interactive way to configure the
basic and necessary parameters required for the router’s operation. It is used for
bootstrap configuration when the router is powered on for the first time. It can also be
used anytime in the privileged user mode.
Setup configuration includes:
Configuration of global parameters
Host name of the router
4-6
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-7
Installation Manual Chapter 4
Quidway R4001 Router Configuration
Netmask []:255.255.0.0
Class B network is 129.102.0.0.
IP address is 129.102.100.141, netmask is 255.255.0.0.
Configure IPX on this interface? [NO]:y Configure IPX network number
IPX network number for this interface [1]:1
Configure serial interface 0
Configuring interface Serial0:
Is this interface in use? [YES]:y
Configure IP on this interface? [NO]:y
Configure IPX on this interface? [NO]:y
IP address for this interface []:10.110.0.1
Netmask []:255.255.0.0
Class A network is 10.110.0.0.
IP address is 10.110.0.1, netmask is 255.255.0.0.
Configure IPX on this interface? [NO]:yes
IPX network number for this interface [1]:1001
Configure serial interface 1
Configuring interface Serial1:
Is this interface in use? [YES]:y
Configure IP on this interface? [NO]:y
Configure IPX on this interface? [NO]:y
IP address for this interface []:10.110.0.1
Netmask []:255.255.0.0
Class A network is 10.110.0.0.
IP address is 10.110.0.1, netmask is 255.255.0.0.
Configure IPX on this interface? [NO]:yes
IPX network number for this interface [1]:1001
The following configuration was created: Display configuration results
hostname Quidway
enable password
snmp-server community ro public
ipx routing
4-8
Installation Manual Chapter 4
Quidway R4001 Router Configuration
interface Ethernet0
no shutdown
ip address 129.102.100.141 255.255.0.0
ipx network 1
interface Serial0
no shutdown
ip address 10.110.0.1 255.255.0.0
ipx network 1001
interface Serial1
no shutdown
no ip address
no ipx network
end
Use this configuration? [yes/no]: Confirm configuration
Now writing the configuration to Flash memory. Save configuration
Before configuring the routers, concrete details about networking are required,
including networking purpose, the role of the router in the network interconnection,
subnetwork classification, WAN type, transmission media selection, network safety
strategies and network reliability requirements.
Make a clear and complete networking diagram according to above points.
Configure the router's WAN interface. Firstly, according to the selected WAN
transmission media, configure the interface physical parameters (such as sync/async
of serial interface, baud rate and synchronous clock). For dial-up interfaces, DDR
parameters should be configured. Then, according to the selected WAN type,
configure the link layer protocol to be encapsulated by the interface link and relative
parameters.
According to the subnetwork classification, configure the IP address or IPX network
numbers for the interfaces of the router.
Configure the transferring route between the interfaces. Relative parameters should be
configured if dynamic routing protocols will be initiated.
Configure the security features of the router if there is special security requirements.
Configure the reliability features of the router if there is special reliability requirements.
For details about various router protocols or function configurations, refer to “Quidway
Series of Routers User Manual - Configuration Guide”.
4-9
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-10
Installation Manual Chapter 4
Quidway R4001 Router Configuration
IP 10.110.0.2 IP 10.110.0.1
Subnet mask:
255.255.255.252
Central Site
E1 DDN Remote Site
Ethernet
Ethernet
IP 202.38.160.1 IP 129.102.0.1
Subnet mask:255.255.0.0 Subnet mask:255.255.0.0
4-11
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-12
Installation Manual Chapter 4
Quidway R4001 Router Configuration
If the connection fails after above configuration, input the following command to start
debugging.
debug ppp packet
IP 10.110.0.1
IP 10.110.0.2
Subnet mask:255.255.255.252
Remote Site
Central Site
ISDN
Ethernet
Ethernet
QuidwayR1603/1604Router
Quidway R4001Router
Hostname:Remote
Tel.8810124
IP 202.38.160.1 IP 129.102.0.1
Subnet mask:255.255.0.0 Subnet mask:255.255.0.0
4-13
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-14
Installation Manual Chapter 4
Quidway R4001 Router Configuration
5 packets received
0% packet loss
round-trip min/avg/max = 40/43/55 ms
If the packet loss rate is less than 20%, the connection is successful.
vii. Debugging
If the connection fails after the above configuration, execute the following commands to
start debugging.
debug dialer event
debug isdn q931
debug ppp packet
debug ip packet
Realization of IPX protocol on the sub-timeslot E1 interface involves PPP and IPX
configuration. Let’s begin with a specific case.
i. Networking diagram
Central Site
E1 DDN Remote Site
Ethernet
Ethernet
4-15
Installation Manual Chapter 4
Quidway R4001 Router Configuration
Quidway(config-if-Ethernet0)#shutdown
3 Enable the interface and the configuration data
Quidway(config-if-Ethernet0)#no shutdown
4-16
Installation Manual Chapter 4
Quidway R4001 Router Configuration
5 packets transmitted
5 packets received
0% packet loss
round-trip min/avg/max = 38/41/55 ms
If the packet loss rate is below 20%, the connection is successful.
vii. Debugging
If the connection fails after the above configuration, execute the following command to
start debugging.
debug ppp packet
debug ipx packet
IPX 1001.00e0.fc01.1234
IPX 1001.00e0.fc01.5678
Remote Site
Central Site
ISDN
Ethernet
Ethernet
QuidwayR1603/1604Router
Quidway R4001Router
Hostname:Remote
Tel.8810124
IPX 1000.00e0.fc01.5678 IPX 2000.00e0.fc01.1234
(Actual NODE value: MAC address of (Actual NODE value: MAC address
Ethernet interface) of Ethernet interface)
4-17
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-18
Installation Manual Chapter 4
Quidway R4001 Router Configuration
This section describes method of creating ISDN PRI interface on the cE1/PRI interface
and the configuration of Internet access via ISDN PRI interface. It is mainly used in the
case that enterprises access the Internet via the router through LAN.
i. Networking diagram
4-19
Installation Manual Chapter 4
Quidway R4001 Router Configuration
username 263
password 263 ISP
ip address negotiate DNS:192.168.10.2
Quidway A8010
Access Server
ISDN
4-20
Installation Manual Chapter 4
Quidway R4001 Router Configuration
Caution:
Do not configure default route on the router, or it will lead to NAT failure.
vii. Debugging
If the connection fails after the above configuration, execute the following commands
for debugging.
4-21
Installation Manual Chapter 4
Quidway R4001 Router Configuration
Preparation:
The router shall have been correctly installed according to the hardware installation
instructions of the Quidway R4001 router.
Telephone lines are in normal operation.
Basic knowledge for configuration:
Before configuration, read the descriptions for the user interface command lines of the
router carefully, understand the relationship between the command line modes.
In application, use actual data to replace the italicized parameters in the example.
Basic knowledge of protocols related to the configuration is a must.
When the serial interface works in asynchronous mode, the router dials via Modem to
connect with the remote router through PSTN.
i. Networking diagram
4-22
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-23
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-24
Installation Manual Chapter 4
Quidway R4001 Router Configuration
Preparation:
The router has been correctly installed according to the hardware installation
instructions for the Quidway R4001 router.
Frame Relay works normally.
Basic knowledge:
4-25
Installation Manual Chapter 4
Quidway R4001 Router Configuration
Before configuration, read the descriptions on the user interface command line of the
router, understand the relationship between the command line modes.
In actual application, use actual data to replace the italicized parameters in the
example.
Basic knowledge of the related protocols involved in configuration is a must.
Frame relay uses the packet switching technology to set up connections between user
devices (such as router and host) and network equipment (such as switching node
switch and Modem). The user side devices are called DTE, while the network side
devices are called DCE.
Frame relay services can be either provided by the public network service provider, or
set up within an enterprise.
Frame relay is a protocol with high performance and high efficiency. It has the following
features:
Set up multiple virtual connections on one physical connection to make more flexible
and efficient use of bandwidth.
The optical or digital connection lowers the transmission error code rate, eliminates the
time-consuming error detection, and improves data transmission efficiency of the
WAN.
No flow control process as the upper level protocol supports the flow control
mechanism better.
Provides congestion detecting mechanism, which will notify the upper level protocol in
case congestion takes place.
This section describes how to use the frame relay protocol to set up interconnection
with the remote router:
Configure global parameters
Configure security rules
Configure Ethernet interface
Configure frame relay connection on serial interface
Configure routing protocol
i. Networking diagram
4-26
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-27
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-28
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-29
Installation Manual Chapter 4
Quidway R4001 Router Configuration
Preparation:
The router has been correctly installed according to the hardware
installation instructions for the Quidway R4001 router.
X.25 network works normally.
Basic knowledge:
4-30
Installation Manual Chapter 4
Quidway R4001 Router Configuration
This section introduces an example of connection between the Quidway R4001 router
and a remote router via X.25 network:
Configure global parameters
Configure security rules
Configure Ethernet interface
Configure X.25 interface
i. Networking diagram
4-31
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-32
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-33
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-34
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-35
Installation Manual Chapter 4
Quidway R4001 Router Configuration
vii. Debugging
If the connection fails after the above configuration, execute the following
command for debugging before Ping test.
debug x25 all
4-36
Installation Manual Chapter 4
Quidway R4001 Router Configuration
FR
SVC 100 Router
Quidway R4001Router
8810126
ISDN
ISDN Interface
IP 100.1.1.2
2 Start IPX protocol and configure IPX Node value Quidway(config)#ipx routing 1.1.1
4-37
Installation Manual Chapter 4
Quidway R4001 Router Configuration
Quidway(config-if-Serial0)#frame-relay map ip
6 Add a static address mapping
10.110.0.1 100
Quidway(config-if-Serial0)#shutdown
8 Enable the interface configuration
Quidway(config-if-Serial0)#no shutdown
4-38
Installation Manual Chapter 4
Quidway R4001 Router Configuration
4-39
Installation Manual Chapter 5
Quidway R4001 Router Debugging
Chapter 5 Debugging
Send IP (or IPX) Ping packet from the PC to the Ethernet interface of the router. If no
response returns, or there is serious packet loss in large traffic, then the fault must
have occurred at the Ethernet interface. Check the Ethernet according to the following
steps:
If the Ethernet is connected via HUB or LAN Switch, check the indicator on the HUB or
LAN Switch to make sure if the PC and the router’s Ethernet interface are correctly
connected.
Common faults due to incorrect hardware connection: no response when the ping
packet has been sent from the PC to the router, no change of input and output packet
counting at the interface.
If the hardware is correctly connected, then check the software.
II. Check IP
Check whether the Ethernet IP addresses of the PC and the router are correctly
configured. The network addresses of these two IP addresses must be identical, only
their host addresses may differ. If this requirement is met and there is no response, or
5-1
Installation Manual Chapter 5
Quidway R4001 Router Debugging
there is serious packet loss in large traffic, it can be determined that the router’s
Ethernet interface is not correctly configured.
Check whether the Ethernet IPX network numbers of the PC and the router are
correctly configured. These two network numbers must be the same. If this is correct, it
can be determined that the router’s Ethernet interface configuration is incorrect.
When twisted-pair is used to connect the Ethernet, there are two working modes
according to the 10BASE-T standard: full duplex and half duplex. When a shared HUB
is used, the half duplex mode shall be adopted; when the LAN Switch is used and full
duplex mode has been set on the LAN Switch, the full duplex mode can be used.
Common faults due to incorrect working mode are: serious packet loss in large traffic.
You can use the command show interface ethernet 0 to check the packet
receiving/sending error rate of the Ethernet.
If the faults are not at the Ethernet interface, check the WAN interface:
The Quidway R4001 router is equipped with cables of various interface such as V.24,
V.35, and DTE and DCE configurations. Please specify the cable you want when
purchasing the router.
Check if the router’s WAN interface works in sync/async mode. If it works in
asynchronous mode, check if the baud rate is set correctly. If it works in synchronous
DCE mode, and the clock is generated by the router, then check the clock rate and
clock mode. If it works in synchronous DTE mode, and the clock is generated by the
DSU/CSU equipment (There are 4 clock receiving modes: DTEclk1, DTEclk2,
DTEclk3, and DTEclk4), please refer to the relative manuals for DCE devices and set
the correct clock mode, with DTEclk1 as default value.
5-2
Installation Manual Chapter 5
Quidway R4001 Router Debugging
The WAN interface of Quidway R4001 router supports various protocols such as
HDLC, SLIP, PPP, Frame Relay and X.25. The same protocol must be set for the
routers at both ends of the WAN.
If PPP (Point to Point Protocol) protocol is used with PAP or CHAP password
authentication, please check if the password settings at both sides are correct.
If Modem is used in asynchronous mode, please check if Modem commands are used
on the Quidway R4001 router.
If the above configuration is incorrect, communication with the link layer protocol will
not be achieved, even though the counting of input and output packets on the interface
increases.
If the link layer protocol is correct, while IP and IPX can not work, check the following:
If the link layer protocol is Frame-Relay, then check if the frame-relay mapping at
both ends are set correctly: frame-relay map {ip|ipx} network-address dlci, where
network-address is the IP (or IPX) address of the opposite serial port and the dlci
values at both ends shall be the same.
If the link layer protocol is PPP of asynchronous dial-up mode, check if the dialer
mapping at both ends is set correctly: dialer map {ip|ipx} network-address
dialer-string, where network-address is the IP (or IPX) address of the opposite serial
port, and dialer-string is the telephone number at the opposite end.
If the link layer protocol is X.25, check if the x25 mapping at both ends is set
correctly: x25 map { ip | ipx } network-address x121-address, where
network-address is the IP (or IPX) address of the opposite serial port, and
x121-address values at both ends shall be identical.
Like the requirements on the Ethernet interface, the network parts of the WAN
interface IP addresses for the routers at both ends of the WAN must be identical. If
the IP address is set incorrectly, then the route for IP packets might be abnormal. If
the IPX network numbers at both ends of the WAN are different, then
communication via IPX can not be realized.
Check whether the route has failed. The routing function is the essential function of
a router. The Quidway R4001 router supports both static routing and dynamic
routing such as RIP-1, RIP-2 and OSPF. Route failure refers to the packet transfer
failure due to incorrect route configuration or failure to configure the route. In this
case, all interfaces of the router are correctly connected, and communication with
the host or other routers directly connected can be realized. However, it can not
access the devices in other network segments. The solution is to add routes to the
router for those inaccessible network segments. Adding the default route or
activating the dynamic routing protocol is recommended.
5-3
Installation Manual Chapter 5
Quidway R4001 Router Debugging
The Quidway R4001 router has two types of E1 cables: 75-ohm non-balanced cable
and 120-ohm balanced cable. Please check the physical attributes of the line and
select the correct cable type.
Check the synchronous (RLOS) indicator. If it is on, it means the line is in abnormality.
Check the coding format of the line and determine whether authentication will be
needed, then configure the parameters correctly.
When two Quidway R4001 routers are connected directly, make sure that the
synchronous clock selected is DCE for one end, and LINE for the other end.
The common faults due to incorrect hardware parameters and connections: no UP
reported from the interface, no response from the opposite router when executing ping
command, no changes of the input and output packet counting at the interface (or
many faulty frames are produced although the counting changes).
The cE1/PRI interface of Quidway R4001 router supports various protocols such as
PPP, Frame Relay and X.25. Only when the same protocol is set in the routers at both
ends of the WAN can communication be realized.
If PPP (Point to Point Protocol) protocol is used with PAP or CHAP password
authentication, please check if the passwords at both ends are correctly set.
If X.25 is used, please check if X.25 encapsulation is correctly configured. When two
routers are connected directly, one end shall be DTE, and the other shall be DCE;
when connected directly to a switching system, the router shall be configured as DTE;
when interconnected with a Cisco router, the Cisco router can not use the Cisco
encapsulation format of frame relay.
IF frame relay is used, please check if correct frame relay terminal type is configured.
When two routers are connected directly, one end shall be DTE, and the other shall be
DCE; when connected directly to a switching system, the router shall be configured as
DTE; when interconnected with a Cisco router, the Cisco router can not use the Cisco
encapsulation format of frame relay.
If the above configuration is not correct, the link layer protocols can not communicate,
even if the count of input and output packets on the interface increases.
If the link layer protocol is correct, while IP and IPX can not work, check the following:
If the link layer protocol is Frame-Relay, check the frame-relay mapping at both ends
is correctly set: frame-relay map {ip| ipx} network-address dlci, where
network-address is the IP (or IPX) address of the opposite serial port, and dlci
values at both ends shall be the same.
If the link layer protocol is PPP of asynchronous dial-up mode, check if the dialer
mapping at both ends is set correctly: dialer map { ip | ipx } network-address
dialer-string, where network-address is the IP (or IPX) address of the opposite serial
port, and dialer-string is the telephone number at the opposite end.
If the link layer protocol is X.25, check if the x25 map at both ends is set correctly:
x25 map { ip | ipx } network-address x121-address, where network-address is the
5-4
Installation Manual Chapter 5
Quidway R4001 Router Debugging
IP (or IPX) address of the opposite serial port, and x121-address values at both
ends shall be the same.
Like the requirements on the Ethernet interface, the network parts of the WAN
interfaces IP addresses of the routers at both ends of the WAN must be the same. If
the IP addresses are set incorrectly, then the route of IP packets might be abnormal.
If the IPX network numbers at both ends of the WAN are different, communication
via IPX can not be realized.
Check whether the route has failed. Routing function is the essential function of a
router. Quidway R4001 router supports both static routing and dynamic routing such
as RIP-1, RIP-2, and OSPF. Route failure refers to message transfer failure due to
incorrect route configuration or failure to configure the route. In that case, the
router's interfaces are correctly connected, and communication with the host or other
routers directly connected to the router can be done. However, the router can not
access the devices in other network segments. The solution is to add routes to the
router for those inaccessible network segments. Adding the default route or
activating the dynamic route protocol is recommended.
5-5
Installation Manual Chapter 6
Quidway R4001 Router Maintenance
Chapter 6 Maintenance
Testing DRAM...########
8192k bytes DRAM OK.
2048K bytes flash memory.
Step 2: After the self-test, the user is prompted to press <Ctrl-B> to enter Bootrom
menu. If it is not pressed in three seconds, main software will start running.
Press Ctrl-B to enter Boot Menu
Step 3: If <Ctrl-B> is pressed, a prompt will appear to request for Bootrom password
input.
Please input Bootrom password:
Step 4: By default, the router has no Bootrom password, just press Enter. If the user
has changed the password, input the new password. If the input password fails three
times in authentication, the main software will start running. If the password is correct,
the following will appear:
Boot Menu:
1: Download application program
2: Download Bootrom program
3: Modify Bootrom password
4: Exit the menu
5: Reboot
6-1
Installation Manual Chapter 6
Quidway R4001 Router Maintenance
6-2
Installation Manual Chapter 6
Quidway R4001 Router Maintenance
Caution:
Do not upgrade the router’s software unless necessary, and always do it under the guide of technical
support person. Moreover, make sure that the version of the BootRom software matches that of the main
software.
6-3
Installation Manual Chapter 6
Quidway R4001 Router Maintenance
Step 5: The user is prompted to reboot the router to activate the configuration file.
Write completed, please reboot the router.
Caution:
The off-line editing and downloading of configuration files should be done under the guidance of system
support persons. If wrong configuration files are loaded, erase the configuration file from Flash and
restore the default configuration.
Step 1: After the router has been powered on, the following version information and
self-test information will display on the external terminal connected to Console:
****************************************************
* *
* Quidway Series Router Bootrom; V3.00 *
* *
****************************************************
Step 2: After the self-test, the user is prompted to press Ctrl-B to enter Bootrom menu:
Press Ctrl-B to enter Boot Menu.
Step 3: If Ctrl-B is not pressed in three seconds, the main software will starting running;
if it is pressed, the user will be prompted to enter Bootrom password:
Please input Bootrom password:
Step 4: Key in Bootrom password (default as null at delivery), the Bootrom menu will
display.
6-4
Installation Manual Chapter 6
Quidway R4001 Router Maintenance
Boot Menu:
1: Download application program
2: Download Bootrom program
3: Modify Bootrom password
4: Exit the menu
5: Reboot
Enter your choice (1-5):
Step 6: Select 4, exit the Bootrom menu to run the main software.
Step 7: Under common user mode (Quidway>_), press Enter to enter privileged user
mode (Quidway#_), then run the following:
Method A: Erase the original configuration from Flash, reboot the router. Press enter to
change the privileged user password to null.
Quidway#erase
Quidway#reboot
Method B: Set new privileged user password
Quidway(config)#enable password XXX (XXX is the new password)
Quidway(config)#exit
Quidway#write
Note:
In Step 7, Method A clears all the configuration, including the former privileged user password. Method B
changes the original privileged user password to a new one. In “enable password XXX”, the word
“password” must be input completely.
6-5
Installation Manual Chapter 6
Quidway R4001 Router Maintenance
If the router’s Bootrom password is lost, contact the customer service department of
Huawei Technologies Co. Ltd..
6-6
Installation Manual Appendix A
Quidway R4001 Router Description of Optional Cables
Table A-2 shows the cable connection relationship of Ethernet (AUI) cable.
A-1
Installation Manual Appendix A
Quidway R4001 Router Description of Optional Cables
Enlarged A side
Pos. 25
DB 25 Female
8P8C PLUG
Enlarged B side
A B
Pos.1 Pos.8
DB9 Female
Enlarged C side
Pos.1
Pos.1 C
Pos.9
A-2
Installation Manual Appendix A
Quidway R4001 Router Description of Optional Cables
Enlarged A side
Pos.1
Enlarged B side
Label
B
A
Pos.1 Pos.8
Enlarged C side
Pos.9
DB9 Male
Pos. 25
Pos.1
A-3
Installation Manual Appendix A
Quidway R4001 Router Description of Optional Cables
Label
A
B
P2 P1
Pos.50
Pos.1
A-4
Installation Manual Appendix A
Quidway R4001 Router Description of Optional Cables
Db50 Male
DB25 Femal
Label
A
B
Pos.50
Pos.25
A-5
Installation Manual Appendix A
Quidway R4001 Router Description of Optional Cables
Enlarged B side
Pos.50
Enlarged A side
Label
A B
Pos.1
A-6
Installation Manual Appendix A
Quidway R4001 Router Description of Optional Cables
A-7
Installation Manual Appendix A
Quidway R4001 Router Description of Optional Cables
Enlarged A side
Pin Female Enlarged B side
Pos.50
V.35 Female DB50 Male
Label
B
A
Pos.1
A-8
Installation Manual Appendix A
Quidway R4001 Router Description of Optional Cables
A-9
Installation Manual Appendix A
Quidway R4001 Router Description of Optional Cables
Enlarged A sied
Pos.1
DB15 Male BNC header
A
HUAWEI
Pos.15
A-10
Installation Manual Appendix A
Quidway R4001 Router Description of Optional Cables
Note:
1. Tx = Transmitting; Rx = Receiving
2. Pins not de scribed in the above table are not connected
3. The Rx and Tx marks on the cable with BNC connector are corresponding to the
router, which should be connected respectively to opposite Tx and Rx devices.
A-11
Installation Manual Appendix A
Quidway R4001 Router Description of Optional Cables
Indicating cE1/PRI
cE1/PRI interface Off: cE1/PRI interface is sending no data or is receiving
interface data
data indicator Flash: cE1/PRI interface is sending data
transmission
cEI/PRI interface
Off: normal synchronization at cE1/PRI interface Indicating cE1/PRI
synchronous
Flash: loss of synchronization at cE1/PRI interface interface synchroniza
indicator
A-12
How Are We Doing
Let us share your comments with respect to the contents, formats and wording
of this manual. Your feedback can be of great value in helping us improve our
document. Please use a copy of these two pages for your comments, and fax
to: +86-755-6540035 Documentation Development.
2. Please check the ways you feel we could improve this document:
Improve the overview/introduction Make it more brief/concise
Improve the tables of contents Add more step-by-step procedure
Improve the organization structure Add more troubleshooting info.
Include more figures Make it less technical
Add more examples Add more reference aids
Add more detail Improve the index
Please provide details for the suggested improvement:
Page &
Mistake Suggested Correction
Line No.