Verifying the configuration – H3C Technologies H3C MSR 5600 User Manual
Page 26
19
[RouterA-posa-app1] hello enable
[RouterA-posa-app1] timer hello 10
# Specify application template 2 as the backup application template.
[RouterA-posa-app1] backup app 2
# Set the quiet timer for POS application template 1 to 10 minutes.
[RouterA-posa-app1] timer quiet 10
[RouterA-posa-app1] quit
3.
Configure POS application template 2:
# Configure application template 2 in TCP mode.
[RouterA] posa app 2 type tcp
# Specify FEP-B with IP address 9.9.9.2 and port number 2000 for POS application 2.
[RouterA-posa-app2] ip 9.9.9.2 port 2000
# Enable the handshaking service for application template 2. Configure the handshaking interval
as 10 minutes.
[RouterA-posa-app2] hello enable
[Sysname-posa-app2] timer hello 10
# Specify application template 1 as the backup application template.
[RouterA-posa-app2] backup app 1
# Set the quiet timer for POS application template 2 to 10 minutes.
[RouterA-posa-app2] timer quiet 10
[RouterA-posa-app2] quit
4.
Configure the POS terminal templates:
The POS terminals configuration varies with access modes. See the previous configuration
examples.
5.
Configure POS application mapping entries:
# Map packets sourced from POS 1 and POS 2 to POS application template 1.
[RouterA] posa map source 1111 app 1
[RouterA] posa map source 2222 app 1
# Map packets sourced from POS 3 and POS 4 to POS application template 2.
[RouterA] posa map source 3333 app 2
[RouterA] posa map source 4444 app 2
Verifying the configuration
Follow these steps to verify the backup FEP function:
1.
Send a POS packet from the POS terminal when FEP-A is reachable.
Router A forwards the packet to FEP-A. FEP-A receives the packet and responds with a reply packet.
The POS terminal device receives the reply packet successfully.
2.
Disconnect FEP-A from the network, and then send a POS packet from the POS terminal.
Router A forwards the packet to FEP-B. FEP-B receives the packet and responds with a reply packet.
The POS terminal device receives the reply packet successfully.