cc/td/doc/product/software/ios121/121sup/121csum1
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

X.25 and LAPB Commands

X.25 and LAPB Commands

This chapter explains the function and syntax of the X.25 and LAPB commands. For more information about defaults and usage guidelines, see the corresponding chapter of the Cisco IOS Wide-Area Networking Command Reference, Release 12.1.

access-class (X.25)

To configure an incoming access class on virtual terminals, use the access-class (X.25) line configuration command.

access-class access-list-number in

Syntax Description

access-list-number

An integer from 1 to 199 that you select for the access list.

in

Restricts incoming connections between a particular access server and the addresses in the access list.

bfe

To allow the router to participate in emergency mode or to end participation in emergency mode when the interface is configured for x25 bfe-emergency decision and x25 bfe-decision ask, use the bfe EXEC command.

bfe {enter | leave} type number

Syntax Description

enter

Causes the Cisco IOS software to send a special address translation packet that includes an enter emergency mode command to the Blacker Front End (BFE) if the emergency mode window is open. If the BFE is already in emergency mode, this command enables the sending of address translation information.

leave

Disables the sending of address translation information from the Cisco IOS software to the BFE when the BFE is in emergency mode.

type

Interface type.

number

Interface number.

clear x25

To restart an X.25 service or Connection-Mode Network Service (CMNS), to clear a switched virtual circuit (SVC), or to reset a permanent virtual circuit (PVC), use the clear x25 privileged EXEC command.

clear x25 {serial number | {ethernet | fastethernet | tokenring | fddi} number mac-address} [vc-number] | [dlci number]

Syntax Description

serial number

Local serial interface being used for X.25 service.

ethernet | fastethernet | tokenring | fddi number mac-address

Local CMNS interface (Ethernet, Fast Ethernet, Token Ring, or FDDI interface) and MAC address of the remote device; this information identifies a CMNS service.

vc-number

(Optional) SVC or PVC number, in the range 1 to 4095. If specified, the SVC is cleared or the PVC is reset. If not specified, the X.25 or CMNS service is restarted.

dlci number

(Optional) When combined with a serial interface number, it triggers a restart event for an Annex G logical X.25 VC.

clear x25-vc

The clear x25 command replaces the clear-x25-vc command. For more information, see the description of the clear x25 command earlier in this chapter.

clear xot

To clear an X.25 over TCP (XOT) switched virtual circuit (SVC) or reset an XOT permanent virtual circuit (PVC), use the clear xot EXEC command.

clear xot remote ip-address port local ip-address port

Syntax Description

remote ip-address port

Remote IP address and port number of an XOT connection ID.

local ip-address port

Local IP address and port number of an XOT connection ID.

cmns enable

To enable the Connection-Mode Network Service (CMNS) on a nonserial interface, use the cmns enable interface configuration command. To disable this capability, use the no form of this command.

cmns enable

no cmns enable

Syntax Description

This command has no arguments or keywords.

encapsulation lapb

To exchange datagrams over a serial interface using Link Access Procedure, Balanced (LAPB) encapsulation, use the encapsulation lapb interface configuration command.

encapsulation lapb [dte | dce] [multi | protocol]

Syntax Description

dte

(Optional) Specifies operation as a data terminal equipment (DTE) device. This is the default LAPB mode.

dce

(Optional) Specifies operation as a data communications equipment (DCE) device.

multi

(Optional) Specifies use of multiple local-area network (LAN) protocols to be carried on the LAPB line.

protocol

(Optional) A single protocol to be carried on the LAPB line. A single protocol can be one of the following: apollo, appletalk, clns (ISO CLNS), decnet, ip, ipx (Novell IPX), vines, and xns. IP is the default protocol.

encapsulation x25

To specify a serial interface's operation as an X.25 device, use the encapsulation x25 interface configuration command.

encapsulation x25 [dte | dce] [ddn | bfe] | [ietf]

Syntax Description

dte

(Optional) Specifies operation as a DTE. This is the default X.25 mode.

dce

(Optional) Specifies operation as a DCE.

ddn

(Optional) Specifies DDN encapsulation on an interface using DDN X.25 Standard Service.

bfe

(Optional) Specifies BFE encapsulation on an interface attached to a BFE device.

ietf

(Optional) Specifies that the interface's datagram encapsulation defaults to use of the Internet Engineering Task Force (IETF) standard method, as defined by RFC 1356.

lapb interface-outage

To specify a period during which a link will remain connected, even if a brief hardware outage occurs, use the lapb interface-outage interface configuration command.

lapb interface-outage milliseconds

Syntax Description

milliseconds

Number of milliseconds (ms) that a hardware outage can last without the protocol disconnecting the service.

lapb k

To specify the maximum permissible number of outstanding frames, called the window size, use the lapb k interface configuration command.

lapb k window-size

Syntax Description

window-size

Frame count. It can be a value from 1 to the modulo size minus 1 (the maximum is 7 if the modulo size is 8; it is 127 if the modulo size is 128).

lapb modulo

To specify the Link Access Procedure, Balanced (LAPB) basic (modulo 8) or extended (modulo 128) protocol mode, use the lapb modulo interface configuration command.

lapb modulo modulus

Syntax Description

modulus

Either 8 or 128. The value 8 specifies LAPB basic mode; the value 128 specifies LAPB extended mode.

lapb n1

To specify the maximum number of bits a frame can hold (the Link Access Procedure, Balanced [LAPB] N1 parameter), use the lapb n1 interface configuration command.

lapb n1 bits

Syntax Description

bits

Maximum number of bits in multiples of eight. The minimum and maximum range is dynamically set. Use the question mark (?) to view the range.

lapb n2

To specify the maximum number of times a data frame can be sent (the Link Access Procedure, Balanced [LAPB] N2 parameter), use the lapb n2 interface configuration command.

lapb n2 tries

Syntax Description

tries

Transmission count. It can be a value from 1 to 255.

lapb protocol

This command is obsolete. It has been replaced by the [protocol | multi] option of the encapsulation lapb command. For more information, see the description of the [protocol | multi] option of the encapsulation lapb command earlier in this chapter.

lapb t1

