The X.25 Transport Protocol (XTP) transports X.25 traffic over TCP/IP. XTP allows existing X.25 devices to communicate over a TCP/IP backbone and migrate from an X.25 network to a network of your choice.
This document provides an overview of XTP. It includes a diagram of how your network might look before using XTP and how the same network would look after using XTP. It also shows how to configure XTP and describes configuration and monitoring commands.
This document includes the following sections:
XTP Overview
Configuration Information
Displaying the XTP Prompts
Configuration Procedures
XTP Commands
XTP Overview
XTP is designed to work with X.25 devices that are located at multiple remote sites. In such environments, XTP can eliminate the use of X.25 packet switched networks for communicating with servers at one or more centralized locations.
To enable this, you use routers at the server and remote locations to encapsulate the data and deliver the X.25 packets between the clients and server via TCP/IP.
Figure 28 shows a typical network configuration before and after using XTP. In a typical configuration, the X.25 clients might be ATM banking machines.
Figure 28 XTP Before and After
Configuration Information
X.25 recognizes an incoming call for XTP based on the node addresses configured for XTP. Therefore, in order to transport X.25 traffic between the X.25 nodes, you must configure X.25 to map to the Data Terminal Equipment (DTE) address and IP addresses of the routers to which the nodes are connected.
For example, in Figure 28, you must configure X.25 clients on the
Remote routers routers that connect the X.25 clients to the TCP/IP network that is used to access the X.25 server.
Concentrator router the router that connects the X.25 server to the TCP/IP network that is used to access the remote router.
XTP config> prompt and then restart the router.
For information on configuration and monitoring commands,
see XTP Commands.
Local DTEs
Local DTEs are X.25 nodes connected to X.25 interfaces on the router. Use the X.121 address from your X.25 service provider to configure local DTEs.
Peer Routers
Peer routers are the routers you are communicating with
over TCP/IP. Therefore, the peer router can differ depending on the point of view.
For example, in Figure 28.
To the Concentrator router the two Remote routers are the peer routers.
To the two Remote routers the Concentrator router is the peer router.
Remote DTEs
Remote DTEs are remote X.25 nodes to which the local X.25 nodes open connections and exchange data. Use the X.121 address from your X.25 service provider to configure remote DTEs.
You must configure a unique internal IP address for each peer router. For example, in Figure 28, the Concentrator router must know the unique IP address of each Remote router and each Remote router must know the IP address of the Concentrator router.
PVC
A Permanent Virtual Circuit (PVC) is a permanent channel that connects after X.25 restarts. These channels, because they are constant, are similar to leased telephone lines.
A PVC, in XTP context, is a PVC from a local X.25 DTE node to a remote X.25 DTE.
When you configure a router for PVCs, you must map the IP address of the peer router and the PVC number of the remote and local DTE.
Displaying the XTP Prompts
To display the XTP configuration prompt, enter protocol xtp at the Config> prompt.
To display the XTP monitoring prompt, enter protocol xtp at theConfig> xtp
XTP config>
Monitor> prompt.Monitor>protocol xtp
X.25 Transport Console
XTP>
Figure 29 Sample Configuration
This configuration shows three routers, the Concentrator router, Remote 1 router, and Remote 2 router. To get XTP up and running on this network, you need to perform the following steps for each of these routers.
Note: New configurations do not take effect until you restart the router.
You can enter list devices at the Config> prompt to see a list of configured interface numbers.
Config>set data-link X25
Interface Number [0]? 1
Config>set data-link x25
Interface Number [0]?2
Config>set data-link ppp
Interface Number [0]?3
IP config> prompt.
Config>protocol ip
IP config>
IP config>add address
Which net is this address for [0]? 3
New address [0.0.0.0]? 128.185.100.7
Address mask [255.255.0.0]? 255.255.255.1
IP config>set internal-ip-address
Internal IP address [0.0.0.0]? 128.185.100.1
IP config> prompt.
IP config>exit
Config>
Config>
prompt
Note: This procedure does not include information on configuring PPP. See Configuring PPP.Config>network 3
PPP interface configuration
PPP config>
The parameters you need to configure depend on your network topology. For details on the X.25 parameters, see X.25 Commands.
Interface 1
You would use the following instructions to configure
interface 1, as defined in Figure 29.
Config> prompt, enter network followed by the number of the X.25 interface. In this example, it is interface 1.
Config>network 1
X.25 User Configuration
X.25 Config>
X.25 Config>set address 100
X.25 Config>set clocking internal
X.25 Config>set speed
Access rate in bps [9600]? 19200
X.25 Config>set equipment-type dce
X.25 Config>set pvc low 1
X.25 Config>set pvc high 1
X.25 Config>add pvc
Protocol [IP]? xtp
Packet Channel [1]?
Destination X.25 Address []? 101
Window Size [2]?
Packet Size [128]
Config> prompt, enter network
followed by the number of the X.25 interface. In Figure
29, it is 2.
Config>network 2
X.25 User Configuration
X.25 Config>
There are three types of SVCs: two-way, inbound, and outbound. The default
is svc low-two-way = 1 and svc high-two-way = 64.
All other SVC types default to 0. For further information on SVCs and PVCs,
see X.25 Commands.
X.25 Config>set svc low-inbound 0
X.25 Config>set svc high-inbound 0
X.25 Config>set svc low outbound 0
X.25 Config>set svc high outbound 0
X.25 Config>set svc low-two-way 1
X.25 Config>set svc high-two-way 1
X.25 Config> prompt.
X.25 Config>add protocol
Protocol [IP]?xtp
Window Size [2]?
Default Packet Size [128]?
Maximum Packet Size [256]??
X.25 Config> prompt.
X25 Config> exit
Config>
To view the configuration values, enter list detailed
at the X.25 Config> prompt. To set the default values for the
national personality, enter set national-personality at the
X.25 Config> prompt. For more information, see X.25
Commands.
Configuring XTP
After you have configured X.25 and defined the IP address, you are ready to configure XTP.
If you need further XTP command information, see XTP Commands.
Note: When configuring your network for XTP, remember that the peer routers are always the routers you are communicating with over TCP/IP. Therefore, the peer router can differ depending on the point of view. In Figure 29, the peer router to Remote 1 router and Remote 2 router is the Concentrator router.
XTP config> prompt, enter protocol xtp at the Config> prompt.
XTP Config> prompt.
XTP config>add local-dte
Interface number [0]? 1
DTE address []? 101
DTE address []?
XTP Config> prompt.
XTP config>add local-dte
Interface number [0]? 2
DTE address []? 201
DTE address []?
XTP config>add peer-router
Router's internal IP Address [0.0.0.0]? 128.185.100.2
XTP config>add remote-dte
Peer router's internal IP Address [0.0.0.0]? 128.185.100.2
DTE address []? 301
DTE address []?
XTP config>add peer-router
Router's internal IP Address [0.0.0.0]? 128.185.100.3
XTP config>add remote-dte
Peer router's internal IP Address [0.0.0.0]? 128.185.100.3
DTE address []? 401
DTE address []? 402
DTE address []? 403
DTE address []? 404
DTE address []?
*config
Config>set data-link x25 1
Config>set data-link ppp 2Config>network 1
X.25 Config>set address 300
X.25 Config>set clocking internal
X.25 Config>set speed 19200
X.25 Config>set equipment-type dce
X.25 Config>set pvc low 1
X.25 Config>set pvc high 1
X.25 Config>add pvc
Protocol [IP]? xtp
Packet Channel [1]? 1
Destination X.25 Address []? 301
Window Size [2]?
Packet Size [128]?
X.25 Config>exit
Config>Config>protocol ip
IP config>add address
Which net is this address for [0]? 2
New address [0.0.0.0]? 128.185.100.8
Address mask [255.255.0.0]? 255.255.255.0
IP config>set internal-ip-address
Internal IP address [0.0.0.0]? 128.185.100.2
IP Config>exit
Config>
Config>protocol xtp
XTP config>add local-dte
Interface number [0]? 1
DTE address []? 301
DTE address []?
XTP config>add peer-router
Router's IP address? 128.185.100.1
XTP config>add remote-dte
Peer router's internal IP Address [0.0.0.0]? 128.185.100.1
DTE address []? 101
DTE address []?
*config
Config>set data-link x25 1
Config>set data-link ppp 2
Config>network 1
X.25 Config>set address 400
X.25 Config>set clocking external
X.25 Config>set speed 19200
X.25 Config>set equipment-type dte
X.25 Config>set svc low-inbound 0
X.25 Config>set svc high-inbound 0
X.25 Config>set svc low-outbound 0
X.25 Config>set svc high-outbound 0
X.25 Config>set svc low-two-way 1
X.25 Config>set svc high-two-way 64
X.25 Config>add protocol
Protocol [IP]? xtp
Window Size [2]?
Default Packet Size [128]?
Maximum Packet Size [256]?
X.25 Config>exit
Config>protocol ip
IP config>add address
Which net is this address for [0]? 2
New address [0.0.0.0]? 128.185.100.9
Address mask [255.255.0.0]? 255.255.255.0
IP config>set internal-ip-address
Internal IP address [0.0.0.0]? 128.185.100.3
IP Config>exit
Config>Config>protocol xtp
XTP config>add local-dte
Interface number [0]? 1
DTE address []? 401
DTE address []? 402
DTE address []? 403
DTE address []? 404
DTE address []?XTP Config>add peer-router
Router's IP address? 128.185.100.1XTP config>add remote-dte
Peer router's internal IP Address [0.0.0.0]? 128.185.100.1
DTE address []? 201
DTE address []?
XTP config>exitConfig>
Not all parameters apply to all router platforms. Press Space twice after you type a command to display the available parameters for each command for your router. Enter help for information about using the command line interface.
[C] means the command is available at the XTP config> prompt.
[M] means the command is available at the XTP> prompt.
| Command | Function |
|---|---|
| Add [C] [M] | Adds an interface, peer router, remote DTE or PVC definition. |
| Delete [C] [M] | Deletes an interface, peer router, remote DTE or PVC definition. |
| Disable-XTP [C] | De-activates the XTP forwarder. |
| Enable-XTP [C] | Activates the XTP forwarder. |
| Exit [C] [M] | Returns to the previous prompt. |
| List [C] [M] | Lists interfaces, peer routers, remote DTEs and PVC definitions. |
| Set [C] | Sets the keepalive timer. |
Add [C] [M]
Adds an interface, a peer router, a remote X.25 node with corresponding routers, or a PVC from a local X.25 node to a remote X.25 node.
If the interface is DCE, you can configure only one local X.25 node. If the interface is DTE, you can configure multiple local nodes.
Interface number [0]? 1
DTE address []? 101
DTE address []?
Router's internal IP Address [0.0.0.0]? 128.185.100.2
Peer router's internal IP Address [0.0.0.0]? 128.185.100.2
DTE address []? 301
DTE address []?
XTP>).Three things need to exist in order to activate a PVC configuration:
An X.25 PVC from the router to the local X.25 node.
A TCP connection to the peer router where the remote node is resident.
An X.25 PVC from the peer router to the remote X.25 node.
add pvc
Local PVC Number [1]? 1
Local X.25 DTE address []? 100
Remote PVC Number [1]? 1
Remote X.25 DTE address []? 301
Interface number [0]? 1
DTE address []? 101
Record deleted
Router IP Address [0.0.0.0]? 128.185.100.2
Record deleted
DTE address []? 401
Local DTE address []? 401
Remote DTE address []?
Record deleted
disable-xtp
Enable-XTP [C]
Activates the XTP forwarder.
enable-xtp
Exit [C] [M]
Returns the previous prompt.
exit
Config>
List [C]
Lists the interfaces, peer routers, remote DTEs, or PVCs.
Local DTEs:
Interface DTE Addr
1 101
2 201
Peer Routers:
128.185.100.2
128.185.100.3
Remote DTEs:
DTE Address Peer Router
301 128.185.100.2
401 128.185.100.3
402 128.185.100.3
403 128.185.100.3
404 128.185.100.3
PVCs:
Local PVC Local DTE Remote PVC Remote DTE
Number Address Number Address
1 100 1 301
STATUS: XTP-ENABLED
Peer Routers:
128.185.100.2
128.185.100.3
Remote DTEs:
DTE Address Peer Router
301 128.185.100.2
401 128.185.100.3
402 128.185.100.3
403 128.185.100.3
404 128.185.100.3
PVCs:
Local PVC Local DTE Remote PVC Remote DTE
Number Address Number Address
1 100 1 301
Example: list keep-alive-timer
KEEP-ALIVE-TIMER: 10 seconds
LIST OF LOCAL DTES
------------------
Interface Local
No DTE
1 101
2 201
LIST OF PEER ROUTERS
--------------------
Router CNN Number Received Sent
State of Ckts Pkts Bytes Pkts Bytes
128.185.100.3 ACTIVE 15 60 1533 12 142
128.185.100.2 ACTIVE 12 63 1620 10 130
LIST OF REMOTE DTES
-------------------
Remote Router
DTE IP
404 128.185.100.3
403 128.185.100.3
402 128.185.100.3
401 128.185.100.3
301 128.185.100.2
LIST OF PVCS
------------
Index Int PVC Local Remote
No No State DTE DTE
1 1 ACTIVE 100 301
LIST OF SVCS
------------
Index Int SVC Local Remote
No No State DTE DTE
1 1 ACTIVE 200 401
1 1 ACTIVE 200 402
1 1 ACTIVE 200 403
1 1 ACTIVE 200 404
Status: XTP-ENABLE
LIST OF LOCAL DTES
------------------
Interface Local
No DTE
1 101
2 201
LIST OF PEER ROUTERS
--------------------
Router CNN Number Received Sent
State of Ckts Pkts Bytes Pkts Bytes
128.185.100.3 ACTIVE 15 60 1533 12 142
128.185.100.2 ACTIVE 12 63 1620 10 130
LIST OF REMOTE DTES
-------------------
Remote Router
DTE IP
404 128.185.100.3
403 128.185.100.3
402 128.185.100.3
401 128.185.100.3
301 128.185.100.2
LIST OF PVCS
------------
Index Int PVC Local Remote
No No State DTE DTE
1 1 ACTIVE 100 301
XTP> prompt.
PVC Index Number [1]? 1
PVC 1 IN DETAIL
----------------
Int PVC Received Sent Dropped
No State Pkts Bytes Pkts Bytes Pkts Bytes
1 ACTIVE 55 3220 35 2350 15 1870
Example: list pvcs-all-detailed
LIST OF PVCS
----------------
Int PVC Received Sent Dropped
No State Pkts Bytes Pkts Bytes Pkts Bytes
1 ACTIVE 55 3220 35 2350 15 1870
Queue status of PVCs
--------------------
Index Int PVC Hold Queue
No No State Count
1 1 ACTIVE 10
LIST OF SVCS
------------
Index Int SVC Local Remote
No No State DTE DTE
1 1 ACTIVE 200 401
1 1 ACTIVE 200 402
1 1 ACTIVE 200 403
1 1 ACTIVE 200 404
SVC Index Number [1]? 1
SVC 1 IN DETAIL
----------------
Int SVC Received Sent Dropped
No State Pkts Bytes Pkts Bytes Pkts Bytes
1 ACTIVE 75 4220 55 3350 20 870
Example: list svcs-all-detailed
LIST OF SVCS
------------
Index Int SVC Received Sent Dropped
No No State Pkts Bytes Pkts Bytes Pkts Bytes
1 ACTIVE 75 4220 55 3350 20 870
1 ACTIVE 55 3220 40 2350 15 970
1 ACTIVE 63 4003 50 3892 13 111
1 ACTIVE 78 4967 58 4167 12 800
Queue status of SVCs
--------------------
Index Int SVC Hold Queue
No No State Count
set keep-alive-timer
Keep Alive Timer in seconds [10]?