cc/td/doc/product/software
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

X.28 Emulation

Description

Platforms

Configuration Tasks

Configuration Examples

Command Reference

Debug Command

What to Do Next

X.28 Emulation

Description

X.28 emulation is the standard user interface between data terminal equipment (DTE) and a packet assembler/disassembler (PAD). The Cisco IOS software provides an X.28 user emulation mode, which enables you to interact with and control the PAD. During this exchange of control information, messages or commands sent from the terminal to the PAD are called PAD command signals. Messages sent from the PAD to the terminal are called PAD service signals. These signals and any transmitted data take the form of encoded character streams as defined by International Alphabet Number 5.

For asynchronous devices such as terminals or modems to access an X.25 network host, the device's packets must be assembled or disassembled by a PAD device. Using standard X.28 commands from the PAD, calls can be made into an X.25 network, X.3 PAD parameters can be set, or calls can be reset. There are 22 available X.3 PAD parameters to configure. These parameters can also be set by a remote X.25 host using X.29. Figure 30 shows a typical example of an asynchronous device accessing a router; the router's PAD in turn places calls into an X.25 network.


Figure 30: Asynchronous Device Dialing in to an X.25 Host over an X.25 Network




Note Most Cisco routers have internal PAD devices.

Benefits

Cisco's new X.28 PAD implementation enables users to access X.25 networks or set PAD parameters using the X.28 standard user interface. This standard interface is common in many European countries and adheres to the X.25 International Telecommunication Union Telecommunication (ITU-T) standards.

The new X.28 interface is designed for asynchronous devices that require X.25 transport to access a remote or native asynchronous or synchronous host application. For example, dial-up users can use the X.28 interface to access a remote X.25 host. Banks implement Cisco routers to support back office applications, ATM, point of sales authorization devices, and alarm systems. These alarm devices are connected asynchronously to the same Cisco router and report alarm conditions to a remote alarm host for the dispatch of police. Cisco's X.28 PAD calls can be transported over a public packet network, a private X.25 network, the Internet, a private IP-based network, or a Frame Relay network. With this new service, Cisco now offers the flexibility to use the X.28 interface either directly or over a Cisco IOS application service such as with protocol translation. The protocol translation VTY asynchronous application enables users to bidirectionally access an X.25 application with the PAD service or protocols such as Digital Equipment Corporation (DEC), local-area transport (LAT), and transmission control protocol (TCP).

List of Terms

X.28--The standard user interface between DTE and a PAD.

X.29--The ITU-T recommendation that defines the form for control information from the remote terminal-to-PAD interface used in X.25 networks.

X.3--The ITU-T recommendation that defines various PAD parameters used in X.25 networks.

X.3 PAD parameters--Internal variables that define the operation of a PAD. For example, parameter number 9 is the crpad parameter. It determines the number of bytes to add after a carriage return.

Platforms

The following platforms support X.28 emulation:

Configuration Tasks

The following optional tasks are described in this section:

X.28 mode is initiated with the x28 command from the EXEC level or using the autocommand line configuration command. The default X.28 router prompt is an asterisk (*). Once you enter this mode, the standard X.28 user interface is available. From this interface, you can configure or use the PAD inside a Cisco router with X.3 parameters (see the "Set X.3 PAD Parameters for X.25 Connections" section), or you can access an X.25 network (see the "Enter PAD Command Signals for X.25 Connections" section).

Set X.28 Access and Display Options

To enter X.28 mode and set different access and display parameters, perform any of the following tasks beginning in EXEC mode:

Task Command
Specify a character string to use to exit X.28 mode and return to EXEC mode.1 x28 escape character-string
Specify the network user identification data to be placed in the call user data area of the call request packet.2 x28 nuicud
Specify using a user-configured profile of X.3 parameters.3 x28 profile file-name
Reverse the charges of all calls dialed from the local router. The address of the destination device is charged for the call. x28 reverse
Display detailed information about the X.25 call connection (for example, address of the remote DTE device and the facility block used). x28 verbose