To set the retransmission timer period (the Link Access Procedure, Balanced [LAPB] T1 parameter), use the lapb t1 interface configuration command.

lapb t1 milliseconds

Syntax Description

milliseconds

Time in milliseconds. It can be a value from 1 to 64000.

lapb t4

To set the T4 idle timer, after which the Cisco IOS software sends out a Poll packet to determine whether the link has suffered an unsignaled failure, use the lapb t4 interface configuration command.

lapb t4 seconds

Syntax Description

seconds

Number of seconds between receipt of the last frame and transmission of the outgoing poll.

service pad

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 disable this service.

service pad [cmns][from-xot][to-xot]

no service pad [cmns][from-xot][to-xot]

Syntax Description

cmns

(Optional) Specifies sending and receiving PAD calls over CMNS.

from-xot

(Optional) Accepts XOT to PAD connections.

to-xot

(Optional) Allows outgoing PAD calls over XOT.

service pad from-xot

To permit incoming X.25 over TCP (XOT) calls to be accepted as a packet assembler/disassembler (PAD) session, use the service pad from-xot global configuration command. To disable this service, use the no form of this command.

service pad from-xot

no service pad from-xot

Syntax Description

This command has no arguments or keywords.

service pad to-xot

To permit outgoing PAD sessions to use routes to an XOT destination, use the service pad to-xot global configuration command. To disable this service, use the no form of this command.

service pad to-xot

no service pad to-xot

Syntax Description

This command has no arguments or keywords.

show cmns

To display X.25 Level 3 parameters for LAN interfaces (such as Ethernet or Token Ring) and other information pertaining to Connection-Mode Network Service (CMNS) traffic activity, use the show cmns EXEC command.

show cmns [type number]

Syntax Description

type

(Optional) Interface type.

number

(Optional) Interface number.

show x25 context

To view operating configuration status details of an Annex G DLCI link, use the show x25 context command in EXEC mode.

show x25 context [interface number dlci number]

Syntax Description

interface number

(Optional) Specific logical X.25 VC interface.

dlci number

(Optional) Specific DLCI link.

show x25 cug

To display information about all or specific (defined by the local or network closed user group (CUG) number) CUGs, use the show x25 cug EXEC command.

show x25 cug {local-cug number | network-cug number}

Syntax Description

local-cug

Locally significant CUG identifier.

number

Local CUG number (0 to 9999).

network-cug

Network translated CUG identifier.

number

Network CUG number (0 to 9999).

show x25 hunt-group

To display hunt groups and view detailed interface statistics and distribution methods, use the show x25 hunt-group EXEC command.

show x25 hunt-group [name]

Syntax Description

name

(Optional) Displays the specific hunt group named.

show x25 interface

To display information about virtual circuits (VCs) that use an X.25 interface and, optionally, about a specified virtual circuit, use the show x25 interface EXEC command.

show x25 interface [serial number | cmns-interface mac mac-address]

Syntax Description

serial number

(Optional) Keyword serial and number of the serial interface used for X.25.

cmns-interface mac mac-address

(Optional) Local CMNS interface type and number, plus the MAC address of the remote device. CMNS interface types are Ethernet, Token Ring, or FDDI. The interface numbering scheme depends on the router interface hardware.

show x25 map

To display information about configured address maps, use the show x25 map EXEC command.

show x25 map

Syntax Description

This command has no arguments or keywords.

show x25 profile

To view details of X.25 profiles on your router, use the show x25 profile command in EXEC mode.

show x25 profile [name]

Syntax Description

name

(Optional) Name of X.25 profile.

show x25 remote-red

To display the one-to-one mapping of the host IP addresses and the remote Blacker Front End (BFE) device's IP addresses, use the show x25 remote-red EXEC command.

show x25 remote-red

Syntax Description

This command has no arguments or keywords.

show x25 route

To display the X.25 routing table, use the show x25 route EXEC command.

show x25 route

Syntax Description

This command has no arguments or keywords.

show x25 services

To display information pertaining to the X.25 services, use the show x25 services EXEC command.

show x25 services

Syntax Description

This command has no arguments or keywords.

show x25 vc

To display information about active switched virtual circuits (SVCs) and permanent virtual circuits (PVCs), use the show x25 vc EXEC command.

show x25 vc [lcn]

Syntax Description

lcn

(Optional) Logical channel number (LCN).

show x25 xot

To display information for all X.25 over TCP (XOT) virtual circuits that match a given criterion, use the show x25 xot EXEC command.

show x25 xot [local ip-address [port port]] [remote ip-address [port port]]

Syntax Description

local ip-address [port port]

(Optional) Local IP address and optional port number.

remote ip-address [port port]

(Optional) Remote IP address and optional port number.

x25 accept-reverse

To configure the Cisco IOS software to accept all reverse-charge calls, use the x25 accept-reverse interface configuration command. To disable this facility, use the no form of this command.

x25 accept-reverse

no x25 accept-reverse

Syntax Description

This command has no arguments or keywords.

x25 address

To set the X.121 address of a particular network interface, use the x25 address interface configuration command.

x25 address x121-address

Syntax Description

x121-address

Variable-length X.121 address. It is assigned by the X.25 network service provider.

x25 alias

To configure an interface alias address that will allow this interface to accept calls with other destination addresses, use the x25 alias interface configuration command.

x25 alias {destination-pattern | x121-address-pattern} [cud cud-pattern]

Syntax Description

destination-pattern

Regular expression used to match against the destination address of a received call.

x121-address-pattern

Alias X.121 address for the interface, allowing it to act as destination host for calls having different destination address.

cud cud-pattern

(Optional) Call user data (CUD) pattern, a regular expression of ASCII text. The CUD field might be present in a call packet. The first few bytes (commonly 4 bytes long) identify a protocol; the specified pattern is applied to any user data after the protocol identification.

x25 bfe-decision

To specify how a router configured for x25 bfe-emergency decision will participate in emergency mode, use the x25 bfe-decision interface configuration command.

x25 bfe-decision {no | yes | ask}

Syntax Description

no

Prevents the router from participating in emergency mode and from sending address translation information to the BFE device.

