POS dial-up terminal and TCP application configuration example (using an FCM interface)
Network requirements
As shown in Figure 20, configure POS access on the router so the dialup POS terminal can access the FEP (Server).
The POS access service has been enabled on the FEP. The listening port number is 2000.
Figure 19: Network diagram
Configuration procedure
Enable POS access service:
# Enable the POS access server.
<Sysname> system-view [Sysname] posa server enable
Configure the POS application:
# Configure interface Ethernet 1/0.
[Sysname] interface ethernet 1/0 [Sysname-Ethernet1/0] ip address 10.1.1.2 255.255.255.0 [Sysname-Ethernet1/0] quit
# Create POS application 1 in TCP mode and enter its view.
[Sysname] posa app 1 type tcp
# Configure a default POS application entry that maps all packets to POS application 1. You can configure more POS application entries based on the originator and/or destination addresses in the TPDU header as needed.
[Sysname-posa-app1] map default
# Specify the IP address and port number as 10.1.1.1 and 2000.
[Sysname-posa-app1] ip 10.1.1.1 port 2000 [Sysname-posa-app1] quit
Bind the interface to the POS terminal:
# Bind FCM 1/0 to POS terminal 1.
[Sysname] interface fcm 1/0 [Sysname–FCM1/0] posa bind terminal 1 [Sysname–FCM1/0] quit