POS dial-up terminal and TCP application configuration example (using an E1POS interface and the PRI protocol)

Network requirements

As shown in Figure 22, POS terminals connect to a PBX through common telephone lines, and access the router through dial-up. The PBX connects to the E1POS card on the router through an E1 line. The PBX and the E1POS card use PRI signaling to exchange messages. The router connects to the FEP (Server) through an Ethernet interface.

Configure POS access on the router so the POS terminals can access the FEP.

Figure 21: Network diagram

Configuration procedure

  1. Configure the PRI protocol on E1POS interface E1 7/0.

    <Sysname> system-view
    [Sysname] controller e1 7/0
    [Sysname-E1 7/0] pri-set timeslot-list 1-31
    [Sysname-E1 7/0] quit
    
  2. Configure POS terminal access:

    # Enable the POS access server.

    [Sysname] posa server enable
    

    # Configure the IP address of the Ethernet interface.

    [Sysname] interface ethernet 1/1
    [Sysname-Ethernet1/1] ip address 10.1.1.2 255.255.255.0
    [Sysname-Ethernet1/1] quit
    

    # Configure POS application 1 in TCP mode.

    [Sysname] posa app 1 type tcp
    

    # Configure a POS multi-application entry that maps packets destined for 01f1 to POS application 1.

    [Sysname-posa-app1] map destination 01f1
    

    # Configure the IP address 10.1.1.1 and port number 2000 of the FEP for application 1.

    [Sysname-posa-app1] ip 10.1.1.1 port 2000
    [Sysname-posa-app1] quit
    

    # Bulk-configure the FCM interfaces on FCM 7/0:15 as POS access interfaces to which POS terminals starting from POS terminal 1 are bound.

    [Sysname] interface fcm 7/0:15
    [Sysname-Fcm7/0:15] posa bind terminal first-terminal-id 1
    [Sysname–Fcm7/0:15] quit