01-Chapter 1 Connecting to the UA5000

download 01-Chapter 1 Connecting to the UA5000

of 6

Transcript of 01-Chapter 1 Connecting to the UA5000

  • 8/20/2019 01-Chapter 1 Connecting to the UA5000

    1/13

    Operation Manual – PVM VolumeUA5000 Universal Access Unit Table of Contents

    Huawei Technologies Proprietary

    i

    Table of Contents

    Chapter 1 Connecting to the UA5000.......................................................................................... 1-1

    1.1 Connecting to the UA5000 Through the Local Serial Port ................................................ 1-1

    1.1.1 Connecting the Serial Port Cable............................................................................ 1-1

    1.1.2 Running the HyperTerminal..................................................................................... 1-2

    1.1.3 Configuring a Serial Port ......................................................................................... 1-2

    1.1.4 Setting the Terminal Type........................................................................................ 1-3

    1.1.5 Setting the Line Delay and Character Delay........................................................... 1-4

    1.1.6 Logging in to the UA5000........................................................................................ 1-5

    1.2 Connecting to the UA5000 Through the Remote Serial Port ............................................ 1-5 1.2.1 Setting the Called Modem....................................................................................... 1-6

    1.2.2 Setting the Calling Modem...................................................................................... 1-8

    1.2.3 Setting the Configuration Environment ................................................................... 1-8

    1.2.4 Running the HyperTerminal..................................................................................... 1-8

    1.2.5 Logging in to the UA5000...................................................................................... 1-10

    1.3 Connecting to the UA5000 Through the Telnet Terminal................................................ 1-10

    1.3.1 Setting the Configuration Environment ................................................................. 1-10

    1.3.2 Running the Telnet Application.............................................................................. 1-11

    1.3.3 Logging in to the UA5000...................................................................................... 1-12

  • 8/20/2019 01-Chapter 1 Connecting to the UA5000

    2/13

    Operation Manual – PVM VolumeUA5000 Universal Access Unit Chapter 1 Connecting to the UA5000

    Huawei Technologies Proprietary

    1-1

    Chapter 1 Connecting to the UA5000

    The UA5000 universal access unit supports local maintenance and remote

    maintenance. The local maintenance is achieved through a serial port connection or a

    local Telnet session. The remote maintenance is achieved through a modem dialing

    connection or a remote Telnet session.

    For maintenance, you must connect a maintenance terminal, which is a PC, to the

    UA5000.

    This chapter introduces how to connect a PC as the maintenance terminal to the

    UA5000. The methods include:

    Connecting to the UA5000 Through the Local Serial Port

    Connecting to the UA5000 Through the Remote Serial Port

    Connecting to the UA5000 Through the Telnet Terminal

    1.1 Connecting to the UA5000 Through the Local Serial Port

    You can connect a local PC to the UA5000 through a serial port, and log in to the

    UA5000 using the HyperTerminal of the Windows operating systems.

    Note:

    The following sample procedure is carried out on Windows 2000 operating system.

    1.1.1 Connecting the Serial Port Cable

    Use a standard RS-232 serial port cable to connect a serial port of the PC with theserial port COM on the PVM card of the UA5000.

    See Figure 1-1 .

  • 8/20/2019 01-Chapter 1 Connecting to the UA5000

    3/13

    Operation Manual – PVM VolumeUA5000 Universal Access Unit Chapter 1 Connecting to the UA5000

    Huawei Technologies Proprietary

    1-2

    WAN

    COM

    Serial portPC

    PVM

    UA5000

    RS-232 serialport cable

    LAN

    Figure 1-1 Connecting a local PC to the UA5000 using a serial port cable

    1.1.2 Running the HyperTerminal

    Select the menu Start > Programs > Accessories > Communications > HyperTerminal on the PC to run the HyperTerminal program. After that, select theconnected serial port to set up a communication channel.

    Assume that the serial port in use is COM 1. See Figure 1-2 .

    Figure 1-2 Selecting the serial port for the connection

    1.1.3 Configuring a Serial Port

    Set the serial port properties as follows:

    Bits per second: 9600

    Data bits: 8

    Parity: None

    Stop bits: 1

  • 8/20/2019 01-Chapter 1 Connecting to the UA5000

    4/13

    Operation Manual – PVM VolumeUA5000 Universal Access Unit Chapter 1 Connecting to the UA5000

    Huawei Technologies Proprietary

    1-3

    Flow control: None

    Here the Bits per second , or baud rate must be consistent with that set on theUA5000. By default, it is 9600 bit/s. See Figure 1-3 .

    Figure 1-3 Setting the properties of the serial port

    Note:

    Inconsistent baud rates often causes illegible display of characters on the PC. If this

    happens after you log in to the UA5000, select another baud rate from the following for

    the PC: 9600 bit/s, 19200 bit/s, 38400 bit/s, 57600 bit/s and 115200 bit/s.

    1.1.4 Setting the Terminal Type

    Select the menu File > Properties in the HyperTerminal window to set the terminalemulation type as ANSI or Auto detect .

  • 8/20/2019 01-Chapter 1 Connecting to the UA5000

    5/13

    Operation Manual – PVM VolumeUA5000 Universal Access Unit Chapter 1 Connecting to the UA5000

    Huawei Technologies Proprietary

    1-4

    See Figure 1-4 .

    Figure 1-4 Setting the terminal type

    Note:

    By default, the terminal type of the UA5000 is ANSI.

    To query the terminal type, use the display terminal type command. To change the terminal type, use the terminal type { ansi | vt100 } command.

    1.1.5 Setting the Line Delay and Character Delay

    Click ASCII Setup to set the line delay as 200 ms and the character delay as 20 ms.

    See Figure 1-5 .

  • 8/20/2019 01-Chapter 1 Connecting to the UA5000

    6/13

    Operation Manual – PVM VolumeUA5000 Universal Access Unit Chapter 1 Connecting to the UA5000

    Huawei Technologies Proprietary

    1-5

    Figure 1-5 Setting the line delay and character delay

    Note:

    The line delay controls the time interval of displaying each line, while the characterdelay controls how fast a character in a text is pasted to the HyperTerminal.

    Insufficient line delay or character delay will lead to loss of characters.

    1.1.6 Logging in to the UA5000

    After setting the parameters, press Enter to display the system prompt. At the prompt,enter the user name and password on the HyperTerminal console.

    The default administrator name is root , and the password is admin .

    1.2 Connecting to the UA5000 Through the Remote SerialPort

    For remote maintenance through a serial port, you must connect a modem to the

    UA5000 and another modem to the PC. Through the modem dialup, you can maintain

    the UA5000 from the PC. See Figure 1-6 .

  • 8/20/2019 01-Chapter 1 Connecting to the UA5000

    7/13

    Operation Manual – PVM VolumeUA5000 Universal Access Unit Chapter 1 Connecting to the UA5000

    Huawei Technologies Proprietary

    1-6

    Called Modem

    COM

    LINESerial port

    Calling Modem

    PCSerial port

    LINE

    PSTN

    WANCOM

    UA5000

    PVM

    LAN

    Figure 1-6 Connecting a remote PC with the UA5000 using serial port cables

    The description is as follows:

    The Modem at the UA5000 side is the called one.

    The Modem at the PC side is the calling one.

    When you connect the Modems, make sure that both the calling and the called

    ones are standard Modems and support the AT command set.

    Note:

    Although the calling Modem can be either external or built-in, we suggest an

    external one.

    Modems of the same brand are recommended on both sides to guarantee better

    performance.

    1.2.1 Setting the Called Modem

    Note:

    The following configuration is just a sample, since the AT commands may vary with

    different modems you use. Refer to the user manual of the modem for details in case of

    inconsistency.

  • 8/20/2019 01-Chapter 1 Connecting to the UA5000

    8/13

    Operation Manual – PVM VolumeUA5000 Universal Access Unit Chapter 1 Connecting to the UA5000

    Huawei Technologies Proprietary

    1-7

    The UA5000 communicates with the called Modem only through the SD, RD and SG

    leads of the serial port cable. Therefore, you must disable the flow control and ignore

    the handshake signals on the Modem.

    To configure a Modem, you need connect it to an intelligent terminal such as a PC. Thefollowing is a sample configuration procedure on a PC running the Windows 2000

    operating system.

    1) Connect the Modem with serial port 1 (COM1) of the PC using a serial port cable.

    2) Connect the power cord and then power on the Modem.

    3) (Optional) Install the Modem driver in the operating system.

    4) Run the HyperTerminal program and select the port COM1 for the connection.

    5) Set the port properties as: 9600 for baud rate, 8 for data bits, none for parity, 1 for

    stop bits and none for flow control.

    Note:

    If there is no display on the terminal after you set up the connection, check whether the

    no echo display function of the Modem is enabled at the previous setting. Enter the

    command AT&F to restore the default settings of the Modem.

    6) Check whether the Modem works normally.

    Run the command AT&F in the HyperTerminal window to restore the default settings ofthe Modem. See whether the state code “OK” is displayed on the screen. If yes, the

    Modem is working normally.

    7) Enter the following commands in the HyperTerminal window. ATS0=1 //Set automatic answering (ringing once).

    AT&D //Ignore DTR signal.

    AT&K0 //Disable flow control.

    AT&R1 //Ignore RTS signal.

    AT&S0 //Force DSR at a higher level.

    ATEQ1&W //Disable the modem from returning command response and execution

    result, and save the configuration.

  • 8/20/2019 01-Chapter 1 Connecting to the UA5000

    9/13

    Operation Manual – PVM VolumeUA5000 Universal Access Unit Chapter 1 Connecting to the UA5000

    Huawei Technologies Proprietary

    1-8

    Note:

    After you run the last command, no echo characters or command execution results

    are displayed on the screen for any AT command. Most of the Modems can work

    normally without any settings after power on.

    To control the line rate between the Modems, you can run the AT$MB=9600 command to limit the highest rate at 9600 bit/s before you run the ATEQ1&Wcommand.

    1.2.2 Setting the Calling Modem

    Most of the Modems work normally without any settings after power on.

    If the PC connects to the calling Modem through a non-standard serial port, disable the

    flow control and ignore the handshake signals on the Modem. To do this, refer to

    "1.2.1 Setting the Called Modem ".

    1.2.3 Setting the Configuration Environment

    Set the configuration environment as shown in Figure 1-6 .

    I. Connect the called modem

    1) Connect the telephone line to the LINE port on the Modem.

    2) Connect the serial port of the Modem with the COM port on the PVM card using

    the serial port cable delivered with the UA5000.

    3) Power on the Modem.

    II. Connect the calling modem

    1) Connect the telephone line to the LINE port on the Modem.

    2) Connect the serial port of the Modem to a serial port on the PC using the serial port

    cable for the Modem.

    3) Power on the Modem.

    In the case of a built-in Modem, connect the telephone line to the LINE port on the

    Modem.

    1.2.4 Running the HyperTerminal

    The following introduces how to run the HyperTerminal program with an external

    Modem or a built-in Modem.

  • 8/20/2019 01-Chapter 1 Connecting to the UA5000

    10/13

    Operation Manual – PVM VolumeUA5000 Universal Access Unit Chapter 1 Connecting to the UA5000

    Huawei Technologies Proprietary

    1-9

    I. For an external Modem

    The procedure is as follows:

    1) Run the HyperTerminal.2) Select the serial port on your maintenance terminal.

    3) Set the serial port properties as follows: 9600 for baud rate, 8 for data bits, 1 for

    stop bits, none for parity and none for flow control.

    Refer to “ 1.1 Connecting to the UA5000 Through the Local Serial Port ” for details.

    Note:

    Do not select modem in the Connect using drop-down list if you use an external

    modem. Select Direct to Com x to set up the connection.

    4) In the HyperTerminal window, use an AT command to dial a number such as

    ATDT XXXXXXXX and then press the Enter key. “XXXXXXXX” is the telephonenumber carried on the telephone line that connects to the called modem.

    Refer to the AT command set for detailed dialing commands. For example, ATDT0 W

    ATDT0 W 020XXXXXXXX means that the HyperTerminal shall dial external line 0 and

    wait for the exchange to send the external line dialing tone, and then dial the number

    020XXXXXXXX.

    II. For a built-in modem

    The procedure is as follows:

    1) Run the HyperTerminal.

    2) Set the called number.

    3) Select the modem in the Connect using drop-down list.4) Click Configure on the properties setting page to set the modem properties.5) Select Bring up terminal window after dialing in the Options tab of the

    properties setting page.

    6) Click OK to confirm the setting.7) Click Dial to proceed with the dialing.

    You need not use any ATDT command for the dialing.

  • 8/20/2019 01-Chapter 1 Connecting to the UA5000

    11/13

    Operation Manual – PVM VolumeUA5000 Universal Access Unit Chapter 1 Connecting to the UA5000

    Huawei Technologies Proprietary

    1-10

    1.2.5 Logging in to the UA5000

    Caution:

    The call will be disconnected if you press any key when the connection between

    Modems is being set up.

    After the remote maintenance, release the Modem connection before closing the

    HyperTerminal window. Some brands of Modems may remain online all the time as

    the called Modem if the HyperTerminal connection is not shut down.

    Once the connection is set up, the maintenance terminal can remotely log in to the

    maintenance serial port of the PVM card to maintain the system.

    1.3 Connecting to the UA5000 Through the Telnet Terminal

    1.3.1 Setting the Configuration Environment

    You can configure the IP attributes through the maintenance serial port. The attributesinclude IP address, subnet mask, gateway and so on.

    Note:

    Ensure that the serial port maintenance environment is already set before you set the

    Telnet environment, and you can configure the Telnet data through the serial port.

    After that, log in to the UA5000 by the Telnet terminal through the LAN or WAN.

    I. Networking through the LAN

    Connect the Ethernet port of the PC to the WAN port of the UA5000 through a hub, as

    shown in Figure 1-7 .

  • 8/20/2019 01-Chapter 1 Connecting to the UA5000

    12/13

    Operation Manual – PVM VolumeUA5000 Universal Access Unit Chapter 1 Connecting to the UA5000

    Huawei Technologies Proprietary

    1-11

    WAN

    COM

    PVM

    LAN

    UA5000

    LAN

    Figure 1-7 Connecting a remote PC with the UA5000 through the LAN

    The UA5000 is connected with the hub by a straight through cable. The IP address ofthe PC shall be in the same subnet with the IP address of the WAN port of the UA5000.

    Note:

    To connect a local PC with the UA5000, you can use a crossover cable to directly

    connect the PC with the WAN port on the PVM card.

    II. Networking through the WAN

    Connect the PC with the UA5000 across the WAN, as shown in Figure 1-8 .

    LAN

    PCPC

    WAN WANCOM

    UA5000

    PVM

    LANWAN

    Router

    Figure 1-8 Connecting a remote PC with the UA5000 through the WAN

    1.3.2 Running the Telnet Application

    1) Select the menu Start > Run from the Windows start menu.2) Run the command telnet and enter the IP address of the NMS to set up the telnet

    connection. See Figure 1-9 .

  • 8/20/2019 01-Chapter 1 Connecting to the UA5000

    13/13

    Operation Manual – PVM VolumeUA5000 Universal Access Unit Chapter 1 Connecting to the UA5000

    Huawei Technologies Proprietary

    1-12

    Figure 1-9 Telnet

    1.3.3 Logging in to the UA5000

    1) On the interface of the Telnet application, click OK .2) Input the user name and password to log in to the UA5000. The default

    administrator name is root and the password is admin . See Figure 1-10 .

    Figure 1-10 Setting up the Telnet session