yes

Allows the router to participate in emergency mode and to send address translation information to the BFE when the BFE enters emergency mode. This information is obtained from the table created by the x25 remote-red command.

ask

Configures the Cisco IOS software to prompt you to enter the bfe EXEC command.

x25 bfe-emergency

To configure the circumstances under which the router participates in emergency mode, use the x25 bfe-emergency interface configuration command.

x25 bfe-emergency {never | always | decision}

Syntax Description

never

Prevents the router from sending address translation information to the Blacker Front End (BFE). If it does not receive address translation information, the BFE cannot open a new connection for which it does not know the address.

always

Allows the router to pass address translations to the BFE when it enters emergency mode and an address translation table has been created.

decision

Directs the router to wait until it receives a diagnostic packet from the BFE device indicating that the emergency mode window is open. The window is only open when a condition exists that allows the BFE to enter emergency mode. When the diagnostic packet is received, the participation in emergency mode depends on how the router is configured with the x25 bfe-decision command.

x25 default

To set a default protocol, use the x25 default interface configuration command. To remove the default protocol specified, use the no form of this command.

x25 default protocol

no x25 default protocol

Syntax Description

protocol

Specifies the protocol to assume; may be ip or pad.

x25 facility

To force facilities on a per-call basis for calls originated by the router (switched calls are not affected), use the x25 facility interface configuration command. To disable a facility, use the no form of this command.

x25 facility option value

no x25 facility option value

Syntax Description

option

Set of user facilities options. See Table 16 for a list of supported facilities and their values.

value

Option value. See Table 16 for a list of supported facilities and their values.

Table 16 lists the set of x25 facility command user facilities options.


Table 16: x25 facility User Facilities Options
User Facilities Option Description

cug number

Specifies a closed user group (CUG) number; CUGs 1 to 9999 are allowed. CUGs can be used by a public data network (PDN) to create a virtual private network within the larger network and to restrict access.

packetsize in-size out-size

Proposes input maximum packet size (in-size) and output maximum packet size (out-size) for flow control parameter negotiation. Both values must be one of the following values: 16, 32, 64, 128, 256, 512, 1024, 2048, or 4096.

windowsize in-size out-size

Proposes the packet count for input windows (in-size) and output windows (out-size) for flow control parameter negotiation. Both values must be in the range 1 to 127 and must not be greater than or equal to the value set for the x25 modulo command.

reverse

Specifies reverses charging on all calls originated by the interface.

throughput in out

Sets the requested throughput class negotiation values for input (in) and output (out) throughput across the network. Values for in and out are in bits per second (bps) and range from 75 to 64000 bps.

transit-delay value

Specifies a network transit delay to request for the duration of outgoing calls for networks that support transit delay. The transit delay value can be between 0 and 65534 milliseconds.

roa name

Specifies the name defined by the x25 roa command for a list of transit Recognized Operation Agencies (ROAs) to use in outgoing Call Request packets.

x25 hic

To set the highest incoming-only virtual circuit (VC) number, use the x25 hic interface configuration command.

x25 hic circuit-number

Syntax Description

circuit-number

VC number from 1 to 4095, or 0 if there is no incoming-only VC range.

x25 hoc

To set the highest outgoing-only virtual circuit (VC) number, use the x25 hoc interface configuration command.

x25 hoc circuit-number

Syntax Description

circuit-number

VC number from 1 to 4095, or 0 if there is no incoming-only VC range.

x25 hold-queue

To set the maximum number of packets to hold until a virtual circuit (VC) is able to send, use the x25 hold-queue interface configuration command. To remove this command from the configuration file and restore the default value, use the no form of this command without an argument.

x25 hold-queue packets

no x25 hold-queue [packets]

Syntax Description

packets

Number of packets. A hold queue value of 0 allows an unlimited number of packets in the hold queue. This argument is optional for the no form of this command.

x25 hold-vc-timer

To start the timer that prevents additional calls to a destination for a given period of time (thus preventing overruns on some X.25 switches caused by Call Request packets), use the x25 hold-vc-timer interface configuration command. To restore the default value for the timer, use the no form of this command.

x25 hold-vc-timer minutes

no x25 hold-vc-timer

Syntax Description

minutes

Number of minutes to prevent calls from trying a previously failed destination. Incoming calls are still accepted.

x25 host

To define a static host name-to-address mapping, use the x25 host global configuration command. To remove the host name, use the no form of the command.

x25 host name x121-address [cud call-user-data]

no x25 host name

Syntax Description

name

Host name.

x121-address

The X.121 address.

cud call-user-data

(Optional) Sets the Call User Data (CUD) field in the X.25 Call Request packet.

x25 htc

To set the highest two-way virtual circuit (VC) number, use the x25 htc interface configuration command.

x25 htc circuit-number

Syntax Description

circuit-number

VC number from 1 to 4095, or 0 if there is no two-way VC range.

x25 hunt-group

To create and maintain a hunt group, use the x25 hunt-group global configuration command. To delete this hunt group, use the no form of this command.

x25 hunt-group name {rotary | vc-count}

no x25 hunt-group name

Syntax Description

name

Name you assign to the particular hunt group.

rotary

Each call steps to the next interface.

vc-count

Each call is placed on the interface with most available logical channels.

x25 idle

To define the period of inactivity after which the router can clear a switched virtual circuit (SVC), use the x25 idle interface configuration command.

x25 idle minutes

Syntax Description

minutes

Idle period in minutes.

x25 ip-precedence

To enable the Cisco IOS software to use the IP precedence value when it opens a new virtual circuit (VC), use the x25 ip-precedence interface configuration command. To cause the Cisco IOS software to ignore the precedence value when opening VCs, use the no form of this command.

x25 ip-precedence

no x25 ip-precedence

Syntax Description

This command has no arguments or keywords.

x25 ips

To set the interface default maximum input packet size to match that of the network, use the x25 ips interface configuration command.

x25 ips bytes

Syntax Description

bytes

Byte count. It can be one of the following values: 16, 32, 64, 128, 256, 512, 1024, 2048, or 4096.

x25 lic

