Huawei V200R001 User Manual

Page 1
HUAWEI
®
6. Security Configuration
7. VPN Configuration
8. Reliability Configuration
9. QoS Configuration
10. DDR Configuration
11. VoIP Configuration
V200R001
Page 2
VRP User Manual – Configuration Guide
Volume Manual Version Product Version BOM
3 T2-080168-20011213-C-1.5 V200R001 31010868
Copyright © 2001 by Huawei Technologies Co., Ltd.
All Rights Reserved
No part of this docum ent may be reprod uced or transm itted in any form or by any means without prior written consent of Huawei Technologies Co., Ltd.
Trademarks
®
, HUAWEI®, C&C08, EAST8000, HONET , ViewPoint, INtess, ETS, DM C, SB S ,
TELLIN, InfoLink, Netkey, Quidway, SYNLOCK, Radium, TELESIGHT, Quidview, NETENGINE, Musa, OptiX, Airbridge, Tellwin, Inmedia, VRP, DOPRA, iTELLIN are trademarks of Huawei Technologies Co., Ltd.
, M900/M1800,
Notice
The information in this document is subject to change without notice. Although every effort has been m ade to make this docum ent as accurate, complete , and clear as possible, Hu awei Technologies assum es no responsibilit y for any errors that may appear in this document.
Huawei Technologies Co., Ltd.
Address: Huawei Customer Service Building, Kefa Road, Science-based
Industrial Park, Shenzhen, P. R. China Zip code: 518057 Tel: +86-755-6540036 Fax: +86-755-6540035 Website: http://www.huawei.com E-mail: support@huawei.com
Page 3

About This Manual

Contents
To help readers to better understand, use and maintain Quidway series routers, we publish the manual suit of Quidway series routers. This manual suit includes:
VRP User Manual  VRP User Manual VRP User Manual VRP User Manual VRP User Manual VRP User Manual Quidway R1602 Router Installation Manual Quidway R1603/1604 Routers Installation Manual Quidway R2501 Router Installation Manual Quidway R2501E Router Installation Manual Quidway R2509/2511 Routers Installation Manual Quidway R2509E/2511E Routers Installation Manual Quidway R4001 Router Installation Manual Quidway R4001E Router Installation Manual Quidway R26/36 Modular Router Insta ll ation Man ual
Among the manual suit, the first two manuals are applic able to all routers, and the other installation manuals are separately used for their own types of routers.
In VRP User Manual follows:
Configuration Guide (V1.5) -Volume 3, the modules are arranged as
Configuration Guide (V1.5) -Volume 1
Configuration Guide (V1.5) -Volume 2 Configuration Guide (V1.5) -Volume 3 Command Reference (V1.5) -Volume 1 Command Reference (V1.5) -Volume 2 Command Reference (V1.5) -Volume 3
Module 6 Security Configuration (06SC)
This module mainly introduces the principle and basic specific configuration of security features provided b y VRP1.5, including AAA configuration, R adius protocol conf iguration, terminal access security configuration, firewall and packet filtering configuration, IPSec protocol configuration and IKE protocol configuration.
Module 7 VPN Configuration (07VPN)
This module mainly introduces the principle and specific configuration of VPN solutions provided by VRP1.5, including configuration of L2TP protocol and GRE protocol.
Module 8 Reliability Configuration (08LC)
This module mainly introduces the principle and specific configuration of backup center and HSRP protocol.
Module 9 QoS Configuration (09QC)
This module mainly introduces the principle and specific configuration of QoS service features supported by VRP1.5, includin g configuration of conges tio n management, prior ity­queue and custom-queue.
Page 4
Module 10 DDR Configuration (10DC)
This module mainly introduces the principle and specific configuration of dial solutions provided by VRP1.5, including Legac y DDR configuration, Dialer Profile configuration and modem management configuration.
Module 11 VoIP Configuration (11VC)
This module mainl y introduces the principle a nd specific configurat ion of IP voice servic e features supported b y VR P1.5, includ ing c onfigur ation of VoIP, IP Fax, E1 voice , GK c lient and IPHC.
Note:
For questions regarding the product specifications, please confirm with the concerned personnel in Huawei's Enterprise Network Section as the software specifications are varied with the product of different type.
Target Readers
The manual is intended for the following readers:
Network engineers Technical assistance engineers  Network administrators
Conventions Used in the Document
Keyboard operation
Format Description
<Key >
<Key 1 + Key 2> Press the keys concurrently; e.g. <Ctrl+Alt+A> means the
<Key 1, Key 2>
[Menu Option]
Press the key with key name expressed with a pointed bracket, e.g.
three keys should be pressed concurrently. Press the keys in turn, e.g.
should be pressed in turn. The item with a square bracket indicates the menu option,
[System]
e.g. pointed bracket indicates the functional button option, e.g.
<OK> button on some interface.
<Enter>, <Tab>, <Backspace>, or <A >.
<Alt, A>
option on the main menu. The item with a
means the two keys
[Menu 1/Menu 2/Menu 3] Multi-level menu options, e.g. [System/Option/Color setup]
Mouse operation
on the main menu indicates [Color Setup] on the menu option of [Option], which is on the menu option of [System].
Page 5
Symbol
Action Description
Click Press the left button or right button quickly (left button by
default). Double Click Press the left button twice continuously and quic kly . Drag Press and hold the left button a nd drag it t o a cert ain positi on.
Some distinct s ymbols are em ployed in the manual to indicate the special notic e that should be taken for the operation. The symbols are:
Caution, Notice, Warning, Danger: Notify the special attentio n that should be
given to the operation.
Note, Prompt, Tip, Thought: Give further necessary supp lement or explanation
for the operation description.
Page 6
HUAWEI
®

