R2511-HP MSR Router Series Layer 2 - WAN Command Reference(V5)
348
Syntax
translate ip ip-address port port-number { pvc interface-type interface-number pvc-number | x25
x.121-address }
undo translate ip ip-address port port-number
Views
System view
Default command level
2: System level
Parameters
ip-address: Local IP address.
port port-number: Specifies the TCP port number on which the local router listen messages, in the range
1 to 65535.
interface-type interface-number: Type and number of an interface.
pvc-number: PVC number, in the range 1 to 4095.
x25 x.121-address: Specifies an X.121 address.
Usage guidelines
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.
The maximum number of IP-to-X.25 mappings is 32.
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.
Examples
# 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
Use translate x25 to configure an X2T forwarding route from X.25 network to IP network.
Use undo translate x25 to cancel this configuration.
Syntax
translate x25 x.121-address ip ip-address port port-number
undo translate x25 x.121-ad dres s