To set the lowest incoming-only virtual circuit (VC) number, use the x25 lic interface configuration command.

x25 lic circuit-number

Syntax Description

circuit-number

VC number from 1 to 4095, or 0 if there is no incoming-only VC range.

x25 linkrestart

To force X.25 Level 3 (packet level) to restart when Level 2 (Link Access Procedure, Balanced [LAPB], the link level) resets, use the x25 linkrestart interface configuration command. To disable this function, use the no form of this command.

x25 linkrestart

no x25 linkrestart

Syntax Description

This command has no arguments or keywords.

x25 loc

To set the lowest outgoing-only virtual circuit (VC) number, use the x25 loc interface configuration command.

x25 loc circuit-number

Syntax Description

circuit-number

VC number from 1 to 4095, or 0 if there is no outgoing-only VC range.

x25 ltc

To set the lowest two-way virtual circuit (VC) number, use the x25 ltc interface configuration command.

x25 ltc circuit-number

Syntax Description

circuit-number

VC number from 1 to 4095, or 0 if there is no two-way VC range.

x25 map

To set up the LAN protocols-to-remote host mapping, use the x25 map interface configuration command. To retract a prior mapping, use the no form of this command with the appropriate network protocol(s) and X.121 address argument.

x25 map protocol address [protocol2 address2 [...[protocol9 address9]]] x121-address [option]

no x25 map protocol address x121-address

Syntax Description

protocol

Protocol type, entered by keyword. Supported protocols are entered by keyword, as listed in Table 17. As many as nine protocol and address pairs can be specified in one command line.

address

Protocol address.

x121-address

X.121 address of the remote host.

option

(Optional) Additional functionality that can be specified for originated calls. Can be any of the options listed in Table 18.

Table 17 lists the protocols supported by X.25.


Table 17: Protocols Supported by X.25
Keyword Protocol

apollo

Apollo Domain

appletalk

AppleTalk

bridge

Bridging1

clns

ISO Connectionless Network Service

compressedtcp

TCP/IP header compression

decnet

DECnet

ip

IP

ipx

Novell IPX

pad

PAD links2

qllc

System Network Architecture (SNA) encapsulation in X.253

vines

Banyan VINES

xns

XNS

1Bridging traffic is supported only for Cisco's traditional encapsulation method, so a bridge map cannot specify other protocols.
2Packet assembler/disassembler (PAD) maps are used to configure session and protocol translation access; therefore, this protocol is not available for multiprotocol encapsulation.
3Qualified Logical Link Control (QLLC) is not available for multiprotocol encapsulation.

Table 18 lists the map options supported by X.25 using the x25 map command.


Table 18: x25 map Options
Option Description

compress

Specifies that X.25 payload compression be used for mapping the traffic to this host. Each virtual circuit established for compressed traffic uses a significant amount of memory (for a table of learned data patterns) and for computation (for compression and decompression of all data). Cisco recommends that compression be used with careful consideration of its impact on overall performance.

method {cisco | ietf | snap | multi}

Specifies the encapsulation method. The choices are as follows:

no-incoming

Uses the map only to originate calls.

no-outgoing

Do es not originate calls when using the map.

idle minutes

Specifies an idle timeout for calls other than the interface default; 0 minutes disables the idle timeout.

reverse

Specifies reverse charging for outgoing calls.

accept-reverse

Causes the Cisco IOS software to accept incoming reverse-charged calls. If this option is not present, the Cisco IOS software clears reverse-charged calls unless the interface accepts all reverse-charged calls.

broadcast

Causes the Cisco IOS software to direct any broadcasts sent through this interface to the specified X.121 address.

cug group-number

Specifies a closed user group number (from 1 to 9999) for the mapping in an outgoing call.

nvc count

Sets the maximum number of virtual circuits for this map or host. The default count is the x25 nvc setting of the interface. A maximum number of eight virtual circuits can be configured for each map. Compressed TCP may use only 1 virtual circuit.

packetsize in-size out-size

Proposes maximum input packet size (in-size) and maximum output packet size (out-size) for an outgoing call. Both values typically are the same and must be one of the following values: 16, 32, 64, 128, 256, 512, 1024, 2048, or 4096.

windowsize in-size out-size

Proposes the packet count for input window (in-size) and output window (out-size) for an outgoing call. Both values are typically the same, must be in the range 1 to 127, and must be less than the value set by the x25 modulo command.

throughput in out

Sets the requested throughput class values for input (in) and output (out) throughput across the network for an outgoing call. Values for in and out are in bits per second (bps) and range from 75 to 48000 bps.

transit-delay milliseconds

Specifies the transit delay value in milliseconds (0 to 65534) for an outgoing call, for networks that support transit delay.

nuid username password

Specifies that a network user ID (NUID) facility be sent in the outgoing call with the specified Terminal Access Controller Access Control System (TACACS) username and password (in a format defined by Cisco). This option should be used only when connecting to another Cisco router. The combined length of the username and password should not exceed 127 characters. This option only works if the router is configured as an X.25 DTE.

nudata string

Specifies the network user identification in a format determined by the network administrator (as allowed by the standards). This option is provided for connecting to non-Cisco equipment that requires an NUID facility. The string should not exceed 130 characters and must be enclosed in quotation marks (" ") if there are any spaces present. This option only works if the router is configured as an X.25 DTE.

roa name

Specifies the name defined by the x25 roa command for a list of transit Recognized Operating Agencies (ROAs, formerly called Recognized Private Operating Agencies, or RPOAs) to use in outgoing Call Request packets.

passive

Specifies that the X.25 interface should send compressed outgoing TCP datagrams only if they were already compressed when they were received. This option is available only for compressed TCP maps.

x25 map bridge

To configure an Internet-to-X.121 address mapping for bridging of packets in X.25 frames, use the x25 map bridge interface configuration command. Use the no form of this command to disable the Internet-to-X.121 address mapping.

x25 map bridge x121-address broadcast [option]

Syntax Description

x121-address

The X.121 address.

broadcast

Required keyword for bridging over X.25.

option

(Optional) Services that can be added to this map (same options as the x25 map command).

x25 map cmns