10 – DDR Configuration (DC)

Page 7
User Manual - Configuration Guide (Volume 3) Versatile Routing Platform
Configuration of Modem Management
Chapter 2

Chapter 2 Configuration of Modem Management

2.1 Modem Management Functions Provided by VRP1.4

Modem is a network equipment in extensive use. Satisfactory management and control of modem are impor tant functions of router. However, as there are numerous m odem manufacturers and divers ified m odels , ther e m ay exist d iffer ences in term s of spec ific implementation and com mand details, altho ugh the standard AT command set of the industry is prevailing.
To enhance router’ flexibility as muc h as possible, Quidway router s eries provide the following Modem management functions:
1) Provide a set of script language for modem management, referred to as Modem script below, in order to better the control of the Modem connected with the router. Modem script may be executed in the following two ways:
z Execute modem s cript directly through chat-s cript command, for initializat ion of
modem or other configurations.
Trigger the execution of m odem script through specific events (such as router
z
startup, Modem call completed and start-chat command).
2) In the meantime, the cooperation of the script and the relevant commands can enhance router’s remote configuration function. When the asynchronous serial port works in Interactive mode, the user may establish its connection with this asynchronous serial port in dummy terminal mode or remotely through modem, and manage the router configuration.
3) The interoperability with other equipment providers (such as Cisco), is mainly shown in the fact that the asynchronous serial ports of both parties work in Interactive mode, and the two equipment are interconnected through modem.

2.2 Modem Script

