Table Of Contents
X.25 Switch Local Acknowledgment
Flow Control Parameter Negotiation
Asymmetrical Windows and Packets
Supported Standards, MIBs, and RFCs
Configuring X.25 Switch Local Acknowledgment
Configuring Flow Control Parameter Negotiation
Verifying Local Acknowledgment
Verifying Flow Control Parameter Negotiation
Configuring Local Acknowledgment
Configuring Flow Control Always
Configuring Flow Control Never
X.25 Switch Local Acknowledgment
This feature module describes the X.25 Switch Local Acknowledgment feature. It includes information on the benefits of the new feature, supported platforms, related documents, and so forth.
This document contains the following sections:
•
Supported Standards, MIBs, and RFCs
Feature Overview
This feature permits X.25 local acknowledgment on any router and allows switching between devices with unmatched window and data packet sizes—asymmetrical flow control.
With this feature, Cisco IOS software now supports local acknowledgment in addition to end-to-end acknowledgment, asymmetrical window and packet sizes, and further enhancements to flow control parameter negotiation.
Prior to this feature, end-to-end acknowledgment was the only option. This condition resulted in lower overall throughput and restrictive performance because an endpoint could only have a maximum number of its packets in transit at any given time. It could not send more packets until all had been acknowledged by the transmission and receipt of the delivery confirming packet containing the D-bit.
Window size dictates the number of packets that can be sent before the window closes. At this point, no more packets can be sent until a local acknowledgment is transmitted by the router. Packet size is the maximum size of packets a router can send or receive.
The X.25 Switch Local Acknowledgment feature applies to all switched services such as X.25, CMNS, XOT, and Annex G, and may be used wherever X.25 routing is configured. The main components of this feature are local acknowledgment, flow control parameter negotiation, and asymmetrical windows and packets.
Local Acknowledgment
Local acknowledgment means that the Cisco router can send acknowledgments for packets that do not have the D-bit set, before receiving an acknowledgment from the interface to which the packet was forwarded. This results in higher throughput of packets as acknowledgment is transmitted between local hops much faster and more efficiently than between end-to-end hops.
shows the Cisco router receiving packets from DTE A destined for DTE B. Without local acknowledgment enabled, the router forwards packets to the X.25 network and then forwards acknowledgments from the network back to DTE A. With local acknowledgment enabled, the router can acknowledge packets received from DTE A before it has received acknowledgments from the network for the forwarded packets. In this illustration, the X.25 network may also generate local acknowledgments.
Figure 1 Local Acknowledgment between DTE A and DTE B
Flow Control Parameter Negotiation
Flow control is an X.25 optional user facility. Using the new x25 subscribe flow-control command, it permits flow control parameter negotiation of packet sizes and window sizes. This command can be altered to one of three states—default behavior (no x25 subscribe flow-control), facilities always included, or facilities never included (flow control parameter negotiation is not enabled). By default, these flow control parameter negotiation facilities are included in call setup (outgoing) packets only when their values differ from the default values.
When flow control parameter negotiation is enabled, the two new X.25 commands—x25 subscribe windowsize and x25 subscribe packetsize—allow you to configure flow control restrictions by specifying window size and packet size ranges for permitted and target values. A value that cannot be negotiated into the permitted range is treated as illegal, causing the call to fail. The router first attempts values within the target range, but allows values outside the target range to be considered as long as the range complies with procedures defined in the ITU-T Recommendation X.25. With this feature, the Cisco router allows different flow control value configurations and acceptable window and packet size formats for both DTE devices.
Flow control parameter negotiation was available in the Cisco router prior to this feature, but devices without it were unable to negotiate consistent flow control values across the link, and so had to be configured with compatible values.
Asymmetrical Windows and Packets
Asymmetrical windows and packets require that flow control parameter negotiation be disabled (using the x25 flow control never command) and local acknowledgment is enabled (using the x25 routing local acknowledgment command). Before X.25 local acknowledgment, consistent window and packet sizes were required, such as in the following examples on serial interfaces 0 and 1:
•
serial interface 0: window in 7, window out 7; packet in 512, packet out 512
•
serial interface 1: window in 7, window out 7; packet in 512, packet out 512
Asymmetrical window and packet sizes are now supported, such as in the following examples on serial interfaces 0 and 1:
•
serial interface 0: window in 2, window out 3; packet in 256, packet out 512
•
serial interface 1: window in 4, window out 5; packet in 128, packet out 512
For data flow from a channel with a smaller packet size than its outbound channel, the switch may combine data packets, and for a channel with a larger packet size than its outbound channel, the switch will fragment the packets.
shows asymmetrical configuration of the Cisco router (reference: ITU-T Recommendation X.25, Table 4-1/X.25). DTE A (window size 3; packet size 128) and DTE B (window size 5; packet size 256) are able to communicate despite differing window and packet sizes.
Figure 2 Asymmetrical Flow Control between DTE A and DTE B
Benefits
Controlled Flow Control Parameter Negotiation
The ability to disable flow control parameter negotiation provides compatibility with equipment that does not support flow control parameter negotiation. Similarly, forcing flow control parameter negotiation provides compatibility with devices that require the flow control parameter negotiation facilities to be present in all calls.
Asymmetrical Window Size and Packet Size Support
Cisco routers can now support asymmetrical windows and packet sizes.
Improved Data Throughput
Increased overall connectivity throughput may be achieved because the window and packet acknowledgment is local to the sending and receiving DTE devices rather than end-to-end.
Increased Connectivity between Devices
Devices can switch between channels that have unmatched window sizes and data packet sizes.
Supported Platforms
•
Cisco 800 series
•
Cisco 1600 series
•
Cisco 1700 series
•
Cisco 2500 series
•
Cisco 2600 series
•
Cisco 3600 series
•
Cisco 4000 series (Cisco 4000, 4000-M, 4500, 4500-M, 4700, 4700-M)
•
Cisco 7200 series
•
Cisco 7500 series
•
Cisco AS5100 series
•
Cisco AS5200 series
•
Cisco AS5300 series
•
Cisco AS5800 series
•
Cisco MC3810 multi service concentrator
Supported Standards, MIBs, and RFCs
Standards
•
ITU-T Recommendation X.25.
MIBs
•
None
For descriptions of supported MIBs and how to use MIBs, see the Cisco MIB web site on CCO at http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml.
RFCs
•
None
Configuration Tasks
See the following sections for configuration tasks for the X.25 Switch Local Acknowledgment feature. Each task in the list indicates if the task is optional or required.
•
Configuring X.25 Switch Local Acknowledgment
•
Configuring Flow Control Parameter Negotiation (Optional)
Configuring X.25 Switch Local Acknowledgment
To configure the X.25 Switch Local Acknowledgment feature, you must enable the x25 routing acknowledge local command.
Command Purpose Router(config)# x25 routing acknowledge localEnables X.25 switching with local acknowledgment.
Configuring Flow Control Parameter Negotiation
To control packet transmission flow values on the interface, use one or more of the flow control commands—x25 subscribe windowsize, x25 subscribe packetsize, or x25 subscribe flow-control.
The flow control subscription commands may be applied to an X.25 interface, to an X.25 profile, or to a LAN interface on which the cmns enable command has been configured. For XOT, the flow control parameter negotiation facilities are always included (the equivalent of x25 subscribe flow-control always).
Verifying Local Acknowledgment
To verify the local acknowledgment setting of the X.25 Switch Local Acknowledgment feature, use the show running-configuration command in EXEC mode. In the following example, X.25 encapsulation has been set on serial interface 1/4 with acknowledgment set to "local":
Router# show running-configurationx25 routing acknowledge localYou can also use the show protocol command in EXEC mode to verify local acknowledgment.
Router# show protocolGlobal values:Internet Protocol routing is enabledX.25 routing is enabled, acknowledgements have local significance onlyVerifying Flow Control Parameter Negotiation
To verify the flow control settings of the X.25 Switch Local Acknowledgment feature, use the show running-configuration command in EXEC mode. In the following example, X.25 encapsulation has been set on serial interface 1/4 with flow control negotiation set to "always." Permitted packet sizes are set at 64 (minimum) and 1024 (maximum), with target packet sizes set at 128 (minimum) and 1024 (maximum). Permitted window sizes are set at 1 (minimum) and 7 (maximum), with target window sizes set at 2 (minimum) and 4 (maximum):
Router# show running-configurationx25 subscribe flow-control alwaysx25 subscribe packetsize permit 64 1024 target 128 1024x25 subscribe windowsize permit 1 7 target 2 4Configuration Examples
This section provides the following configuration examples:
•
Configuring Local Acknowledgment
•
Configuring Flow Control Always
•
Configuring Flow Control Never
Configuring Local Acknowledgment
The following example shows X.25 local acknowledgment being configured on the router.
Router(config)# x25 routing acknowledge localConfiguring Flow Control Always
The following example shows X.25 routing with local acknowledgment being enabled globally and flow control negotiation being enabled on serial interface 1/4. Window size ranges are set at a permitted rate of 1 (minimum) and 7 (maximum) and target rate of 2 (minimum) and 4 (maximum). Packet size ranges are set at a permitted rate of 64 (minimum) and 1024 (maximum), and target rate of 128 (minimum) and 1024 (maximum).
Router(config)# x25 routing acknowledge localRouter(config)# interface serial 1/4Router(config-if)# encapsulation x25 dteRouter(config-if)# x25 subscribe flow-control alwaysRouter(config-if)# x25 subscribe windowsize permit 1 7 target 2 4Router(config-if)# x25 subscribe packetsize permit 64 1024 target 128 1024You do not have to configure window and packet size ranges, because their default settings are appropriate for most configurations. The following example shows X.25 routing with local acknowledgment being enabled globally and flow control negotiation being enabled on serial interface 1/4 with default window and packet size settings:
Router(config)# interface serial 1/4Router(config-if)# encapsulation x25 dteRouter(config-if)# x25 subscribe flow-control alwaysConfiguring Flow Control Never
The following example shows X.25 routing with local acknowledgment being enabled globally and flow control negotiation disabled on serial interface 1/4. Because flow control parameter negotiation has been disabled, it is inappropriate to set the window and packet size ranges.
Router(config)# x25 routing acknowledge localRouter(config)# interface serial 1/4Router(config-if)# encapsulation x25 dteRouter(config-if)# x25 subscribe flow-control neverCommand Reference
This section documents new or modified commands. All other commands used with this feature are documented in the Cisco IOS Release 12.0 command reference publications.
x25 profile
To configure an X.25 profile without allocating any hardware specific information, use the x25 profile command in global configuration mode. To delete this profile, use the no form of this command.
x25 profile name {dce | dte | dxe}
no x25 profile name
Syntax Description
name
X.25 profile name that you assign.
dce
Indicates a DCE interface.
dte
Indicates a DTE interface.
dxe
Indicates a DXE interface.
Defaults
dte
Command Modes
Global configuration
Command History
Release Modification12.0(3)T
This command was introduced.
12.0(7)T
The x25 subscribe flow-control command was added to the X.25 profile configuration mode X.25 options.
Usage Guidelines
You can enable many X.25 commands in X.25 profile configuration mode. lists the following X.25 commands in X.25 profile configuration mode which you may use to create your X.25 profile:
lists the following LAPB commands in X.25 configuration mode which you may use to create your X.25 profile:
Examples
The following example shows the NetworkNodeA profile being set as a DCE interface, and with x25 htc, x25 idle, x25 accept-reverse, and x25 modulo commands enabled:
Router(config)# x25 profile NetworkNodeA dceRouter(config-x25)# x25 htc 128Router(config-x25)# x25 idle 5Router(config-x25)# x25 accept-reverseRouter(config-x25)# x25 modulo 128Related Commands
x25 routing
To enable X.25 switching or tunneling, use the x25 routing global configuration command. To disable the forwarding of X.25 calls, use the no form of this command.
x25 routing [acknowledge local | acknowledge end-to-end] [tcp-use-if-defs]
no x25 routing [acknowledge local | acknowledge end-to-end] [tcp-use-if-defs]
Syntax Description
Defaults
None
Command Modes
Global configuration
Command History
Release Modification10.0
This command was introduced.
12.0(7)T
The acknowledge local and acknowledge end-to-end keywords were added.
Usage Guidelines
The x25 routing command enables X.25 switching between the X.25 services (X.25, Connection-Mode Network Service (CMNS) and X.25 over TCP (XOT), and Annex G). X.25 calls will not be forwarded until this command is issued.
Keywords acknowledge local and acknowledge end-to-end are optional, with acknowledge end-to-end being the default. To confirm what type of acknowledgment has been set, use the show protocol command.
The tcp-use-if-defs keyword may be needed for receiving XOT calls from routers using older software versions. Normally, calls received over a TCP connection (remote routing reception) will have the flow control parameters (window sizes and maximum packet sizes) indicated, because proper operation of routed X.25 requires that these values match at both ends of the connection.
Some previous versions of Cisco IOS software, however, do not ensure that these values are present in all calls. In this case, the Cisco IOS software normally forces universally acceptable flow control values (window sizes of 2 and maximum packet sizes of 128) on the connection. Because some equipment disallows modification of the flow control values in the call confirm, the tcp-use-if-defs keyword causes the router to use the default flow control values of the outgoing interface and indicate the resulting values in the call confirm. This modified behavior may allow easier migration to newer versions of the Cisco IOS software.
Examples
The following example enables X.25 routing:
x25 routingThe following example enables X.25 routing with local acknowledgment:
x25 routing acknowledge localx25 subscribe flow-control
To control flow control parameter negotiation facilities in call setup packets, use the x25 subscribe flow-control interface configuration command. This command has three states—default behavior (no x25 subscribe flow-control), facilities always included, or facilities never included (flow control parameter negotiation is not enabled). To have flow control parameter negotiation facilities included in call setup (outgoing) packets only when their values differ from the default values, use the no form of this command.
x25 subscribe flow-control {always | never}
no x25 subscribe flow-control
Syntax Description
Defaults
Flow control parameter negotiation facilities are included only when the parameter values differ from the default values.
Command Modes
Interface or X.25 profile configurations
Command History
Usage Guidelines
This command controls inclusion of the X.25 flow control parameter negotiation facilities in call setup packets. By default, these facilities are included in call setup packets only when their values differ from the default values.
Configuring the no x25 subscribe flow-control command restores the default behavior. This only includes facilities outbound call setup packets when the requested values do not match the interface defaults.
Examples
The following example shows flow control parameter negotiation disabled on serial interface 1/4:
Router(config)# interface serial 1/4Router(config-if)# x25 subscribe flow-control neverRelated Commands
x25 subscribe packetsize
To set permitted and target ranges for packet size during flow control negotiation, use the x25 subscribe packetsize interface configuration command. To revert to the default packet size ranges, use the no form of this command.
x25 subscribe packetsize {permit pmin pmax | target pmin pmax}
no x25 subscribe packetsize {permit pmin pmax | target pmin pmax}
Syntax Description
Defaults
None
Command Modes
Interface configurations
Command History
Usage Guidelines
The x25 subscribe packetsize command lets you specify the range of permitted and target values for packet size. These are called flow control parameter negotiation facilities. You can specify the permitted minimum and maximum packet sizes and target values for packet transmission (16 to 4096 as a power of two). Setting these values outside the permitted range will result in connection failure. The router attempts to negotiate values within the target range, but will only allow values outside the target range to be negotiated as long as the negotiation complies with the procedure defined in X.25 recommendations.
This command should be configured separately on both the data terminal equipment (DTE) and data circuit-terminating equipment (DCE), so that the permit range will be compatible and calls will be able to pass through the network. The target range is less critical. It only needs to be set on the Cisco router conducting the switching.
The effective ranges will be further constrained by other configuration options including the selection of normal (modulo 8) or extended (modulo 128) sequence numbers, the maximum packet size supported by the interface, and the x25 subscribe flow-control command.
Examples
The following example shows X.25 local acknowledgment being configured on serial interface 1/4, with packet size ranges being set at a permitted rate of 64 (minimum) and 1024 (maximum) and target rate of 128 (minimum) and 1024 (maximum):
Router(config)# x25 routing acknowledge localRouter(config)# interface serial 1/4Router(config-if)# encapsulation x25 dteRouter(config-if)# x25 subscribe packetsize permit 64 1024 target 128 1024Related Commands
x25 subscribe windowsize
To set permitted and target ranges for window size during flow control negotiation, use the x25 subscribe windowsize interface configuration command. To revert to the default window size ranges, use the no form of this command.
x25 subscribe windowsize {permit wmin wmax | target wmin wmax}
no x25 subscribe windowsize {permit wmin wmax | target wmin wmax}
Syntax Description
Defaults
None
Command Modes
Interface configurations
Command History
Usage Guidelines
The x25 subscribe windowsize command lets you specify the range of permitted and target values for window size. These are called flow control values. You can specify the permitted minimum and maximum window size permitted and target values for packet transmission (1 to 127) at one time. Setting these values outside the permitted range may result in connection failure. The router attempts to negotiate values within the target range, but will only allow values outside the target range to be negotiated as long as the negotiation complies with the procedure defined in X.25 recommendations.
The effective ranges will be further constrained by other configuration options including the selection of normal (modulo 8) or extended (modulo 128) sequence numbers, the maximum window size supported by the interface, and the x25 subscribe flow-control command.
Examples
The following example shows X.25 local acknowledgment being configured on serial interface 1/4, with window size ranges being set at a permitted rate of 1 (minimum) and 7 (maximum) and target rate of 2 (minimum) and 4 (maximum):
Router(config)# x25 routing acknowledge localRouter(config)# interface serial 1/4Router(config-if)# encapsulation x25 dteRouter(config-if)# x25 subscribe windowsize permit 1 7 target 2 4Related Commands
Glossary
call request—An X.25 packet sent from a DTE (subscriber) to its DCE (network attachment) that initiates a connection to a destination DTE.
CMNS—Connection-Mode Network Service. Extends local X.25 switching to a variety of media (Ethernet, FDDI, Token Ring).
D-bit—An X.25 data packet flag used to request end-to-end acknowledgment for the packet.
DCE—data circuit-terminating equipment. Devices and connections of a communications network that comprise the network end of the user-to-network interface (for example, modem). The DCE provides a physical connection to the network, forwards traffic, and provides a clocking signal used to synchronize data transmission between DCE and DTE devices.
DTE—data terminal equipment. A device (for example, computer, protocol translator, or multiplexer) at the user end of a user-network interface that serves as a data source, destination, or both. The DTE connects to a data network through a DCE device (for example, modem) and typically uses clocking signals generated by the DCE. A network identifies each attached subscriber (DTE) by assigning an X.121 address.
end-to-end acknowledgment—This occurs when a switch only acknowledges receipt of a data packet after receiving a corresponding acknowledgment from the next hop.
local acknowledgment—This occurs when a switch acknowledges a received data packet before it has received acknowledgment of the data from the next hop.
incoming call—An X.25 packet sent from a DCE (network attachment) to its DTE (subscriber) that presents a connection requested by the source DTE.
XOT—X.25 over TCP.