1 If the x28 noescape command is configured, a user cannot return to EXEC mode.
2 Upon entering the x28 nuicud command, the network user identification (NUI) data will not be placed in the NUI facility of the call request. Instead it will be placed in the call user data field. If you configure the x28 nuicud command, reverse charging set by the x28 reverse command is disabled.
3 Profiles are created with the x29 profile EXEC command.

See the "Configuration Examples" section for sample X.28 configurations.

Enter PAD Command Signals for X.25 Connections

Many X.25-related functions can be performed from the PAD in X.28 mode. However, only the following two most common tasks are described in this section:

In X.28 mode, you can set PAD command signals using standard or extended command syntax. A command specified with standard command syntax is merely an abbreviated version of the extended syntax version. Both syntaxes have the same functionality. For a complete list of PAD command signals, see Table 39 under the x28 command.

Connect to a Remote X.25 Device

To call an X.25 device using a local PAD signal command, perform the following steps beginning in EXEC mode:

Task Command
Step 1 Enter X.28 mode. An asterisk prompt will appear. x28
Step 2 Dial the address of the remote interface. call address

Note In X.28 mode, you can perform the same functions as the Cisco proprietary pad command. However, X.28 mode adds additional functionality such as setting X.3 PAD parameters with industry standard X.28 commands.

See the "Configuration Examples" section for a sample connection to a remote X.25 device.

Clear a Connection to a Remote X.25 Device

Once you connect to a remote X.25 device, you can clear the connection by performing the following steps beginning in EXEC mode:

Task Command
Step 1 From the remote host, escape back to the local router. Ctrl-p
Step 2 Clear the virtual call. clr

See the "Configuration Examples" section for a sample of how to clear a connection to a remote X.25 device.

Set X.3 PAD Parameters for X.25 Connections

To set an X.3 PAD parameter from a local terminal, perform the following steps beginning in EXEC mode:

Task Command
Step 1 Enter X.28 mode. x28
Step 2 Display the current X.3 PAD parameters. par
Step 3 Change the value of a parameter. set parameter-number: new-value
Step 4 Verify that the new PAD parameter was set correctly. par

See the "Configuration Examples" section for an example of how to set X.3 parameters for X.25 connections.

Configuration Examples

This section provides the following X.28 configuration examples:

Enter PAD Command Signals Examples

The following examples show two ways to make a call to a remote X.25 host over a serial line. The remote host's interface address is 123456. In the first example, Router-A calls Router-B using the pad 123456 EXEC command. The second example shows Router-A calling Router-B using the call 123456 PAD signal command in X.28 mode. Both commands accomplish the same goal.

Router-A# pad 123456
Trying 123456...Open
 
Router-B> exit
 
[Connection to 123456 closed by foreign host]
Router-A# x28
 
* call 123456
COM
 
Router-B>

The following examples show two ways to clear a connection with a remote X.25 host. The first example shows Router-A disconnecting from Router-B using the disconnect command in EXEC mode. The second example shows Router-B disconnecting from Router-A using the clr command in X.28 mode.

Router-A# pad 123456
Trying 123456...Open
 
Router-B> <Enter the escape sequence (for example, press Shift-Ctrl-^-x).>
Router-A# disconnect
Closing connection to 123456 [confirm]
Router-A#
Router-A# x28
 
* call 123456
COM
 
Router-B> <Press Ctrl-p>
* clr
 
CLR CONF 
 
*

Set X.3 PAD Parameters Examples

The following example configures parameter 9 from 0 to 1, which adds one byte after the carriage return. This setting is performed from a local terminal using the set parameter-number:new-value PAD command signal.

Router-A# x28
 
* par
   PAR 1:1 2:1 3:126 4:0 5:1 6:2 7:2 8:0 9:0 10:0 11:14 12:1 13:0 14:0 15:0 16:127 17:24 18:18 19:2 20:0 21:0 22:0 
 
* set 9:1
 
* par
   PAR 1:1 2:1 3:126 4:0 5:1 6:2 7:2 8:0 9:1 10:0 11:14 12:1 13:0 14:0 15:0 16:127 17:24 18:18 19:2 20:0 21:0 22:0 
 