2.2.1 Function
Quidway router series provide Modem script, mainly functions as follows: z Modem script can be used to flexibly control modems of different models, for
example, different initialization strings used can help modems of different manufacturers and models to work in harmony with the router.
z Modem script can be used for interactive login of remote systems, and the
interactive consulti ng of scripts can be used to switch into different connection status. When connection is established through modem between the asynchronous serial port of the modems of both parties, which protocol to encapsulate on the physical link and various working parameter s of the protocol can be specified through consulting.
2.2.2 Syntax
Common modem script format is as follows:
receive-string1 send-string1 receive-string2 send-string2
2-1
Page 8
User Manual - Configuration Guide (Volume 3) Versatile Routing Platform
Here:
send-string stands for sending character string
z
z receive-string stands for receiving character string
send-string and
z
receive-string
with sending character string. For example, send-string1 receive-string1 ......
means that the executi on f lo w is : sen d c har act er s tring send-string1 to modem in the hope of receiving character string receive-string1. If before timeout, successful matching of character s tring and receive-string1 is received, continue to exec ute the following script, otherwise terminate its execution.
z If the last character string is a send-str ing, it m eans that sc ript execut ion m ay be
ended after sending this string, instead of waiting for receiving string.
z If the s cript begins with waiting for send ing character st ring, instead of receiving
character string, then the first s end-string c an be set as "", while t he meaning of such mark is explained below.
For the rece ived string, in addition to its ending with \c, the end of the charac ter
z
string will be automatically attached with a return mark when it is sent.
The received strings are matched with the method irrelevant with positions, i.e., as
z
long as the content to receive contains the string expected to receive, the matching is successful.
z In the matching of received strings, there may be a number of strings expected to
receive which are connected with “-“. So long as it matches one of them, the matching is successful.
z The timeout for waiting t o receive character string is 5 s econds by default, the
TIMEOUT
seconds may be inserted i nto the sc ript from tim e to time to adj ust the timeout of waiting to receive character string, and such setting will remain valid in the same script before the next TIMEOUT setting.
z All the character strings and key words in the script are case sensitive.
The character strings or k ey words are separated with spaces, the space in a
z
string itself should be marked with double quotation marks " ", and if it is empty in the quotation marks (i.e.,""), the character string may two meanings. That is, if "" is at the beginning of the script, it means to directly wait for receiving character string, instead of sending any character string, while if it is in other locations, the content of the string is regarded as "".
z
ABORT
receive-string may be inserted into the script from time to time to change script execution flow, indicating if the recei ved string full m atches the script execution will be terminated. In the script, appear several times, which will function jointly, so long as it matches one of them, the script execution will be terminated, and wherever ABORT receive-string appears, it plays its role in the entire script execution process.
The escape characters may be inserted into the script, to better the control of
z
script and its flexibilit y, meanwhile all the escape character s are the separating characters of the character strings at the same time.
Chapter 2
Configuration of Modem Management
usually appear i n pairs, and the sc ript must begin
receive-string
ABORT
receive-string may
,
Table DC-2-1 List of key script words
Key words Description
ABORT is followed by a character string, used to match the character strings sent
ABORT receive-string
TIMEOUT seconds
by Modem or the remote DTE equipment. The method is complete matching, there may be a number of ABORTs specified in a script, and each is valid in the course of script execution. TIMEOUT is followed by a number, used to set the waiting timeout of receiving character string, if no character string expected is received during the waiting time, the script execution fails. This setting remains valid after it is set, until the next TIMEOUT setting.
Here the unit is second, and the value range is 0-180, default value is 180.
2-2
Page 9
User Manual - Configuration Guide (Volume 3) Versatile Routing Platform
Table DC-2-2 List of script escape characters
Escape characters Description
\c \d Pause of 2 seconds
\n Send line change character \r Send return character \s Send space character \t Send tabulate character \\ Send \\ character
\T
No additional return character is sent when sending character string, the location is at the end of send-string as other positions are invalid.
As an alternative telephone number. When DDR calls the script to dial, the place with \T will be replaced with telephone number, so that the same dial script can be used for different dialing.

2.3 Configuring Modem Management

