3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
440 CHAPTER 26: LAPB AND X.25 CONFIGURATION COMMANDS
Description Use the translate ip command to configure an X2T forwarding route from IP
network to X.25 network.
Use the
undo translate ip command to remove the route.
When a host in the IP network sends packets to the specified IP address and port
number of the device, the device will translate these IP packets to X.25 ones and
then forward them to the specified X.121 address or PVC in the X.25 network.
c
CAUTION:
The maximum number of IP-to-X.25 mappings varies by device.
For the translate ip command, if an IP address uses only one port number,
port number 102 is preferred whenever possible. If an IP address uses multiple
port numbers, port numbers between 1024 and 5000 are recommended and
the well-known port numbers (such as 21, 23) are not used to avoid network
failure.
Example # Configure an X2T forwarding route to forward the packets that the local device
receives at 10.1.1.1:102 to the X.121 address 111.
<Sysname> system-view
[Sysname] translate ip 10.1.1.1 port 102 x25 111
# Configure an X2T forwarding route to forward the packets that the local device
receives at 10.1.1.1:102 to PVC 1 on the interface Serial2/0.
<Sysname> system-view
[Sysname] translate ip 10.1.1.1 port 102 pvc serial 2/0 1
translate x25
Syntax translate x25 x.121-address ip ip-address port port-number
undo translate x25 x.121-address
View System view
Parameter x.121-address: X.121 address.
ip ip-address: IP address of the remote host.
port port-number: Port number of the remote host.
Description Use the
translate x25 command to configure an X2T forwarding route from
X.25 network to IP network.
Use the
undo translate x25 command to cancel this configuration.
You can implement the packet forwarding from an X.25 network to an IP network
using this command. The device compares the destination address in the X.25 call
request packet to the x.121-address, if they match, then initiates a TCP connection