*

The following example shows how to change a local X.3 PAD parameter from a remote X.25 host using X.29 messages, which is a secure way to enable a remote host to gain control of local PAD. The local device is Router-A. The remote host is Router-B. The parameters listed in the ParamsIn field are incoming parameters, which are sent by the remote PAD. The parameters listed in the ParamsOut field are parameters sent by the local PAD.

Router-A# pad 123456
Trying 123456...Open
 
Router-B> x3 2:0
Router-B>
Router-A# show x25 pad 
 
tty0, connection 1 to host 123456
 
Total input: 12, control 3, bytes 35. Queued: 0 of 7 (0 bytes).
Total output: 10, control 3, bytes 64.
Flags: 1,   State: 3,   Last error: 1
 ParamsIn:  1:0, 2:0, 3:0, 4:0, 5:0, 6:0, 7:0,
    8:0, 9:0, 10:0, 11:0, 12:0, 13:0, 14:0, 15:0,
    16:0, 17:0, 18:0, 19:0, 20:0, 21:0, 22:0,
 ParamsOut:  1:1, 2:0, 3:2, 4:1, 5:1, 6:0, 7:21,
    8:0, 9:1, 10:0, 11:14, 12:1, 13:0, 14:0, 15:0,
    16:127, 17:21, 18:18, 19:0, 20:0, 21:0, 22:0,
Router-A#

Modify and Load an Existing X.25 PAD Parameter Profile Example

The following example modifies and loads an existing X.25 PAD parameter profile. It accesses the existing PAD profile ppp, changes its padding parameter (specified as 9) to a value of 2, and displays the new parameters using the par command in X.28 mode.

Router-A# configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
Router-A(config)# x29 profile ppp 9:2
Router-A(config)# end
Router-A#
%SYS-5-CONFIG_I: Configured from console by console
Router-A# x28 profile ppp
 
* par
   PAR 1:1 2:1 3:126 4:0 5:1 6:2 7:2 8:0 9:2 10:0 11:14 12:1 13:0 14:0 15:0 16:127 17:24 18:18 19:2 20:0 21:0 22:0 

Network User Identification Data Relocation Example

The following example sends an authentication message to a remote X.25 host using the x28 nuicud command in X.28 mode followed by the Ncisc-123456 X.28 command. The network identifier is N. The network user password is cisc. The destination address of the remote device is 123456. The ASCII representation of the user password appears in the call user data field, not in the data packet.

Router-A# debug x25 event
X.25 special event debugging is on
Router-A# x28 nuicud
 
* Ncisc-123456
COM
 
Router-B>
02:02:58: Serial1: X.25 O P1 Call (16) 8 lci 20
02:02:58:   From(3): 222 To(3): 123456
02:02:58:   Facilities: (0)
02:02:58:   Call User Data (8): 0x01000000xxxxxxxx (pad)
02:02:58: Serial1: X.25 I P2 Call Confirm (5) 8 lci 20
02:02:58:   From(0):  To(0): 
02:02:58:   Facilities: (0)

X.25 Reverse Charge Call Example

The charges for all outgoing calls made from the local router can be reversed to the destination device using the x28 reverse command. To reverse the charges for only one outgoing call, use the R-address command, which is the standard X.28 reverse charge facility command.

Router-A# x28 reverse 
 
* exit
Router-A# x28
 
* R-123456 
COM 

X.25 Call Detail Display Example

Each time a call is made to a remote device, you can specify that detailed information be displayed about the call and the destination device by entering the x28 verbose command. The following example shows reverse charging configured and call user data represented as userdata:

Router# x28 verbose
 
* R-111*userdata
 
Called DTE Address : 3001
Facility Block     : R 
Call User Data     :userdata
COM

Command Reference

This section documents the new x28 command. All other commands used with this feature are documented in the Cisco IOS Release 11.2 Wide-Area Networking Command Reference.

x28

To enter X.28 mode and access an X.25 network or set X.3 PAD parameters, use the x28 EXEC command.

