The X.25 network interface connects a router to an X.25 packet-switched network. This document includes the following sections:
X.25 Overview
The X.25 Protocol Stack
Configuration Procedures
X.25 Commands
X.25 Overview
The X.25 software and hardware allow the router to communicate over a public X.25 network. The X.25 network interface complies with CCITT 1980 and 1984 specifications for X.25 interfaces by offering multiplexed channels and reliable end-to-end data transfer across a WAN.
Protocol Handling
The X.25 interface provides both physical and logical access to remote X.25 hosts (routers). X.25 virtual circuits are either pre-established PVCs (Permanent Virtual Circuits) or dynamically set up SVCs (Switched Virtual Circuits) to remote destinations.
Figure 1 X.25 Remote Access

The X.25 Protocol Stack
The X.25 protocol stack provides network access standards for layers that are similar to the first three layers of the Open Systems Interconnection (OSI) reference model. The X.25 protocol stack consists of the physical, frame, and packet layers. These three layers closely resemble the physical, data link, and network layers of the OSI model.
The Physical Layer
The X.25 interface's physical layer specifies the hardware interface between the Data Terminal Equipment (DTE) and the Data Circuit-terminating Equipment (DCE). The X.25 physical layer specifies a cable interface that connects a DTE, such as the router to a public data network via a DCE device, such as a modem or DSU/CSU. Typical physical layer connections are described below:

Figure 2 Wiring for p4298-01 Level Converter