The enhanced x25 route command replaces the x25 map cmns command. See the description of the x25 route command for more information.

x25 map compressedtcp

To map compressed TCP traffic to an X.121 address, use the x25 map compressedtcp interface configuration command. To delete a TCP/IP header compression map for the link, use the no form of this command.

x25 map compressedtcp ip-address [protocol2 address2 [...[protocol9 address9]]]
x121-address [option]

no x25 map compressedtcp address [protocol2 address2 [...[protocol9 address9]]]
x121-address

Syntax Description

ip-address

IP address.

protocol

(Optional) Protocol type, entered by keyword. Supported protocols are entered by keyword, as listed in Table 17. As many as nine protocol and address pairs can be specified in one command line.

address

(Optional) Protocol address.

x121-address

X.121 address.

option

(Optional) The same options as those for the x25 map command; see Table 18 earlier in this chapter.

x25 map pad

To configure an X.121 address mapping for packet assembler/disassembler (PAD) access over X.25, use the x25 map pad interface configuration command.

x25 map pad x121-address [option]

Syntax Description

x121-address

X.121 address of the interface.

option

(Optional) Services that can be added to this map---the same options as the x25 map command (see Table 18 earlier in this chapter).

x25 modulo

To set the window modulus, use the x25 modulo interface configuration command.

x25 modulo modulus

Syntax Description

modulus

Either 8 or 128. The value of the modulo parameter must agree with that of the device on the other end of the X.25 link.

x25 nvc

To specify the maximum number of virtual circuits (VCs) that a protocol can have open simultaneously to one host, use the x25 nvc interface configuration command. To increase throughput across networks, you can establish up to eight virtual circuits to a host and protocol.

x25 nvc count

Syntax Description

count

Circuit count from 1 to 8. A maximum of eight virtual circuits can be configured for each protocol-host pair. Protocols that do not tolerate out-of-order delivery, such as encapsulated TCP/IP header compression, will use only one virtual circuit despite this value. Permitting more than one VC may help throughput on slow networks.

x25 ops

To set the interface default maximum output packet size to match that of the network, use the x25 ops interface configuration command.

x25 ops bytes

Syntax Description

bytes

Byte count that is one of the following: 16, 32, 64, 128, 256, 512, 1024, 2048, or 4096.

x25 pad-access

To cause the packet assembler/disassembler (PAD) software to accept PAD connections only from statically mapped X.25 hosts, use the x25 pad-access interface configuration command. To disable checking maps on PAD connections, use the no form of this command.

x25 pad-access

no x25 pad-access

Syntax Description

This command has no arguments or keywords.

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.

x25 pvc (encapsulation)

To establish an encapsulation permanent virtual circuit (PVC), use the encapsulating version of the x25 pvc interface configuration command. To delete the PVC, use the no form of this command with the appropriate channel number.

x25 pvc circuit protocol address [protocol2 address2 [...[protocol9 address9]]] x121-address
[option]

no x25 pvc circuit

Syntax Description

circuit

Virtual-circuit channel number, which must be less than the virtual circuits assigned to the switched virtual circuits (SVCs).

protocol

Protocol type, entered by keyword. Supported protocols are listed in Table 19. As many as nine protocol and address pairs can be specified in one command line.

address

Protocol address of the host at the other end of the PVC.

x121-address

X.121 address.

option

(Optional) Provides additional functionality or allows X.25 parameters to be specified for the PVC. Can be any of the options listed in Table 20.

Table 19 lists supported protocols.


Table 19: Protocols Supported by X.25 PVCs
Keyword Protocol

apollo

Apollo Domain

appletalk

AppleTalk

bridge

Bridging1

clns

OSI Connectionless Network Service

compressedtcp

TCP/IP header compression

decnet

DECnet

ip

IP

ipx

Novell IPX

qllc

SNA encapsulation in X.252

vines

Banyan VINES

xns

XNS

1Bridging traffic is supported only for Cisco's traditional encapsulation method, so a bridge PVC cannot specify other protocols.
2QLLC is not available for multiprotocol encapsulation.

Table 20 lists supported X.25 PVC options.


Table 20: x25 pvc Options
Option Description

broadcast

Causes the Cisco IOS software to direct any broadcasts sent through this interface to this PVC. This option also simplifies the configuration of OSPF.

method {cisco | ietf | snap | multi}

Specifies the encapsulation method. The choices are as follows:

packetsize in-size out-size

Maximum input packet size (in-size) and output packet size (out-size) for the PVC. Both values are typically the same and must be one of the following values: 16, 32, 64, 128, 256, 512, 1024, 2048, or 4096.

passive

Specifies that transmitted TCP datagrams will be compressed only if they were received compressed. This option is available only for PVCs carrying compressed TCP/IP header traffic.

windowsize in-size out-size

Packet count for input window (in-size) and output window (out-size) for the PVC. Both values are typically the same, must be in the range 1 to 127, and must be less than the value set for the x25 modulo command.

x25 pvc (switched)

To configure a switched permanent virtual circuit (PVC) for a given interface, use the switched version of the x25 pvc interface configuration command.

x25 pvc number1 interface type number pvc number2 [option]

Syntax Description

number1

PVC number that will be used on the local interface (as defined by the primary interface command).

interface

Required keyword to specify an interface.

type

Remote interface type.

number

Remote interface number.

pvc

Required keyword to specify a switched PVC.

number2

PVC number that will be used on the remote interface.

option

(Optional) Adds certain features to the mapping specified; can be either option listed in Table 21.

Table 21 lists the switched PVC options supported by X.25.


Table 21: x25 pvc Switched PVC Options
Option Description

packetsize in-size out-size

Maximum input packet size (in-size) and output packet size (out-size) for the PVC. Both values must be one of the following values: 16, 32, 64, 128, 256, 512, 1024, 2048, or 4096.

windowsize in-size out-size

Packet count for input window (in-size) and output window (out-size) for the PVC. Both values should be the same, must be in the range 1 to 127, and must not be greater than the value set for the x25 modulo command.

x25 pvc (switched PVC to SVC)

To configure a switched permanent virtual circuit (PVC) to a switched virtual circuit (SVC) for a given interface, use the switched PVC to SVC version of the x25 pvc interface configuration command.