x28 [escape character-string] [noescape] [nuicud] [profile file-name] [reverse] [verbose]
no x28 [escape character-string] [noescape] [nuicud] [profile file-name] [reverse] [verbose]
Syntax Description
escape character-string (Optional) Specifies a character string to use to exit X.28 mode and return to EXEC mode. The character string can be any string of alphanumeric characters. The Ctrl key can be used in conjunction with the character string.
noescape (Optional) Specifies that no escape character string is defined (user cannot return to EXEC mode). On the console line, the noescape option is ignored, and the default escape sequence is used (exit command).
nuicud (Optional) Specifies the network user identification (NUI) data to not be placed in the network user identification facility of the call request. Instead it is placed in the call user data (CUD) area of the call request packet.
profile file-name (Optional) Specifies using a user-configured profile of X.3 parameters. A profile is created with the x29 profile EXEC command.
reverse (Optional) Specifies reverse charges for outgoing calls made from the local router to the destination device.
verbose (Optional) Displays optional service signals such as the called DTE address, facility block, and CUD.
Default

Disabled. X.28 mode uses standard X.28 command syntax.

Command Mode

EXEC

Usage Guidelines

This command first appeared in Cisco IOS Release 11.2 F.

If both the escape and noescape options are not set, the default escape sequence is used (exit command).

X.28 mode is identified with an asterisk (*) router prompt. Once you enter this mode, the standard X.28 user interface (with the exception of the escape sequence) is available. From this interface, you can configure a PAD device using X.3 parameters, or you can access an X.25 network.

In X.28 mode, you can set PAD command signals using standard or extended command syntax. For example, you can enter the clr command or clear command to clear a virtual call. A command specified with standard command syntax is merely an abbreviated version of the extended syntax version.

Table 39 lists the commands available in both standard and extended command syntax.


Table 39: Available PAD Command Signals
Standard
Syntax
Extended
Syntax
Description
break Simulate an asynchronous break.
call Place a virtual call to a remote device.
clr clear Clear a virtual call.
command-signal1 Specifies a call request without using a standard X.28 command, which is entered with the following syntax: facilities-x121-addressDcall-user-data
help Display help information. (See Table 40.)
iclr iclear Request the remote device to clear the call.
int interrupt Send an Interrupt Packet.
par?
par
parameter
read
Show the current values of local parameters (see Table 40).
prof profile file-name Load a standard or a named profile.
reset Reset the call.
rpar? rread Show the current values of remote parameters.
rset? rsetread Set and then read the values of remote parameters.
set Change the values of local parameters. (See Table 40.)
set? setread Change and then read values of parameters.
stat status Request the status of a connection.
selection pad Set up a virtual call.

1 Here is an example of issuing a call request command: the R,G23,P2-234234Duser1 command.

Table 40 lists the different types of parameters you can set using the set parameter-number: new-value PAD command signal from X.28 mode.


Table 40: X.3 PAD Parameters
Parameter
Number
Parameter
Name
Description
1 escape PAD recall using a character. Minimum value: 0;
maximum value: 126; default: 1.
2 echo Echo. Minimum value: 0; maximum value: 1; default: 1.
3 forward Selection of data forwarding characters. Minimum value: 0;
maximum value: 255; default: 126.
4 idle Selection of idle timer delay. Minimum value: 0; maximum value: 255; default: 0.
5 device Ancillary device control. Minimum value: 0; maximum value: 2; default: 1.
6 signals Control of PAD service signals. Minimum value: 0; maximum value: 255; default: 2.
7 break Operation on receipt of bread signal. Minimum value: 0;
maximum value: 31; default: 2.
8 discard Discard output. Minimum value: 0; maximum value: 1; default: 0.
9 crpad Bytes to add after the carriage return. Minimum value: 0;
maximum value: 255; default:2.
101 folding Line folding. Minimum value: 0; maximum value: 255; default: 0.
11 speed Binary speed of start-stop mode DTE. Minimum value: 0;
maximum value: 18; default: 14.
12 flow Flow control of the PAD. Minimum value: 0; maximum value: 1; default: 1.
13 lfinsert Linefeed insertion after carriage return. Minimum value: 0;
maximum value: 7; default: 0.
14 lfpad Padding after linefeed. Minimum value: 0; maximum value: 255; default: 0.
15 edit Editing. Minimum value: 0; maximum value: 1; default: 0.
16 cdelete Character delete. Minimum value: 0; maximum value: 127;
default: 127.
17 ldelete Linedelete. Minimum value: 0; maximum value: 127; default: 24.
18 ldisplay Linedisplay. Minimum value: 0; maximum value: 127; default: 18.
19 esignals Editing PAD service signals. Minimum value: 0; maximum value: 126; default: 2.
20 mask Echo mask. Minimum value: 0; maximum value: 255; default: 0.
211 parity Parity treatment. Minimum value: 0; maximum value: 3; default: 0.
221 page Page wait. Minimum value: 0; maximum value: 255; default: 0.

