22
# Check that the remote terminal can receive the instruction, and check that the central terminal can
receive the requested data from the remote terminal.
Example: Configuring asynchronous RTC VPNs
Network configuration
As shown in
, central terminal CE A in the monitoring center and remote terminal CE B are in
MPLS L3VPN VPNA.
Configure the RTC server and the RTC client to enable the CE A to implementing real-time
monitoring on CE B:
•
Set the listening number of the RTC server to 9000.
•
Set the terminal number to 2 on both PE A and PE B.
Figure 6 Network diagram
Procedure
1.
Configure the RTC server:
# Configure MPLS L3VPN. For more information, see
MPLS Configuration Guide
.
# Bind Loopback 1 to VPNA.
<PEB> system-view
[PEB] interface loopback 1
[PEB-LoopBack1] ip binding vpn-instance vpna
[PEB-LoopBack1] ip address 169.254.3.1 32
[PEB-LoopBack1] quit
# Enable terminal access.
[PEB] rta server enable
# Configure the listening port number of the RTC server.
[PEB] rta rtc-server listen-port 9000
# Configure the terminal template.
[PEB] rta template rtcs
# Configure VTY 0 on the RTC server.
[PEB-rta-template-rtcs] vty 0 rtc-server remote 169.254.2.1 2
# Bind the VPN instance to the template.
[PEB-rta-template-rtcs] bind vpn-instance vpna
[PEB-rta-template-rtcs] quit
# Configure interface async 2/2/0.
RTC Client
PE A
MPLS
RTC Server
PE B
Central terminal
CE A
Remote terminal
CE B
Async2/2/0
Loop1
169.254.2.1/32
Loop1
169.254.3.1/32
Async2/2/0