x25 pvc number1 svc x121-address [flow-control-options] [call-control-options]

Syntax Description

number1

Logical channel ID of the PVC. Value must be lower than any range of circuit numbers defined for SVCs.

svc

Specifies a SVC type.

x121-address

Destination X.121 address for opening an outbound SVC and source X.121 address for matching an inbound SVC.

flow-control-options

(Optional) Adds certain features to the mapping specified. It can be any of the options listed in Table 22.

call-control-options

(Optional) Adds certain features to the mapping specified. It can be any of the options listed in Table 23.

Table 22 lists the flow control options supported by X.25 during PVC to SVC switching.


Table 22: x25 pvc Flow Control Options
Option Description

packetsize in-size out-size

Maximum input packet size (in-size) and output packet size (out-size) for both the PVC and SVC. Values may differ but must be one of the following: 16, 32, 64, 128, 256, 512, 1024, 2048, or 4096.

windowsize in-size out-size

Packet count for input window (in-size) and output window (out-size) for both the PVC and SVC. Both values may differ but must be in the range 1 to 127 and must be less than the value set for the x25 modulo command.

Table 23 lists the call control options supported by X.25 during PVC to SVC switching.


Table 23: x25 pvc Call Control Options
Option Description

idle minutes

Idle time-out for the SVC. This option will override the interface's x25 idle command value only for this circuit.

no-incoming

Establishes a switched virtual circuit to the specified X.121 address when data is received from the permanent virtual circuit, but does not accept calls from this X.121 address.

no-outgoing

Accepts an incoming call from the specified X.121 address, but does not attempt to place a call when data is received from the permanent virtual circuit. If data is received from the permanent virtual circuit while no call is connected, the PVC will be reset.

accept-reverse

Causes the Cisco IOS software to accept incoming reverse-charged calls. If this option is not present, the Cisco IOS software clears reverse-charged calls unless the interface accepts all reverse-charged calls.

x25 pvc (XOT)

To connect two permanent virtual circuits (PVCs) across a TCP/IP LAN, use the X.25-over-TCP (XOT) service form of the x25 pvc interface configuration command.

x25 pvc number1 xot address interface serial string pvc number2 [option]

Syntax Description

number1

PVC number of the connecting device.

xot

Indicates two PVCs will be connected across a TCP/IP LAN using XOT.

address

IP address of the device to which you are connecting.

interface serial

Indicates the interface is serial.

string

Serial interface specification that accepts either a number or a string in model 7000 format (number/number) to denote the serial interface.

pvc

Indicates a PVC.

number2

Remote PVC number on the target interface.

option

(Optional) Adds certain features for the connection; can be either option listed in Table 24.

Table 24 lists the PVC tunnel options supported by X.25.


Table 24: x25 pvc PVC Tunnel Options
Option Description

packetsize in-size out-size

Maximum input packet size (in-size) and output packet size (out-size) for the PVC. Both values must be one of the following values: 16, 32, 64, 128, 256, 512, 1024, 2048, or 4096.

windowsize in-size out-size

Packet count for input window (in-size) and output window (out-size) for the PVC. Both values should be the same, must be in the range 1 to 127, and must not be greater than or equal to the value set for the x25 modulo command.

x25 remote-red

To set up the table that lists the Blacker Front End (BFE) nodes (host or gateways) to which the router will send packets, use the x25 remote-red interface configuration command.

x25 remote-red host-ip-address remote-black blacker-ip-address

Syntax Description

host-ip-address

IP address of the host or router that the packets are being sent to.

remote-black

Delimits the addresses for the table being built.

blacker-ip-address

IP address of the remote BFE device in front of the host to which the packet is being sent.

x25 retry

To activate a secondary route while also retrying a failed primary route, use the x25 retry interface configuration command in conjunction with the ip route or backup interface commands. To discontinue implementing secondary X.25 routes and retrying of primary X.25 routes, use the no form of this command.

x25 retry interval seconds attempts count

no x25 retry interval seconds attempts count

Syntax Description

interval

Keyword defining interval between attempts.

seconds

Number of seconds between attempts.

attempts

Keyword defining number of attempts.

count

Number of attempts to reestablish the closed link before discontinuing.

x25 roa

To specify a sequence of packet network carriers, use the x25 roa global configuration command. To remove the specified name, use the no form of this command.

x25 roa name number

no x25 roa name

Syntax Description

name

Recognized Operating Agency (ROA, formerly called a Recognized Private Operating Agency, or RPOA), which must be unique with respect to all other ROA names. It is used in the x25 facility and x25 map interface configuration commands.

number

A sequence of 1 or more numbers used to describe an ROA; up to 10 numbers are accepted.

x25 route

To create an entry in the X.25 routing table (to be consulted for forwarding incoming calls and for placing outgoing packet assembler/disassembler (PAD) or protocol translation calls), use the appropriate form of the x25 route global configuration command. To remove an entry from the table, use the no form of the command.