2.3.1 Modem Management Configuration Task List
Chapter 2
Configuration of Modem Management
The Modem management configuration task list is as follows:
Configure modem call-in and call-out authorities
z
z Configure modem script
Manually execute modem script
z
z Specify the event to trigger modem sc ript z Configure the working mode of asynchronous interface related to modem
Configure modem answer mode
z
2.3.2 Configuring Modem Call-In and Call-Out Authorities
Perform the following task in asynchronous serial port mode.
Table DC-2-3 Configure modem call-in and call-out authorities
Operation Command
Only modem call-in allowed modem in Only modem call-out allowed modem out Modem call-in and call-out allowed Modem Modem call-in and call-out disallowed no modem
Modem call-in and call-out are allowed by default.
2.3.3 Configuring Modem Script
Perform the following task in global mode.
Table DC-2-4 Configure modem script
Operation Command
Define modem script chat-script script-name script Delete modem script no chat-script script-name
2-3
Page 10
User Manual - Configuration Guide (Volume 3) Versatile Routing Platform
Configuration of Modem Management
For specific format of script, please refer to Modem script syntax.
2.3.4 Executing Modem Script Manually
The start-chat command can be used, when necessary, to execute the specified Modem script, in order to manage the Modem externally connected with the interface.
Perform the following task in asynchronous serial port mode.
Table DC-2-5 Manually execute modem script
Operation Command
Manually execute Modem script start-chat script-name
2.3.5 Specifying the Event to Trigger Modem Script
Relate modem script to events, that is, the router will automatically execute corresponding script when a specific event occurs. In VRP1.4, the script events supported include:
z W hen the call-out connection of the line is estab lished successf ully: execute the
specified script when the modem call-out connection is established successfully.
z When the call-in conn ection of the line is es tablished successfully: execut e the
specified script when the modem call-in connection is established successfully.
z DDR dialing: start the dial script during DDR dialing.
Line reset: execute the specified script when the line is disconnected.
z
z System power on and reboot: execute the specified script for corresponding
asynchronous serial port during system power on and initialization.
The
script
events.
command may be used to spec ify correspond ing scripts for all the above
Chapter 2
Perform the following task in asynchronous serial port mode.
Table DC-2-6 Specify events triggering modem script
Operation Command
Specify the modem script to execute when call-out connection of the line is established successfully Specify the modem script to execute when call-in connection of the line is established successfully Specify the modem script to execute during DDR dialing. Script dialer script-name Specify the modem script to execute during line reset Script reset script-name Specify the modem script to execute during system power on and reboot Specify the default modem initialization string Script init-string init-string
2.3.6 Configuring Modem Answer Mode
Perform the following task in asynchronous serial port mode.
Script activation script-name Script connection script-name
Script startup script-name
2-4
Page 11
User Manual - Configuration Guide (Volume 3) Versatile Routing Platform
Configuration of Modem Management
Table DC-2-7 Configure modem answer mode
Operation Command
MODEM is in automatic answer mode modem-autoanswer MODEM is I nnon-automatic answer mode no modem-autoanswer
By default, modem is in non-automatic answer mode. The configuration mainly depends on whether the status of the ex terna l modem of the
asynchronous interface is automatic answer mode (i.e., if Modem’s AA indicator is on).If the modem is in autom atic answer mode, the user has t o be execute
autoanswer
the user has to be execute
before using dialing functi on; if m odem is not in autom atic ans wer mode,
no modem-autoanswer
.
If the configuration is inconsistent with the modem status, some incoming Modem calls may not be received normally.

2.4 Typical Configuration of Modem Management

