|
|
Enhancements have been made to packet assembler/disassembler (PAD)-related functionality, which can be used in protocol translation services:
PAD--Packet assembler/disassembler.
PAD over XOT--The function of sending PAD calls to an X.25 host over an IP network.
XOT--The function of sending X.25 messages to an X.25 host over an IP network.
The following platforms support the new PAD enhancements:
This section provides configuration tasks for enabling PAD calls over XOT.
PAD over XOT enables PAD calls to destinations that are not reachable over physical X.25 interfaces, but over TCP tunnels. This function enables PAD calls originating from a router on an IP link to reach an X.25 device. PAD over XOT also enables incoming XOT connections from an IP link to be accepted as PAD or protocol translation connections on the local router. The service pad to-xot command and service pad from-xot global configuration commands enable this feature. Figure 16 shows PAD calls originating from a router in an IP network reaching a X.25 device.

Incoming and outgoing PAD connections over XOT can be enabled on the router. To enable these connections, perform the following tasks beginning in global configuration mode:
| Task | Command |
|---|---|
| Step 1 Enter global configuration mode. | configure terminal |
| Step 2 Specify outgoing PAD calls over XOT or incoming XOT to PAD connections. | service pad [from-xot] [to-xot] |
| Step 3 Depending on your application, specify an X.121 address for the host name of the router or an X.25 route pointing out over XOT.1 | x25 host name x121-address
or x25 route x121-address xot x121-address |
This section provides the following PAD over XOT configuration examples:
The following example enables connections from XOT to a local PAD. Because XOT is a TCP connection, the connection is not tied to an X.25 interface. An X.25 address must be configured for the host name of the router that is accepting the call. In this case, the router answers and clears an incoming PAD call through address 1234.
Router-A(config)#service pad from-xotRouter-A(config)#x25 host Router-A 1234
The following example accepts an incoming PAD call over XOT to address 12345. The router then translates the call and makes a TCP connection to the device called puli.
Router-A(config)#service pad from-xotRouter-A(config)#translate x25 12345 tcp puli
The following example enables outgoing PAD to XOT connections from an asynchronous line or virtual terminal line. A route pointing out over XOT must be configured on the routing table to make a PAD call. This route can also be used for switching.
Router-A(config)#service pad to-xotRouter-A(config)#x25 route 1111 xot 2.2.2.2.
This section documents modified commands. All other commands used with this feature are documented in the Cisco IOS Release 11.2 Wide-Area Networking Command Reference.
To log on to a PAD, use the pad user EXEC command.
pad {x121-address | hostname} [/cud text] [/debug] [/profile name] [/reverse] [/use-map]| x121-address | Specifies the X.121 address of the X.25 host. |
| hostname | Specifies the X.25 host name if the host-to-address mapping has been set with the X.25 host command. |
| /cud text | (Optional) Includes the specified text in the Call User Data field of the outgoing Call Request Packet. |
| /debug | (Optional) Displays the informational level of logging messages whenever the remote host changes an X.3 parameter setting or sends any other X.29 control packet. |
| /profile name | (Optional) Sets X.3 PAD parameters for the name script. This is the same as issuing the x29 profile global configuration command when translating X.25. |
| /reverse | (Optional) Causes reverse-charge calls to be accepted on a per-call (rather than a per-interface) basis. |
| /use-map | (Optional) Applies x25 map pad command entry options (such as CUD and idle) and facilities (such as packet in, packet out, win in, and win out) to the outgoing PAD call. This function occurs only if a matching X.121 destination address exists in a x25 map pad command entry. |
User EXEC
This command first appeared in Cisco IOS Release 11.2.
The pad command supports one-word connections. You do not have to enter the pad command; just entering the address is enough to start the connection. A PAD can also be accessed and X.3 parameters configured with the x28 EXEC command, which uses the standard X.28 user interface.
You can have several PAD connections open at the same time and switch between them. You also can exit a connection and return to the user EXEC prompt at any point. To open a new connection, first exit the current connection by entering the escape sequence (Ctrl-Shift-6 then x [Ctrl^x] by default) to return to the EXEC prompt, then open the new connection.
If the /use-map option is selected on the outgoing pad command, the x25 map pad command entries are searched for a matching X.121 destination address. If a match is found, the x25 map pad command entry options (such as CUD and idle) and facilities (such as packet in, packet out, win in, and win out) are applied to the outgoing PAD call.
To display information about packet transmission and X.3 PAD parameter settings, enter the show x25 pad command.
To exit a session, simply log off the remote system. Then, terminate the active session by entering the exit command.
The following example starts a PAD session:
Router> pad 123456789
Trying 123456789...Open
Router>
You can also access a PAD using standard X.28 commands. The following example enters X.28 mode with the x28 EXEC command and configures a PAD with the set X.3 parameter command. The set command sets the idle time delay to 40 seconds.
Router#x28*set 4:40
The following example uses the /use-map option to configure a larger window and packet size than the default specified on the interface, and it sets the VC idle time to 2 seconds. Notice that the map values are used rather than the interface default values.
Router-A(config-if)#x25 map pad 1234 cud gmcmilla windowsize 7 7 packetsize 1024 1024 idle 2Router-A(config-if)#endRouter-A# %SYS-5-CONFIG_I: Configured from console by console. Router-A#pad 1234 /cud gmcmilla /use-mapTrying 1234...Open 06:31:12: pad_find_ctxt: found a map 06:31:12: Serial1: X.25 O P1 Call (27) 8 lci 1024 06:31:12: From(4): 2222 To(4): 1234 06:31:12: Facilities: (6) 06:31:12: Packet sizes: 1024 1024 06:31:12: Window sizes: 7 7 06:31:12: Call User Data (12): 0x010000006573636861666665 (pad) 06:31:12: Serial1: X.25 I P2 Call Confirm (9) 8 lci 1024 06:31:12: From(4): 2222 To(4): 1234 06:31:12: Facilities: (0) 06:31:12: PAD0: Call completed
translate x25
To enable all packet assembler/disassembler (PAD) commands and connections between PAD devices and access servers, use the service pad global configuration command. Use the no form of this command to not accept incoming and outgoing PAD connections.
service pad [from-xot] [to-xot]| from-xot | (Optional) Accept XOT to PAD connections. |
| to-xot | (Optional) Allow outgoing PAD calls over XOT. |
All PAD commands and associated connections are enabled.
Global configuration
This command first appeared in Cisco IOS Release 11.1.
By default, PAD over XOT connections are not allowed.
If the service pad command is disabled, the EXEC pad command and all PAD-related configurations, such as X.29, are unrecognized, as shown in the following example:
Router(config)#noservice padRouter(config)#x29?% Unrecognized command Router(config)#exitRouter#pad ?% Unrecognized command
If the service pad command is enabled, the EXEC pad command and access to an X.29 configuration is granted, as shown in the following example:
Router#config terminalEnter configuration commands, one per line. End with CNTL/Z. Router(config)#service padRouter(config)#x29 ?access-list Define an X.29 access list inviteclear-time Wait for response to X.29 Invite Clear message profile Create an X.3 profile Router#pad?WORD X121 address or name of a remote system
x29 access-list
x29 profile
When receiving an X.25 connection request to a particular destination address, the Cisco router can automatically translate the request to another outgoing protocol connection type. To set this up, use the translate global configuration command.
translate x25 incoming-address [in-options] {virtual-template number | protocolNo default translation parameters
Global configuration
This command first appeared in Cisco IOS Release 10.0.
Table 13 provides a visual aid for understanding how to use the translate x25 command. In the table, follow the steps horizontally (from left to right). As you travel from step to step, you can choose from a vertical list of options at each step. As the table illustrates, you define the protocol translation connections by choosing a protocol keyword and supplying the appropriate address or service name. The protocol connection information is followed by optional features for that connection, as appropriate. The global options, in general, apply to all the connection types, but there are exceptions. The swap keyword, for example, is for X.25 to TCP translations only. See the examples for more explanations on how to enter this command.
| Incoming
Protocol
Step 1 | Incoming
Options
Step 2 | Outgoing
Protocol
Step 3 | Outgoing
Options
Step 4 |
Global Options
Step 5 | |
|---|---|---|---|---|---|
| translate | protocol incoming-address | [in-options] | protocol outgoing-address | [out-options] | [global-options] |
| idle minutes | use-map | ||||
| x25 x121-address | cud c-u-data | lat service-name | node node-name | access-class number | |
| profile profile | port port-name | max-users number | |||
| accept-reverse | tcp ip-address | port number | local | ||
| printer | host-name name | login | |||
| idle minutes | multibyte-iac | quiet | |||
| slip ip-address | ip-pool [scope-name name] | swap | |||
| headercompression [passive] | pvc [number | interface serial-number] packetsize in-size out-size windowsize in-size out-size | ||||
| routing | |||||
| keepalive number-of-seconds | |||||
| mtu bytes | |||||
| ppp ip-address | ip-pool | ||||
| headercompression [passive] | |||||
| routing | |||||
| keepalive number-of-seconds | |||||
| mtu bytes | |||||
| authentication {pap | chap} | |||||
| ppp use-tacacs | |||||
| ipx loopback number | |||||
| autocommand [arap | exec-string] |
| ||||
| virtual-template | |||||
The following example illustrates a simple X.25-to-TCP translate x25 command. Packets coming in X.25 address 652365123 arrive via PVC 1 and are translated to TCP packets and transmitted out IP address 172.16.1.1.
translatex25 652365123pvc 1tcp 172.16.1.1!incomingoption outgoing
The following example illustrates a more complex configuration that calls an X.29 profile and swaps the default PAD operation of the router to that of an X.25 host. The name of the profile is fullpackets.
x29 profile fullpackets 2:0 3:0 4:100 7:21translatex25 217536124profile fullpacketstcp rubbleport 4006swap!incoming option outgoing option global
The following example illustrates the use of the X.25 incoming protocol option printer for an incoming X.25 connection.
translatex25 55555printertcp 172.16.1.1!incomingoption outgoing
The following example translates X.25 packets to PPP. It enables routing updates between the two connections.
translate x25 12345678 ppp 10.0.0.2 routing ! incoming outgoing option
The following example permits clients running ARA to connect through the devices' VTY lines to an AppleTalk network.
appletalk routing translate x25 12345678 autocommand arap ! incoming outgoing arap enable arap dedicated arap timelimit 45 arap warningtime 5 arap noguest arap require-manual-password arap net-access-list 614
The following example specifies IP pooling from a DHCP server named ludicrous. It then specifies that incoming TCP traffic be translated to SLIP. The DHCP server will dynamically assign IP addresses on the outgoing sessions.
ip address-pool dhcp-proxy-client ip dhcp-server ludicrous translate x25 5467835 ppp ip-pool scope-name ludicrous
The following example specifies a local IP pool named scandal with IP addresses ranging from 172.18.10.10 to 172.18.10.110. It then specifies that incoming X.25 traffic be translated to PPP. The local IP pool scandal will be used to dynamically assign IP addresses on the outgoing sessions.
ip-pool scandal 172.18.10.10 172.18.10.110 translate x25 1234567 ppp ip-pool scope-name scandal
X.25 calls are cleared if they are idle for the configured time, as shown in the following example:
translate x25 1234 idle 2 lat shazam
show translate
translate lat
translate tcp
x29 access-list
x29 profile
Refer to the "Configuring X.25 and LAPB" chapter in the Cisco IOS Release 11.2 Wide-Area Networking Configuration Guide for more information about configuring X.25.
|
|