The Frame Layer
The X.25 interface's frame/packet layer, like the connection based data link layer in the OSI model, handles error control as the data travels on the interface between the router and the public data network. This layer, provides certain X.25 DTEs with an interface to the internet. When transmitting data from the router to the network, the frame layer supports the link access procedure-balanced (LAP-B) protocol.
The Packet Layer
The X.25 interface's packet layer, like the network layer in the OSI model, establishes, manages and terminates end-to-end communications between local and remote hosts. The packet layer uses virtual circuit connections to establish communication between the router and a public data network with DCE capabilities. End-to-end communications issues include addressing, flow control, delivery confirmations, and interrupt signals.
X.25 software transfers packets using connection-oriented, or virtual circuit, packet switching. Virtual circuits transmit each packet sequentially, down a pre-established path. Virtual circuit connections are similar to placing a call over telephone facilities. Once the packet layer establishes a connection, the router can sequentially transmit data over the link.
Return traffic is usually directed on the same virtual circuit established from the source to the destination DTE, provided additional circuits are not open the same destination.
Configuration Procedures
This section outlines the minimal steps required to get X.25 up and running. For reference information on commands, see X.25 Commands.
Config> set data-link x25
Interface Number [0]? 1
Config> network 1
X.25 User Configuration
X.25 Config>
X.25 Config>set cable ?
RS-232
V35
V36
X21
X.25 Config>set cable V35 ?
DTE
DCE
X.25 Config>set clocking ?
EXTERNAL
INTERNAL
MIXED
X.25 Config>set clocking external
Add [C]
Adds an X.25 address, a DDN X.25 htf-address, a protocol configuration, or a PVC definition.
Syntax: add
add address IP example:
Protocol [IP]? IP
IP Address [0.0.0.0]? 128.185.1.2
X.25 Address []? 1234590
Protocol [IP]? IPX
CUD Field Usage (Standard or Proprietary)
IPX Host Number (in hex) []?
X.25 Address []?
htf-address
Adds a DDN (Defense Data Network) X.25 address translation.
Example: add htf-address
Protocol [IP]?
Convert HTF address [0.0.0.0}?
protocol
Enables a protocol encapsulation and defines associated parameters.
Example: add protocol
Protocol [IP]
Window Size [2]
Default Packet Size [128]
Maximum Packet Size [256]
Circuit Idle Time [30]
Maximum SVCs [4]
pvc
Adds PVC, window size, and packet size definitions.
Example: add pvc
Protocol [IP]? IP
Packet Channel [1]?
Destination X.25 Address[]?
Window Size [2]?
Packet Size [128]?
Change [C]
Modifies a PDN X.25 address, DDN X.25 address, protocol configuration, or a PVC definition.
Syntax: change
change addressIP example:
Protocol [IP]? IP
IP Address [0.0.0.0]?
X.25 Address [00000124040000]?
Protocol [IP]? IPX
CUD Field Usage (Proteon or Standard) [Proteon]?
IPX Host number (in hex) []?
X.25 Address [00000124040000]?
htf-address
Changes a DDN X.25 address translation.
Example: change htf-address
Protocol [IP]
Change HTF address [0.0.0.0]?
New HTF address [10.4.0.124]?
protocol
Changes a protocol configuration definition.
Example: change protocol
Protocol [IP]
Window Size [2]
Default Packet Size [128]
Maximum Packet Size [256]
Circuit Idle Time [30]
Max VCs [6]
pvc
Changes PVC, window size, and packet size definitions.
Example: change pvc
Protocol [IP]? IP
Packet Channel [1]?
Destination X.25 Address[]?
Window Size [2]?
Packet Size [128]?
Delete [C]
Deletes an X.25 address translation, a protocol configuration definition, or a PVC definition.
Syntax: delete
delete addressIP example:
Protocol [IP]?
IP Address [0.0.0.0]?
Protocol [IP]?
IPX Host Number (in hex) [2]?
|
Protocol
| The protocol type of the address mapping you are deleting. The default is IP. |
|
IP Address
| The destination protocol interface's IP address. |
|
IPX Host Number
| The IPX host number. |
protocol prot-type
Deletes a protocol encapsulation configuration. Prot-type is the name or number of the protocol encapsulation that you created using the add protocol command.
Example: delete protocol ipx pvc
Deletes a PVC definition.
Example: delete pvc
Protocol [IP]?
Packet Channel [1]?
Destination X.25 Address []?
|
Protocol
| The protocol that you are running over the X.25 interface. DDN supports IP only. |
|
Packet Channel
| The circuit number of the PVC. |
|
Destination X.25 Address
| The address of the PVCs destination. |
Disable [C]
Disables DDN address translations, interface resets as part of network certification, the incoming-calls-barred or the outgoing-calls-barred features.
Syntax: disable
disable ddn-address-translations
disable interface-resets
disable incoming-calls-barred
disable outgoing-calls-barred
enable ddn-address-translations
enable interface-resets
enable incoming-calls-barred
enable outgoing-calls-barred
exit
list addresses
X.25 address translation configuration
IF# Prot # Protocol X.25 address
1 0 10.1.2.3 1238765742
1 4 1.10 9910
1 7 10 12389 CUD Field =Proteon
all
Lists all the X.25 addresses, National Personality parameters, all defined protocols and their values, and all defined PVC's.
Example: list all
X.25 Configuration Summary
Node Address: <none>
Max Calls Out: 4 Inter-Frame Delay: 1
Speed: 0 Clocking: External
MTU: 1500 Cable: V.35 DTE
Default Window: 2 SVC idle: 30 seconds
National Personality: GTE Telenet (DTE)
PVC low: 0 high: 0
Inbound low: 0 high: 0
Two-Way low: 1 high: 64
Outbound low: 0 high: 0
Throughput Class in bps Inbound: 2400
Throughput Class in bps Outbound: 2400
X.25 National Personality Configuration
Follow CCITT: on OSI 1984: on OSI 1988:off Clear w/diag: on Reset w/diag: on Restart w/diag: on Request Reverse Charges: on Accept Reverse Charges: on
Allow Packet Restarts: on Suppress Calling Addresses:off
Suppress Cause Fields: on Suppress Frame Idle RRs: off
Frame Extended seq mode: off Packet Extended seq mode: off
Use Multi-link Addresses:off Disable Interface Resets: off
Incoming Calls Barred: off Outgoing Calls Barred: off
Throughput Negotiation: on Flow Control Negotiation: on
DDN Address Translation: off
Call Request Timer: 20 decaseconds
Clear Request Timer: 18 decaseconds (1 retries)
Reset Request Timer: 18 decaseconds (1 retries)
Restart Request Timer: 18 decaseconds (1 retries)
T1 Timer: 4.00 seconds N2 timeouts: 20
T2 Timer: 2.00 seconds DP Timer: 500 milliseconds
Standard Version: 1984 Network Type: CCITT
Disconnect Procedure: passive
Window Size Frame: 7 Packet: 2
Packet Size Default: 128 Maximum: 256
X.25 protocol configuration
No protocols defined
X.25 PVC configuration
No PVCs defined
X.25 address translation configuration
No address translations defined
list detailed
X.25 National Personality Configuration
Follow CCITT: on OSI 1984: on OSI 1988: off
Clear w/diag: on Reset w/diag: on Restart w/diag: on
Request Reverse Charges: on Accept Reverse Charges: on
Allow Packet Restarts: on Suppress Calling Addresses: off
Suppress Cause Fields: on Suppress Frame Idle RRs: off
FrameExtended seq mode: off PacketExtended seq mode: off
UseMulti-linkAddresses: off Disable Interface Resets: off
Incoming Calls Barred: off Outgoing Calls Barred: off
Throughput Negotiation: on Flow Control Negotiation: on
DDN Address Translation: off
Call Request Timer: 20 decaseconds
Clear Request Timer: 18 decaseconds (1 retries)
Reset Request Timer: 18 decaseconds (1 retries)
Restart Request Timer: 18 decaseconds (1 retries)
T1 Timer: 4.00 seconds N2 timeouts: 20
T2 Timer: 2.00 seconds DP Timer: 500 milliseconds
Standard Version: 1984 Network Type: CCITT
Disconnect Procedure: passive
Window Size Frame: 7 Packet: 2
Packet Size Default: 128 Maximum: 256
list protocols
X.25 protocol configurationProtocol Window Packet-Size Max
Number Size Default Maximum Time VCs
0 4 128 256 10 6
5 2 128 256 30 6
pvc
Lists all the defined PVCs.
Example: list pvc
X.25 PVC configurationPrtcl X.25 Address Window Pkt_len Pkt_chan
0 8383838383 4 1024 3
summary
Lists all the values established by the set and enable commands. The following example is of an RBX Series router.
Example: list summary
X.25 Configuration Summary
Node Address: 12345
Max Calls Out: 4 Inter-Frame Delay: 1
Speed: 0 Clocking: External
MTU: 1500 Cable: V.35 DTE
Default Window: 2 SVC idle: 30 seconds
National Personality: GTE Telenet (DTE)
PVC low: 0 high: 0
Inbound low: 0 high: 0
Two-Way low: 1 high: 64
Outbound low: 0 high: 0
Throughput Class in bps Inbound: 2400
Throughput Class in bps Outbound: 2400
List [M]
Displays the current active PVCs and SVCs.
Syntax: list
list pvcs
list svcs
HCN/ Destination Originate Transmits Protocol Totals
State Address Call Queued Encapsulated Xmts Rcvs Resets
13 D 898280077113 YES 0 IP 8943 261
1 20 D 898280077114 NO 0 IP 943 43
0 40 D 898280077115 YES 0 DN 567 104
0 42 P 898280077116 YES 6 IP 0 0
0 23 C 898280077117 YES 0 IP 3054 110 0
D - Data Transfer P - Call Progressing
C - Call Clearing
national disable accept-reverse-charges
national disable ccitt
national disable clear-w/diag
national disable flow-control-negotiation
national disable multi-link-addresses
national disable osi-84
national disable osi-88
national disable packet-layer-restarts
national disable request-reverse-charges
national disable reset-w/diag
national disable restart-w/diag
national disable suppress-calling-addresses
national disable suppress-idle-frame-rr
national disable suppress-non-zero-cause
national disable throughput-class-negotiation
national enable accept-reverse-charges
national enable ccitt
national enable clear-w/diag
national enable flow-control-negotiation
national enable multi-link-addresses
national enable osi-84
national enable osi-88
national enable packet-layer-restarts
national enable request-reverse-charges
national enable reset-w/diag
national enable restart-w/diag
national enable suppresses-calling-addresses
national enable suppress-idle-frame-rr
national enable suppress-non-zero-cause
national enable throughput-class-negotiation
national restore all
national restore accept-reverse-charges
national restore call-req
national restore ccitt
national restore clear-req retries
national restore clear-w/diag
national restore disconnect-procedure passive
national restore DP-timer
national restore flow-control- negotiation
national restore frame-window-size
national restore multi-link-addresses
national restore network-type CCITT
national restore n2-timeouts
national restore osi-84
national restore osi-88
national restore packet-size default
national restore packet-layer-restarts
national restore request-reverse-charges
national restore reset retries
national restore reset-w/diag
national restore restart retries
national restore restart timer
national restore standard-version
national restore suppress-calling-address
national restore suppress-idle-frame-rr
national restore suppress-non-zero-cause
national restore throughput-class-negotiation
national restore t1-timer
national restore t2-timer
national set call-req 10
Example:
national set clear-req retries disconnect-procedure passive or active
The type of disconnect procedure to use when disconnecting. Passive specifies that DISC frames are not used when disconnecting. Active specifies that DISC frames are used when disconnecting.
Example: national set disconnect-procedure active dp-timer # of milliseconds
The number of milliseconds that the frame level remains in a disconnected state. Zero indicates immediate transition from disconnected phase to link setup state.
Example: national set dp-timer 500 frame-window-size
The number of frames that can be outstanding before acknowledgement.
Example: national set frame-window-size network-type CCITT or DDN
The type of network being supported. CCITT specifies the CCITT convention. DDN specifies the DDN convention.
Example: national set network-type ccitt n2-timeouts # of timeouts
The number of times the T1 timer can expire before a state change.
Example: national set n2-timeouts 15 packet-size default or max or window
The size of the packet.
Example: national set packet-size default
reset retries or timer
Specifies the number of reset request retransmissions.
Example: national set reset timer restart retries or timer
Specifies the number of restart request transmissions.
Example: national set restart retries
standard-version v1980 or v1984 or v1988
Determines some of the default settings. Options are v1980, v1984, and v1988.
Example: national set standard-version v1988 t1-timer # of seconds
The frame retransmit time in hundredths of a second. The range is 0.05 to 255.99. The default is 4.00 seconds.
Example: national set t1-timer 5.25 t2-timer # of seconds
The amount of time to delay before acknowledging an I-frame. This is an optimization parameter. Setting the timer to 0.00 disables it. The range is 0.00 to 255.99. The default is 2.00.
Example: national set t2-timer 10 Parameters [M]
Displays the parameters for any level of the X.25 configuration.
Syntax: parameters
parameters all
Physical Layer Parameters:
Interface Type = V.35
Maximum Frame Size = 1030 InterFrame Delay = 0
Configured Speed = 0 Clocking =Internal
Protocol Enabled = YES
Frame Layer Parameters:
Maximum Frame Size = 262 Maximum Window Size = 7
Protocol Enabled = YES Equipment Type = DTE
T1 Retransmit Timer = 4 T2 Acknowledge Timer = 2
N2 Retry Counter = 20 Disconnect Procedure =PASSIVE
Disconnect Timer = 500 Network Type = GTE
Protocol Options: Inhibit Idle RRs NO MOD 128 NO
A/B Addressing YES Enable SARM NO
Packet Layer Parameters:
Default Packet Size = 128 Maximum Packet Size= 256
Log 2 Packet size = 2 Acknowledge Delay = 0
Layer Enabled = YES Default Window Size = 2
Lowest SVC = 1 Highest SVC = 64
Lowest PVC = 0 Highest PVC = 0
Clear Diagnostic = YES Reset Diagnostic = YES
Restart Diagnostic = YES T21 (Call) = 20
T20 (Restart) = 18 R20 (Retry) = 1
T22 (Reset) = 18 R22 (Retry) = 1
T23 (Clear) = 18 R23 (Retry) = 1
Network Type = GTE Equipment Type = DTE
parameters frame
Frame Layer Parameters:Maximum Frame Size = 262 Maximum Window Size = 7
Protocol Enabled = YES Equipment Type = DTE
T1 Retransmit Timer = 4 T2 Acknowledge Timer = 2
N2 Retry Counter = 20 Disconnect Procedure = PASSIVE
Disconnect Timer = 500 Network Type = GTE
Protocol Options: Inhibit Idle RRs NO MOD 128 NO
A/B Addressing YES Enable SARM NO
parameters packet
Packet Layer Parameters:
Default Packet Size = 128 Maximum Packet Size = 256
Log 2 Packet size = 2 Acknowledge Delay = 0
Layer Enabled = YES Default Window Size = 2
Lowest SVC = 1 Highest SVC = 64
Lowest PVC = 0 Highest PVC = 0
Clear Diagnostic = YES Reset Diagnostic = YES
Restart Diagnostic = YES T21 (Call) = 20
T20 (Restart) = 18 R20 (Retry) = 1
T22 (Reset) = 18 R22 (Retry) = 1
T23 (Clear) = 18 R23 (Retry) = 1
Network Type = GTE Equipment Type = DTE
parameters physical
Physical Layer Parameters:
Interface Type = RS-449Maximum Frame Size = 1030 InterFrame Delay = 0
Configured Speed = 0 Clocking = External
Protocol Enabled = YES
set address
address? 8982800
set cable RS-232 DTE
set calls-out 3
set clocking internal
set default-window-size 3
set equipment-type DCE
set htf-address 11.42.0.137
set inter-frame-delay 1
set mtu 2048
set national-personality DDN
set pvc low 40
| Interface | Valid Setting |
| CNX Twin | 300 to 6250000 |
| DNX 350 | 300 to 8000000 |
| RBX Series | 300 to 10000000 |
However, the software supports speeds up to 256000 bps only. The default is 9600.
Example:
set speed 19200 svc low-inbound or high-inbound or low-two-way or high-two-way or low-outbound or high-outbound value
Defines the lowest to the highest SVC channel number.
Example: set svc low-two-way 1
throughput-class inbound or outbound bit-rate
Defines the throughput class requested when making a call request while throughput negotiation is enabled. The default bit-rate is 2400 bps.
Example: set throughput-class inbound
throughput class inbound (2400)?
set vc-idle 40
statistics all
statistics frame
Frame Layer Counters: Received Transmitted
Information Frames 0 0
RR Command 0 0
RR Response 0 0
RNR Command 0 0
RNR Response 0 0
REJ Command 0 0
REJ Response 0 0
SABM 0 71
SABME 0 0
UA 0 0
DISC 0 0
DM 0 0
FRMR 0 0
T1 Timeouts 0 T2 Timeouts 0 N2 Timeouts 1
Bad Address 0 Unsolicited F-Bit 0 Invalid Ctl 0
Frame Layer Miscellaneous:
Queued Output Frames = 0 Protocol Layer State = Link Setup
Send Sequence N(S) = 0 Receive Sequence N(R) = 0
statistics packet
Packet Counters: Received Transmitted
Call Request 0 0
Call Accepted 0 0
Clear Request 0 0
Clear Confirm 0 0
Interrupt Request 0 0
Interrupt Confirm 0 0
RR Packet 0 0
RNR Packet 0 0
REJ Packet 0 0
Reset Request 0 0
Reset Confirm 0 0
Restart Request 0 0
Restart Confirm 0 0
Diagnostic 0 0
Data Packet 0 0
Data Bytes 0 0
Buffers Queued 0 0
Invalid Packets Received = 0
Switched Circuits Opened = 0
statistics physicalDNX Series Output:
Physical Layer Counters:
Modem Floods 0 Active Signals DSR CTS
Rx Frames 0 Tx Frames 68
Rx Bytes 0 Tx Bytes 136
Rx CRC Errors 0 Tx Abort Requested 0
Rx Buffer overruns 0 Tx Abort (no CTS) 0
Rx FIFO overruns 0 Tx FIFO underruns 0
Rx Packets Dropped 0 Line Speed 0
Rx DDLC overruns 0
X.25 Physical Layer Counters:
Rx Bytes 23 Tx Bytes 98
Level converter: RS-449/X.21 Adapter cable: RS-449 DTE
V.24 circuit: 105 106 107 108 109 111 116 125 135 140 141 142
Nicknames: RTS CTS DSR DTR DCD RI
RS-449: RS CS DM TR RR SR SS IC IS RL LL TM
State: ON ON ON ON OFF ON OFF OFF ON OFF OFF ON
Line speed (assumed): 1 Mbps
Last port reset: 1 minute, 38 seconds ago
Input frame errors:
CRC error 2039941 alignment (byte length) 633707
too short (<2 bytes)229820 too long (> 1506 bytes) 0
aborted frame 957668 DMA/FIFO overrun 128
Output frame counters:
DMA/FIFO underrun errors 0 Output aborts sent 162