2.4.1 Managing Modem with Modem Script
Chapter 2
modem-
Modem
PSTN
PC
Figure DC-2-1 Networking diagram of router’s management configuration for modem
Quidway router
Example 1:
Modem automatically adapts to baud rate For the asynchronous interf ace connected with modem , the baud rate of m odem can
be configured with standar d AT command, in AT command set, set “AT” to modem, if “OK” is received, th e modem can automatically match th e corresponding baud rate, and the configuration is written into and saved in modem, the corresponding AT command is “AT&W”, therefore the corresponding configuration procedure is as follows:
1) Configure modem script Quidway(config)# chat-script baud "" AT OK AT&W OK
2) Execute the corresponding script under interface configuration mode, assuming that modem is connected to interface Serial0.
Quidway(config)# interface serial 0 Quidway(config-if-Serial0)# start-chat baud Example 2: Restore the ex-factory setting of modem The modem comm and to restore ex-factory configuration nis “AT&F”, similar to the
configuration procedure of setting baud rate: Quidway(config)# chat-script factory "" AT OK AT&F OK Quidway(config)# interface serial 0 Quidway(config-if-Serial0)# start-chat factory
2-5
Page 12
User Manual - Configuration Guide (Volume 3) Versatile Routing Platform
Example 3: Configure modem initialization parameter Correctly initialize modem configuration is an important step to connect modem
correctly. The following is a brief introduction to the common AT initialization commands and work to do for initialization.
z During consulting between modems, modem rates must remain unchanged,
otherwise new rate matching should be performed with AT command.
Modem locks EIA/TIA-232 seri al port rate in dif ferent ways. The modem manual
z
may be consulted to learn how modem locks rate (optional items include &b, \j, &q, \n or using s register).
z Modem must use data carrier detection (DCD) to indicate the establishment of its
remote connection, s uch configuration of most modems is perf ormed with &c1 command. Refer to modem manuals for details.
Modem must allow to hook on its active connection through Data Terminal Ready
z
(DTR) signal, such conf ig ur at ion f or most modems is perform ed wit h & d2 or &d 3. Refer to modem manuals for details.
z If the modem is required of call-in function, it must be configured with incoming call
off-hook ringing number, our requirement is not to adopt the automatic answer ring mode, most modems are configured as S0=0. Refer to modem manuals for details.
In consideration of the above conditions, our typical initialization string is as follows: AT&b1&c1&d2&s0=0
Chapter 2
Configuration of Modem Management
Explanation for functionality of the initialization string:
z Lock serial port rate z Enable DCD detection z Enable DTR hook-on function
Configure as non-automatic answer
z
The procedure to configure is as follows: Quidway(config)# chat-script init "" AT&b1&c1&d2&s0=0 OK Quidway(config)# interface serial 0 Quidway(config-if-Serial0)# start-chat init
2.4.2 Remote Configuration Using Modem and Through Asynchronous Interface
I. Networking requirements
AS introduced above, m odem can be used for rem ote configuration through Console interface, Quidwa y router series also support the rem ote configuration using modem through asynchronous interface.
2-6
Page 13
User Manual - Configuration Guide (Volume 3) Versatile Routing Platform
II. Networking diagram
Connection available from all asynchronous interface
ModemQuidway Router
Chapter 2
Configuration of Modem Management
Modem
PC
PSTN
Figure DC-2-2 Networking diagram of remote configuration using modem and through asynchronous interface
III. Configuration procedure
Quidway(config)# interface serial 0 Quidway(config-if-Serial0)# physical asynchronous Quidway(config-if-Serial0)# modem inout Quidway(config-if-Serial0)# async mode interactive
2.4.3 Router Initialization with Initialization Script
I. Configuration r equirements
Enable the router to initialize the modem connected with asynchronous interface during power on or restart.
II. Configuration procedure
Quidway(config)# chat-script init "" AT OK AT&B1&C1&D2&S0=1 OK AT& W OK Quidway(config)# interface serial 0 Quidway(config-if-Serial0)# physical asynchronous Quidway(config-if-Serial0)# modem Quidway(config-if-Serial0)# script startup init
2.4.4 Direct Dial with Script
Configuration procedure: Quidway(config)# chat-script dial "" AT OK ATDT8810058 CONNECT Quidway(config)# interface serial 0 Quidway(config-if-Serial0)# physical asynchronous
2-7
Page 14
User Manual - Configuration Guide (Volume 3) Versatile Routing Platform
Configuration of Modem Management
Quidway(config-if-Serial0)# modem Quidway(config-if-Serial0)# start-chat dial
2.4.5 Interactively Connect Cisco Router Through Modem
I. Networking requirements
The Quidway router should be interconnected with Cisco router using Modem through asynchronous interfac e, and the as ynchronous interfac es of both parties s hould work in interaction mode, when the physical link is established, Quidway Cisco router to conduct PPP consulting.
II. Networking diagram
Cisco Modem
Chapter 2
router requires
PC
Modem
Quidway Route r
PSTN
Figure DC-2-3 Networking diagram of interactive connection with cisco router through modem
III. Configuration procedure
Quidway(config)# chat-script cisco Router>-\r-Router> "PPP 1.1.1.1" Quidway(config)# interface serial 0 Quidway(config-if-Serial0)# physical asynchronous Quidway(config-if-Serial0)# modem Quidway(config-if-Serial0)# async mode interactive Quidway(config-if-Serial0)# script activation cisco
2-8
Loading...