x25 route [#position] [selection-options] [modification-options] disposition-options [xot-keepalive-options]

no x25 route [#position] [selection-options] [modification-options] disposition-options [xot-keepalive-options]

Syntax Description

#position

(Optional) A pound sign (#) followed by a number designates the position in the routing table at which to insert the new entry. If no value for the position argument is given, the entry is appended to the end of the routing table.

selection-options

(Optional) The selection options identify when the subsequent modification and disposition options apply to an X.25 call; any or all variables may be specified for a route. For selection keyword and argument options, see Table 25.

For selection and modification pattern and character matching and replacement see Table 27, Table 28, and Table 29.

Although each individual selection criterion is optional, at least one selection or modification option must be specified in the x25 route command.

modification-options

(Optional) The modification options modify the source or destination addresses of the selected calls. The standard regular expression substitution rules are used, where a match pattern and rewrite string direct the construction of a new string. For modification keyword and argument options, see Table 26.

For selection and modification pattern and character matching and replacement see Table 27, Table 28, and Table 29.

Although each individual modification is optional, at least one selection or modification option must be specified in the x25 route command.

disposition-options

Specifies the disposition of a call matching the specified selection pattern. For disposition keyword and argument options, see Table 30 in the "Usage Guidelines" section.

xot-keepalive-options

(Optional) The XOT-keepalive options specify an X.25 over TCP (XOT) keepalive period and number of XOT-keepalive retries. XOT relies on TCP to detect when the underlying connection is dead. TCP detects a dead connection when sent data goes unacknowledged for a given number of attempts over a period of time. For XOT-keepalive keyword and argument options, see Table 31 .

Table 25 lists the selection options for the x25 route command. At least one selection or modification option must be specified.


Table 25: x25 route Selection Options
Selection Option Description

destination-pattern

(Optional) Destination address pattern, which is a regular expression that can represent either one X.121 address (such as ^1111000$) or any address in a group of X.121 addresses (such as ^1111.*).

source source-pattern

(Optional) Source address pattern, which is a regular expression that can represent either one X.121 source address (such as ^2222000$) or any address in a group of X.121 addresses (such as ^2222.*).

dest-ext nsap-destination-pattern

(Optional) NSAP destination address pattern, which is a regular expression that can represent either an NSAP destination address (such as ^11.1111.0000$) or an NSAP prefix (such as ^11.1111.*).


Note A period (.) in the pattern is interpreted as a character wildcard, which will not interfere with a match to the actual period in the NSAP; if desired, an explicit character match may be used (such as ^11\.1111\..*).

cud user-data-pattern

(Optional) CUD pattern, which is specified as a regular expression of printable ASCII text. The CUD field may be present in a call packet. The first few bytes (commonly 4 bytes long) identify a protocol; the specified pattern is applied to any user data after the protocol identification.

input interface interface number

(Optional) Specifies interface number on which the call will be received.

hunt-group name

Routes the selected call to the X.25 hunt group. The chosen router may vary depending on the hunt group configuration.

Table 26 lists the modification options for the x25 route command. At least one selection or modification option must be specified.


Table 26: x25 route Modification Options
Modification Option Description

substitute-source rewrite-source

(Optional) Calling X.121 address rewrite pattern.

The source address, source-pattern, and this rewrite-source pattern are used to form a new source address. If no source-pattern is specified, any destination-pattern match pattern is used. If neither match pattern is specified, a default match pattern of .* is used.

See Table 27 and Table 28 for summaries of pattern and character matching, respectively. See Table 29 for a summary of pattern rewrite elements.

substitute-dest rewrite-dest

(Optional) Called X.121 address rewrite pattern.

The destination address, destination-pattern, and this rewrite-dest pattern are used to form a new destination address. If no destination-pattern is specified, a default match pattern of .* is used.

See Table 27 and Table 28 for summaries of pattern and character matching, respectively. See Table 29 for a summary of pattern rewrite elements.

See Table 27, Table 28, and Table 29, respectively, for summaries of pattern matching, character matching, and pattern replacement elements.


Table 27: Pattern Matching for x25 route Selection and Modification Options
Pattern Description

*

Matches 0 or more occurrences of the preceding character.

+

Matches 1 or more occurrences of the preceding character.

?

Matches 0 or 1 occurrences of the preceding character.1

1Precede the question mark with Ctrl-V to prevent the question mark from being interpreted as a help command.

  
Table 28: Character Matching for x25 route Selection and Modification Options
Character Description

^

Matches the beginning of the input string.

$

Matches the end of the input string.

\char

Matches the single character char specified.

.

Matches any single character.

 
Table 29: Pattern Replacements for x25 route Selection and Modification Options
Pattern Description

\0

The pattern is replaced by the entire original address.

\1...9

The pattern is replaced by strings that match the first through ninth parenthetical part of the X.121 address.

Table 30 lists the disposition options for the x25 route command. You must select one of these options.


Table 30: x25 route Disposition Options
Disposition Option Description

continue

(Optional) Combines sequential route table lookups, holding onto any "selections" and "modifications" specified on the x25 route statement.

interface interface number

Routes the selected call to the specified X.25 serial interface.

interface interface number dlci number

(Optional) Routes the X.25 call to the specified Annex G link. You must include the interface number and enter the data link connection identifier (DLCI) number. You only need to do this if you want the router to accept switched calls, as well as originate them.

interface cmns-interface mac mac-address

Routes the selected call out the specified broadcast interface via CMNS to the LAN destination station. The broadcast interface type can be Ethernet, Token Ring, or Fiber Distributed Data Interface (FDDI). The interface numbering scheme depends on the router interface hardware.

xot ip-address [ip2-address [...[ip6-address]]] [xot-source interface]

Routes the selected call to the XOT host at the specified IP address. Subsequent IP addresses are tried, in sequence, only if XOT is unable to establish a TCP connection with a prior address.

xot dns pattern

Used with DNS-based X.25 routing, this option consults the DNS to get up to six destination IP addresses using whatever lookup pattern you choose (see Table 29).

hunt-group name

Routes the selected call to the X.25 hunt group. The chosen route may vary depending on the hunt group configuration.

clear

Terminates the call.

Table 31 lists and describes the xot-keepalive options for the x25 route command.


Table 31: x25 route XOT-Keepalive Options
XOT-Keepalive Option Description

xot-keepalive-period seconds

Number of seconds between keepalives for XOT connections. The default is 60 seconds.

xot-keepalive-tries count

Number of times TCP keepalives should be sent before dropping the connection. The default value is 4 times.

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

acknowledge local

(Optional) Sets local acknowledgment on the router.

acknowledge end-to-end

(Optional) Sets end-to-end acknowledgment. (Default acknowledge setting.)

tcp-use-if-defs

(Optional) Accepts calls received over TCP.

x25 subscribe cug-service

To enable and control standard closed user group (CUG) behavior on an X.25 DCE interface, use the x25 subscribe cug-service interface configuration command. To disable standard CUG behavior on an X.25 DCE interface, use the no form of this command.

x25 subscribe cug-service [incoming-access | outgoing-access]

no x25 subscribe cug-service [incoming-access | outgoing-access]

Syntax Description

incoming-access

(Optional) Allows incoming access from the open network to the DTE device.

outgoing-access

(Optional) Allows outgoing access from the DTE device to the open network.

x25 subscribe flow-control

To control flow control parameter negotiation facilities in call setup packets, use the x25 subscribe flow-control interface configuration command. 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

always

Flow control parameter negotiation facilities are enabled and the flow control parameters are always included with call setup packets and are optional on inbound packets.

never

Flow control parameter negotiation facilities are disabled and the flow control parameters are never included with call setup packets, and are not permitted on inbound packets. Negotiation of flow control parameters is disabled.

x25 subscribe local-cug

To configure a data circuit-terminating equipment (DCE) X.25 interface for a specific closed user group (CUG) subscription, use the x25 subscribe local-cug interface configuration command. To disable the interface for a specific CUG subscription, use the no form of this command.

x25 subscribe local-cug number network-cug number [no-incoming | no-outgoing | preferential]

no x25 subscribe local-cug number network-cug number [no-incoming | no-outgoing | preferential]

Syntax Description

number

Specific local CUG number (0 to 9999).

network-cug

Network translated CUG identifier.

number

Specific network CUG number (0 to 9999).

no-incoming

(Optional) Calls to DTE are barred within the specified CUG, unless x25 subscribe cug-service incoming-access is configured.

no-outgoing

(Optional) Calls from DTE are barred within the specified CUG, unless x25 subscribe cug-service outgoing-access is configured.

preferential

(Optional) Specified on only one CUG and is the assumed CUG when none is provided in call setup. (A single CUG listed at the interface is automatically considered a preferential CUG.)

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

permit

Permitted packet-size range identifier.

pmin

Minimum setting for packet size range (16 to 4096 by a power of 2).

pmax

Maximum setting for packet size range (16 to 4096 by a power of 2).

target

Target packet-size range identifier.

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

permit

Permitted window size range identifier.

wmin

Minimum setting for window size range (1 to 127).

wmax

Maximum setting for window size range (1 to 127).

target

Target window-size range identifier.

x25 suppress-called-address

To omit the destination address in outgoing calls, use the x25 suppress-called-address interface configuration command. To reset this command to the default state, use the no form of this command.

x25 suppress-called-address

no x25 suppress-called-address

Syntax Description

This command has no arguments or keywords.

x25 suppress-calling-address

To omit the source address in outgoing calls, use the x25 suppress-calling-address interface configuration command. To reset this command to the default state, use the no form of this command.

x25 suppress-calling-address

no x25 suppress-calling-address

Syntax Description

This command has no arguments or keywords.

x25 t10

To set the value of the Restart Indication retransmission timer (T10) on DCE devices, use the x25 t10 interface configuration command .

x25 t10 seconds

Syntax Description

seconds

Time in seconds.

x25 t11

To set the value of the Incoming Call timer (T11) on DCE devices, use the x25 t11 interface configuration command.

x25 t11 seconds

Syntax Description

seconds

Time in seconds.

x25 t12

To set the value of the Reset Indication retransmission timer (T12) on DCE devices, use the x25 t12 interface configuration command.

x25 t12 seconds

Syntax Description

seconds

Time in seconds.

x25 t13

To set the value of the Clear Indication retransmission timer (T13) on DCE devices, use the x25 t13 interface configuration command.

x25 t13 seconds

Syntax Description

seconds

Time in seconds.

x25 t20

To set the value of the Restart Request retransmission timer (T20) on DTE devices, use the x25 t20 interface configuration command.

x25 t20 seconds

Syntax Description

seconds

Time in seconds.

x25 t21

To set the value of the Call Request timer (T21) on DTE devices, use the x25 t21 interface configuration command.

x25 t21 seconds

Syntax Description

seconds

Time in seconds.

x25 t22

To set the value of the Reset Request retransmission timer (T22) on DTE devices, use the x25 t22 interface configuration command.

x25 t22 seconds

Syntax Description

seconds

Time in seconds.

x25 t23

To set the value of the Clear Request retransmission timer (T23) on DTE devices, use the x25 t23 interface configuration command.

x25 t23 seconds

Syntax Description

seconds

Time in seconds.

x25 threshold

To set the data packet acknowledgment threshold, use the x25 threshold interface configuration command.

x25 threshold delay-count


Note This command replaces the longstanding x25 th command.

Syntax Description

delay-count

Value between 0 and the input window size. A value of 1 sends one Receiver Ready acknowledgment per packet.

x25 use-source-address

To override the X.121 addresses of outgoing calls forwarded over a specific interface, use the x25 use-source-address interface configuration command. Use the no form of this command to prevent updating the source addresses of outgoing calls.

x25 use-source-address

no x25 use-source-address

Syntax Description

This command has no arguments or keywords.

x25 win

To change the default incoming window size to match that of the network, use the x25 win interface configuration command.

x25 win packets

Syntax Description

packets

Packet count that can range from 1 to one less than the window modulus.

x25 wout

To change the default outgoing window size to match that of the network, use the x25 wout interface configuration command.

x25 wout packets

Syntax Description

packets

Packet count that can range from 1 to one less than the window modulus.

x29 access-list

To limit access to the access server from certain X.25 hosts, use the x29 access-list global configuration command. To delete an entire access list, use the no form of this command.

x29 access-list access-list-number {deny | permit} x121-address

no x29 access-list access-list-number

Syntax Description

access-list-number

Number of the access list. It can be a value between 1 and 199.

deny

Denies access and clears call requests immediately.

permit

Permits access to the protocol translator.

x121-address

If applied as an inbound access class, specifies the X.121 address that can or cannot have access (with or without regular expression pattern-matching characters). The X.121 address is the source address of the incoming packet.

If applied as an outbound access class, then the address specifies a destination to where connections are allowed.

x29 profile

To create a packet assembler/disassembler (PAD) profile script for use by the translate command, use the x29 profile global configuration command.

x29 profile {default | name} parameter:value [parameter:value]

Syntax Description

default

Specifies default profile script.

name

Name of the PAD profile script.

parameter:value

X.3 PAD parameter number and value separated by a colon. You can specify multiple parameter-value pairs on the same line.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Wed Jul 26 17:20:21 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.