1 These parameters are not supported in Cisco IOS Release 11.2.

Note Abbreviated X.121 addresses are not supported. Such addresses start with a period, are alphanumeric, and are mapped to a full X.121 address by the PAD.

Several methods can be used to connect to the X.28 pad mode of a router. Refer to the "Making Connections to Network Devices" chapter of the Cisco IOS Release 11.2 Access Services Configuration Guide for more information.

Table 41 lists the options for the X.28 help command.


Table 41: Help Command Options
Command Description
help Describes the help PAD command.
help command Displays the list of available PAD command signals.
help parameter Displays the list of available X.3 PAD parameters.
help parameter number Displays the specified X.3 PAD parameter and its current value.
help list Lists the available help subjects.
help profiles Lists available profiles.
help profile name Shows the specified parameter's name and current value.
help any-PAD-command Describes the specified PAD command signal.

You can issue call requests from X.28 mode without using standard X.28 commands. To do this, use the following command syntax:

facilities-x121-addressDcall-user-data
facilities- Applies X.25 facilities to the outgoing call. the hyphen is mandatory.
x121-address Specifies the address of the remote X.25 device.
D Facility request code that specifies call user data for the outgoing call.
call-user-data Specifies the data that accompanies the call request packet sent to the remote X.25 device.

The following rules apply to all call requests parsed in X.28 mode:

Table 42 shows examples of parsed call requests.


Table  42: Example X.28 Call Requests
Command Description
123456789 Calls this X.121 address.
123456789*userdata Calls this X.121 address, with specified data.
123456789Puserdata Calls this X.121 address, with specified data.
123456789Duserdata Calls this X.121 address, with specified data.
Nabcd-123456789 Calls this X.121 address, with NUI set to abcd.
Nabcd,R-123456789 Calls 123456789 with NUI of abcd, and with reverse charging.
Examples

The following example shows how to place a virtual call using the call PAD command signal in X.28 mode:

Router# x28
* call 123456

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
Related Command

pad

Debug Command

This section describes the debug x28 command.

debug x28

To monitor error information and X.28 connection activity, use the debug x28 privileged EXEC command. The no form of this command disables the debugging function.

[no] debug x28
Sample Display

Figure 31 shows sample output while the PAD initiates an X.28 outgoing call:


Figure 31: Sample Debug X28 Output

Router# debug x28
X28 MODE debugging is on
Router# x28
*
03:30:43: X.28 mode session started
03:30:43: X28 escape is exit
03:30:43: Speed for console & vty lines :9600 
*call 123456
COM
03:39:04: address ="123456", cud="[none]" 03:39:04: Setting X.3 Parameters for this call...1:1 2:1 3:126 4:0 5:1 6:2 7:2 8:0 9:0 10:0 11:14 12:1 13:0 14:0 15:0 16:127 17:24 18:18 19:2 20:0 21:0 22:0 
Router> exit
CLR CONF
*
*03:40:50: Session ended
* exit
Router#
*03:40:51: Exiting X.28 mode

What to Do Next

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.


hometocprevnextglossaryfeedbacksearchhelp
Copyright 1989-1997 © Cisco Systems Inc.