Table of Contents
clear x25-vc cmns enable encapsulation lapb encapsulation x25 lapb interface-outage lapb k lapb modulo lapb n1 lapb n2 lapb protocol lapb t1 lapb t4 show cmns show interfaces serial show llc2 show x25 map show x25 remote-red show x25 route show x25 vc x25 accept-reverse x25 address x25 bfe-decision x25 bfe-emergency x25 default x25 facility x25 hic x25 hoc x25 hold-queue x25 hold-vc-timer x25 htc x25 idle x25 ip-precedence x25 ips x25 lic x25 linkrestart x25 loc x25 ltc x25 map x25 map bridge x25 map cmns x25 map compressedtcp x25 modulo x25 nvc x25 ops x25 pvc (encapsulating) x25 pvc (switched) x25 pvc (tunnel) x25 remote-red x25 route x25 routing x25 rpoa x25 suppress-called-address x25 suppress-calling-address x25 t10 x25 t11 x25 t12 x25 t13 x25 t20 x25 t21 x25 t22 x25 t23 x25 th x25 use-source-address x25 win x25 wout X.25 and LAPB CommandsUse the commands in this chapter to configure Link Access Procedure Balanced (LAPB), X.25, Defense Data Network (DDN) X.25, and Blacker Front End (BFE). X.25 provides remote terminal access; encapsulation for the IP, DECnet, XNS, ISO CLNS, AppleTalk, Novell IPX, Banyan VINES, and Apollo Domain protocols; and bridging. X.25 virtual circuits can also be switched
To translate between X.25 and another protocol, refer to the Protocol Translation Configuration Guide and Command Reference publication. For X.25 and LAPB configuration information and examples, refer to the "Configuring X.25 and LAPB" chapter in the Router Products Configuration Guide.
bfeTo 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.
Syntax Description
Command ModeEXEC
ExampleThe following example enables an interface to participate in BFE emergency mode: bfe enter serial 0
Related Commandsencapsulation x25
clear x25-vcTo clear switched virtual circuits (SVCs) and to reset permanent virtual circuits (PVCs), use the clear x25-vc privileged EXEC command. To clear all X.25 virtual circuits at once by restarting the packet layer service, use this command without an lcn argument.
Syntax Description
Command ModePrivileged EXEC
ExampleThe following example illustrates how to clear all virtual circuits on an interface: clear x25-vc serial 1
Related Command
cmns enableTo enable 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.
Syntax DescriptionThis command has no arguments or keywords.
DefaultThe CMNS protocol is implicitly enabled whenever an X.25 encapsulation command is included with a serial interface configuration. A particular nonserial interface, however, must be explicitly configured to use CMNS.
Command ModeInterface configuration
Usage GuidelinesAfter processing this command on the LAN interfaces (Ethernet, FDDI, and Token Ring), all the X.25-related interface configuration commands are made available.
ExampleThe following example enables CMNS on interface Ethernet 0: interface ethernet 0 cmns enable
Related Command
encapsulation lapbTo exchange datagrams over a serial interface using LAPB encapsulation, use the encapsulation lapb interface configuration command.
Syntax Description
DefaultsThe default serial encapsulation is HDLC. You must explicitly configure a LAPB encapsulation method. DTE operation is the default LAPB mode. IP is the default protocol.
Command ModeInterface configuration
Usage GuidelinesLAPB encapsulations are appropriate only for private connections, where you have complete control over both ends of the link. Connections to X.25 networks should use an x25 encapsulation configuration, which operates the X.25 Layer 3 protocol above a LAPB Layer 2. One end of the link must be a logical DCE and the other end a logical DTE. (This assignment is independent of the interface's hardware DTE/DCE identity.) Both ends of the LAPB link must specify the same protocol encapsulation. LAPB encapsulation is supported on serial lines configured for dial-on-demand (DDR) routing. It can be configured on DDR synchronous serial and ISDN interfaces and on DDR dialer rotary groups. It is not supported on asynchronous dialer interfaces. A single-protocol LAPB encapsulation exchanges datagrams of the given protocol, each in a separate LAPB information frame. You should configure the interface with the protocol-specific parameters needed (for example, a link that carries IP traffic will have an IP address defined for the interface). A multiprotocol LAPB encapsulation can exchange any or all of the protocols allowed for an serial interface. It also exchanges datagrams, each in a separate LAPB information frame. Since two bytes of protocol identification data precede the protocol data, you do not need to configure the interface with all of the protocol-specific parameters needed for each protocol carried. Beginning with Cisco IOS Release 11.0, multiprotocol LAPB encapsulation supports transparent bridging. This feature requires use of the encapsulation lapb multi command followed by the bridge-group command, which identifies the bridge group associated with multiprotocol LAPB encapsulation. This feature does not support use of the encapsulation lapb protocol command with a bridge keyword. Beginning with Release 10.3, LAPB encapsulation supports the priority and custom queueing features.
ExampleThe following example sets the operating mode as DTE and specifies that AppleTalk protocol traffic will be carried on the LAPB line: interface serial 1 encapsulation lapb dte appletalk
Related CommandA dagger (†) indicates that the command is documented in another chapter. bridge-group†
encapsulation x25To specify an serial interface's operation as an X.25 device, use the encapsulation x25 interface configuration command.
Syntax Description
DefaultsThe default serial encapsulation is HDLC. You must explicitly configure an X.25 encapsulation method. DTE operation is the default X.25 mode. Cisco's traditional X.25 encapsulation method is the default.
Command ModeInterface configuration
Usage GuidelinesOne end of an X.25 link must be a logical DCE and the other end a logical DTE. (This assignment is independent of the interface's hardware DTE/DCE identity.) Typically, when connecting to a public data network (PDN), the customer equipment acts as the DTE and the PDN attachment acts as the DCE. Cisco has supported the encapsulation of a number of datagram protocols for quite some time, using a standard means when available and proprietary means when necessary. More recently the IETF adopted a standard, RFC 1356, for encapsulating most types of datagram traffic over X.25. X.25 interfaces use Cisco's traditional method unless explicitly configured for IETF operation; if the ietf keyword is specified, that standard will be used unless Cisco's traditional method is explicitly configured. For details see the x25 map command. When an X.25 interface is reconfigured, all of the interface's X.25 parameters are initialized except the x25 map commands. The x25 map statements that are configured for an interface are not deleted when the encapsulation is changed, so they will be retained if the interface is later reconfigured for X.25 operation. A router attaching to the Defense Data Network (DDN) or to a Blacker Front End (BFE) device can be configured to use their respective algorithms to convert between IP and X.121 addresses by using the ddn or bfe options, respectively. An IP address should be assigned to the interface, from which the algorithm will generate the interface's X.121 address; for proper operation, this X.121 address should not be modified. A router DDN attachment can operate as either a DTE or a DCE device. A BFE attachment can operate only as a DTE device. The ietf option is not available if either the ddn or bfe option is selected.
ExampleThe following example configures the interface for connection to a Blacker Front End device: interface serial 0 encapsulation x25 bfe
lapb interface-outageTo 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.
Syntax Description
Default0 milliseconds, which disables this feature.
Command ModeInterface configuration
Usage GuidelinesIf a hardware outage lasts longer than the LAPB hardware outage period you select, normal protocol operations will occur. The link will be declared to be down and, when it is restored, a link set up will be initiated.
ExampleThe following example sets the interface outage period to 100 milliseconds. The link will remain connected for outages equal to or shorter than that period. encapsulation lapb dte ip lapb interface-outage 100
lapb kTo specify the maximum permissible number of outstanding frames, called the window size, use the lapb k interface configuration command.
Syntax Description
Default7 frames
Command ModeInterface configuration
Usage GuidelinesIf the window size is changed while the protocol is up, the new value will take effect only when the protocol is reset. You will be informed that the new value will not take effect immediately. When using the LAPB modulo 128 mode (extended mode), the window parameter k should be increased to make use of the ability to send a larger number of frames before acknowledgment is required. This is the basis for its ability to achieve greater throughput on high speed links that have a low error rate. This configured value should match the value configured in the peer X.25 switch. Nonmatching values will cause repeated LAPB REJ frames.
ExampleThe following example sets the LAPB window size (the k parameter) to ten frames: interface serial 0 lapb modulo lapb k 10
lapb moduloTo specify the LAPB basic (modulo 8) or extended (modulo 128) protocol mode, use the lapb modulo interface configuration command.
Syntax Description
DefaultModulo 8
Command ModeInterface configuration
Usage GuidelinesThe modulo parameter determines which of LAPB's two modes is to be used. The modulo values derive from the fact that basic mode numbers information frames between 0 and 7, whereas extended mode numbers them between 0 and 127. Basic mode is widely available and is sufficient for most links. Extended mode is an optional LAPB feature that may achieve greater throughput on high-speed links that have a low error rate. The LAPB operating mode may be set on X.25 links as well as LAPB Links. The X.25 modulo is independent of the LAPB layer modulo. Both ends of a link must use the same LAPB mode. When using modulo 128 mode, the window parameter k should be increased to make use of the ability to send a larger number of frames before acknowledgment is required. This is the basis for its ability to achieve greater throughput on high-speed links that have a low error rate. If the modulo value is changed while the protocol is up, the new value will take effect only when the protocol is reset. The operator will be informed that the new value will not take effect immediately.
ExampleThe following example configures a high-speed X.25 link to use LAPB's extended mode: interface serial 1 encapsulation x25 lapb modulo 128 lapb k 40 clock rate 2000000
Related Command
lapb n1To specify the maximum number of bits a frame can hold (the LAPB N1 parameter), use the lapb n1 interface configuration command.
Syntax Description
DefaultsN1 defaults to the largest value available for the interface, which is determined from the interface MTU (typically 1500 bytes), plus the required overhead (for example, 7 bytes total for standard modulo 8 X.25). An X.25 encapsulation commonly has a default of 12056 bits (1507 bytes or 1503 bytes for an X.25 packet, or 1500 bytes of user data).
Command ModeInterface configuration
Usage GuidelinesIt is not necessary to set N1 to an exact value to support a particular X.25 data packet size, although both ends of a connection should have the same N1 value. The N1 parameter serves to avoid processing of any huge frames that result from a "jabbering" interface, an unlikely event. The N1 default value corresponds to the hardware interface buffer size. Any changes to this value must allow for an X.25 data packet and LAPB frame overhead.The software supports an X.25 data packet with a maximum packet size plus 3 or 4 bytes of overhead for modulo 8 or 128 operation, respectively, and LAPB frame overhead of 2 bytes of header for modulo 8 operation plus 2 bytes of CRC. In addition, the various standards bodies specify that N1 be given in bits rather than bytes. While some equipment can be configured using bytes or will automatically adjust for some of the overhead information present, our devices are configured using the true value of N1. Table 13-1 specifies the minimum N1 values needed to support a given X.25 data packet. Note that N1 cannot be set to a value less than what is required to support an X.25 data packet size of 128 bytes under modulo 128 operation. This is because all X.25 implementations must be able to support 128byte data packets. Table 13-1 Minimum LAPB N1 Values
Configuring N1 to be less than 2104 will generate a warning message that X.25 may have problems because some nondata packets can use up to 259 bytes. The N1 parameter cannot be set to a value larger than the default without first increasing the hardware maximum transmission unit (MTU) size. The X.25 software will accept default packet sizes and CALLs that specify maximum packet sizes greater than what the LAPB layer will support, but will negotiate the CALLs placed on the interface to the largest value that can be supported. For switched CALLs, the packet size negotiation takes place end-to-end through the Cisco router so the CALL will not have a maximum packet size that exceeds the capability of either of the two interfaces involved.
ExampleThe following example sets the N1 bits to 16440: interface serial 0 lapb n1 16440 mtu 2048
Related CommandA dagger (†) indicates that the command is documented in another chapter. mtu†
lapb n2To specify the maximum number of times a data frame can be transmitted (the LAPB N2 parameter), use the lapb n2 interface configuration command.
Syntax Description
Default20 transmissions
Command ModeInterface configuration
ExampleThe following example sets the N2 tries to 50: interface serial 0 lapb n2 50
lapb protocolUse the lapb protocol interface configuration command to configure the protocol carried on the LAPB line.
Syntax Description
DefaultIP
Command ModeInterface configuration
Usage GuidelinesThis command is not available when using a multiprotocol LAPB encapsulation.
ExampleThe following example sets AppleTalk as the only protocol on the LAPB line: interface serial 1 encapsulation lapb lapb protocol appletalk
Related Commandsencapsulation lapb
lapb t1To set the retransmission timer period (the LAPB T1 parameter), use the lapb t1 interface configuration command.
Syntax Description
Default3000 milliseconds
Command ModeInterface configuration
Usage GuidelinesThe retransmission timer determines how long a transmitted frame can remain unacknowledged before the LAPB software polls for an acknowledgment. The design of the LAPB protocol specifies that a frame is presumed to be lost if it is not acknowledged within T1; a T1 value that is too small may result in duplicated control information, which can severely disrupt service. To determine an optimal value for the retransmission timer, use the privileged EXEC command ping to measure the round-trip time of a maximum-sized frame on the link. Multiply this time by a safety factor that takes into account the speed of the link, the link quality, and the distance. A typical safety factor is 1.5. Choosing a larger safety factor can result in slower data transfer if the line is noisy. However, this disadvantage is minor compared to the excessive retransmissions and effective bandwidth reduction caused by a timer setting that is too small.
ExampleThe following example sets the T1 retransmission timer to 2,000 milliseconds: interface serial 0 lapb t1 2000
lapb t4To set the T4 idle timer, after which the router sends out a Poll packet to determine whether the link has suffered an unsignaled failure, use the lapb t4 interface configuration command.
Syntax Description
Defaults0 seconds, which disables the T4 timer feature.
Command ModeInterface configuration
Usage GuidelinesAny nonzero T4 duration must be greater than T1, the LAPB retransmission timer period.
ExampleThe following example will poll the other end of an active link if it has been 10 seconds since the last frame was received; if the far host has failed, the service will be declared down after N2 tries are timed out. interface serial0 encapsulation x25 lapb t4 10
Related Commands
show cmnsTo display X.25 Level 3 parameters for LAN interfaces (such as Ethernet or Token Ring) and other information pertaining to CMNS traffic activity, use the show cmns EXEC command.
Syntax Description
Command ModeEXEC
Sample DisplayThe following is sample output from the show cmns command for an Ethernet interface:
Router# show cmns
Ethernet1 is administratively down, line protocol is down
Hardware address is 0000.0c02.5f4c, (bia 0000.0c2.5f4c), state R1
Modulo 8, idle 0, timer 0, nvc 1
Window size: input 2, output 2, Packet size: input 128, output 128
Timer: TH 0
Channels: Incoming-only none, Two-way 1-4095, Outgoing-only none
RESTARTs 0/0 CALLs 0+0/0+0/0+0 DIAGs 0/0
Table 13-2 describes significant fields shown in the display. Table 13-2 Show CMNS Field Descriptions
Related CommandA dagger (†) indicates that the command is documented in another chapter. show interfaces serial†
show interfaces serialTo display information about a serial interface, use the show interfaces serial EXEC command.
Syntax Description
Command ModeEXEC
Sample DisplaysThe following is a partial sample output from the show interfaces serial command for a serial interface using LAPB encapsulation: Router# show interfaces serial 1 LAPB state is SABMSENT, T1 3000, N1 12056, N2 20, k7,Protocol ip VS 0, VR 0, RCNT 0, Remote VR 0, Retransmissions 2 IFRAMEs 0/0 RNRs 0/0 REJs 0/0 SABMs 3/0 FRMRs 0/0 DISCs 0/0 Table 13-3 shows the fields relevant to all LAPB connections. Table 13-3 Show Interfaces Serial Fields and Descriptions when LAPB is Enabled
The following is a partial sample output from the show interfaces command for a serial X.25 interface: Router# show interfaces serial 1 X25 address 000000010100, state R1, modulo 8, idle 0, timer 0, nvc 1 Window size: input 2, output 2, Packet size: input 128, output 128 Timers: T20 180, T21 200, T22 180, T23 180, TH 0 Channels: Incoming-only none, Two-way 1-1024, Outgoing-only none (configuration on RESTART: modulo 8, Window size: input 2 output 2, Packet size: input 128, output 128 Channels: Incoming-only none, Two-way 5-1024, Outgoing-only none) RESTARTs 3/2 CALLs 1000+2/1294+190/0+0/ DIAGs 0/0 The stability of the X.25 protocol requires that some parameters not be changed without a RESTART of the protocol. Any change to these parameters will be held until a RESTART is sent or received. If any of these parameters will change, the configuration on RESTART information will be output as well as the values that are currently in effect. Table 13-4 describes significant fields shown in the display. Table 13-4 Show Interfaces X25 Field Descriptions
Related Command
show llc2To display active LLC2 connections, use the show llc2 EXEC command.
Syntax DescriptionThis command has no arguments or keywords.
Command ModeEXEC
Sample DisplayThe following is sample output from the show llc2 command: Router# show llc2 TokenRing0 DTE=1000.5A59.04F9,400022224444 SAP=04/04, State=NORMAL V(S)=5, V(R)=5, Last N(R)=5, Local Window=7, Remote Window=127 ack-max=3, n2=8, Next timer in 7768 xid-retry timer 0/60000 ack timer 0/1000 p timer 0/1000 idle timer 7768/10000 rej timer 0/3200 busy timer 0/9600 ack-delay timer 0/3200 CMNS Connections to: Address 1000.5A59.04F9 via Ethernet2 Protocol is up Interface type X25-DCE RESTARTS 0/1 Timers: T10 1 T11 1 T12 1 T13 1 The display includes a CMNS addendum, indicating that LLC2 is running with CMNS. When LLC2 is not running with CMNS, the show llc2 command does not display a CMNS addendum. Table 13-5 describes significant fields shown in the display. Table 13-5 Show LLC2 Field Descriptions
show x25 mapTo display information about configured address maps, use the show x25 map EXEC command.
Syntax DescriptionThis command has no arguments or keywords.
Command ModeEXEC
Usage GuidelinesThe show x25 map command shows information about the following:
Sample DisplayThe following is sample output from the show x25 map command:
Router# show x25 map
Serial0: X.121 1311001 <--> ip 131.108.170.1
PERMANENT, BROADCAST, 2 VCS: 3 4*
Serial0: X.121 1311005 <--> appletalk 128.1
PERMANENT
Serial1: X.121 1311005 <--> bridge
PERMANENT, BROADCAST
Serial2: X.121 001003 <--> apollo 1.3,
appletalk 1.3,
ip 131.108.1.3,
decnet 1.3,
novell 1.0000.0c04.35df,
vines 00000001:0003,
xns 1.0000.0c04.35df,
clns
PERMANENT, NVC 8, 1 VC: 1024
The display shows that four maps have been configured for the router, two for serial interface 0, one for serial interface 1, and one for the serial interface 2 (which maps eight protocols to the host). Table 13-6 describes fields shown in the display. Table 13-6 Show X25 Map Field Description
show x25 remote-redTo display the one-to-one mapping of the host IP addresses and the remote BFE device's IP addresses, use the show x25 remote-red EXEC command.
Syntax DescriptionThis command has no arguments or keywords.
Command ModeEXEC
Sample DisplayThe following is sample output from the show x25 remote-red command: Router# show x25 remote-red Entry REMOTE-RED REMOTE-BLACK INTERFACE 1 21.0.0.3 21.0.0.7 serial3 2 21.0.0.10 21.0.0.6 serial1 3 21.0.0.24 21.0.0.8 serial3 Table 13-7 describes significant fields shown in the display. Table 13-7 Show X25 Remote-Red Display Field Description
show x25 routeTo display the X.25 routing table, use the show x25 route EXEC command.
Syntax DescriptionThis command has no arguments or keywords.
Command ModeEXEC
Sample DisplayThe following is sample output from the show x25 route command: Router# show x25 route Number X.121 CUD Forward To 1 1311001 Serial0, 0 uses 2 1311002 131.108.170.10, 0 uses 3 1311003 00 alias Serial0, 2 uses Table 13-8 describes significant fields shown in the display. Table 13-8 Show X25 Route Display Field Description
Related Command
show x25 vcTo display information about active switched virtual circuits (SVCs) and permanent virtual circuits (PVCs), use the show x25 vc EXEC command.
Syntax Description
Command ModeEXEC
Usage GuidelinesTo examine a particular virtual circuit, add an LCN argument to the show x25 vc command. This command displays information about virtual circuits that are used for any of the following:
The connectivity information displayed will vary according to the traffic carried by the virtual circuit. For multiprotocol circuits, the output varies depending on the number and identity of the protocols mapped to the X.121 address and the encapsulation method selected for the circuit.
Sample DisplaysThis section provides three sample displays and tables that describe the fields in each display. The following sample display shows a virtual circuit that is being used to encapsulate traffic between the router and a remote host:
Router# show x25 vc 1024
SVC 1024, State: D1, Interface: Serial0
Started 0:00:31, last input 0:00:31, output 0:00:31
Connects 170090 <-->
compressedtcp 131.108.170.90
ip 131.108.170.90
multiprotocol CUD PID, standard Tx data PID, Reverse charged
Window size input: 2, output: 2
Packet size input: 128, output: 128
PS: 5 PR: 5 ACK: 4 Remote PR: 5 RCNT: 1 RNR: FALSE
Window is closed
Retransmits: 0 Timer (secs): 0 Reassembly (bytes): 0
Held Fragments/Packets: 0/0
Bytes 505/505 Packets 5/5 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0
Table 13-9 describes the general fields shown in the output; Table 13-10 describes the fields specific to encapsulation virtual circuits shown in the output. Table 13-9 Show X25 VC Field Descriptions
Table 13-10 describes the connection description fields for virtual circuits carrying encapsulation traffic. Table 13-10 Show X25 VC Encapsulation Traffic Field Descriptions
The following sample display shows virtual circuits carrying locally switched X.25 traffic: Router# show x25 vc PVC 1, State: D1, Interface: Serial2 Started 0:01:26, last input never, output never PVC <--> Serial1 PVC 1 connected Window size input: 2, output: 2 Packet size input: 128, output: 128 PS: 0 PR: 0 ACK: 0 Remote PR: 0 RCNT: 0 RNR: FALSE Retransmits: 0 Timer (secs): 0 Reassembly (bytes): 0 Held Fragments/Packets: 0/0 Bytes 0/0 Packets 0/0 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0 SVC 5, State: D1, Interface: Serial2 Started 0:00:16, last input 0:00:15, output 0:00:15 Connects 170093 <--> 170090 from Serial1 VC 5 Window size input: 2, output: 2 Packet size input: 128, output: 128 PS: 5 PR: 5 ACK: 4 Remote PR: 5 RCNT: 1 RNR: FALSE Retransmits: 0 Timer (secs): 0 Reassembly (bytes): 0 Held Fragments/Packets: 0/0 Bytes 505/505 Packets 5/5 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0 Table 13-11 lists the connection description fields for virtual circuits carrying locally switched X.25 traffic. Table 13-11 Show X25 VC Local Traffic Field Descriptions
The following sample display shows virtual circuits carrying remotely switched X.25 traffic. Router# show x25 vc PVC 2, State: D1, Interface: Serial2 Started 0:01:25, last input never, output never PVC <--> [131.108.165.92] Serial2/0 PVC 1 connected XOT between 131.108.165.91, 1998 and 131.108.165.92, 27801 Window size input: 2, output: 2 Packet size input: 128, output: 128 PS: 0 PR: 0 ACK: 0 Remote PR: 0 RCNT: 0 RNR: FALSE Retransmits: 0 Timer (secs): 0 Reassembly (bytes): 0 Held Fragments/Packets: 0/0 Bytes 0/0 Packets 0/0 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0 SVC 6, State: D1, Interface: Serial2 Started 0:00:04, last input 0:00:04, output 0:00:04 Connects 170093 <--> 170090 from XOT between 131.108.165.91, 1998 and 131.108.165.92, 27896 Window size input: 2, output: 2 Packet size input: 128, output: 128 PS: 5 PR: 5 ACK: 4 Remote PR: 5 RCNT: 1 RNR: FALSE Retransmits: 0 Timer (secs): 0 Reassembly (bytes): 0 Held Fragments/Packets: 0/0 Bytes 505/505 Packets 5/5 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0 Table 13-12 lists the connection description fields for virtual circuits carrying remotely switched X.25 traffic. Table 13-12 Show X25 VC Remote X.25 Traffic Field Descriptions
Table 13-13 lists the PVC states that can be reported. These states are also reported by the debug x25 command in PVC-SETUP packets (for remote PVCs only) as well as in the PVCBAD system error message. Some states apply only to remotely switched PVCs.
x25 accept-reverseTo configure the router 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.
Syntax DescriptionThis command has no arguments or keywords.
DefaultDisabled
Command ModeInterface configuration
Usage GuidelinesThis command causes the interface to accept reverse charge calls by default. This behavior also can be configured on a per-peer basis using the x25 map interface configuration command.
ExampleThe following example sets acceptance of reverse charge calls: interface serial 0 x25 accept-reverse
Related Command
x25 addressTo set the X.121 address of a particular network interface, use the x25 address interface configuration command.
Syntax Description
DefaultDDN and BFE encapsulations have a default interface address generated from the interface IP address; for proper DDN or BFE operation, this generated X.121 address should not be changed. Standard X.25 encapsulations do not have a default.
Command ModeInterface configuration
Usage GuidelinesWhen connecting to a PDN, the PDN administration will assign the X.121 address that should be used. Other applications (for example, a private X.25 service), may assign arbitrary X.121 addresses as required by the network and service design. X.25 interfaces that only engage in X.25 switching do not need to assign an X.121 address.
ExampleThe following example sets the X.121 address for the interface: interface serial 0 encapsulation x25 x25 address 00000123005 The address must match that assigned by the X.25 network service provider.
x25 bfe-decisionTo specify how a router configured for x25 bfe-emergency decision will participate in emergency mode, use the x25 bfe-decision interface configuration command.
Syntax Description
DefaultThe router does not participate in emergency mode.
Command ModeInterface configuration
ExampleThe following example configures interface Serial 0 to require an EXEC command from the administrator before it participates in emergency mode. The host IP address is 21.0.0.12, and the address of the remote BFE unit is 21.0.0.1. When the BFE enters emergency mode, the router will prompt the administrator for EXEC command bfe enter to direct the router to participate in emergency mode. interface serial 0 x25 bfe-emergency decision x25 remote-red 21.0.0.12 remote-black 21.0.0.1 x25 bfe-decision ask
Related Commandsbfe
x25 bfe-emergencyTo configure the circumstances under which the router participates in emergency mode, use the x25 bfe-emergency interface configuration command.
Syntax Description
DefaultThe router does not send address translation information to the BFE.
Command ModeInterface configuration
ExampleThe following example configures interface Serial 0 to require an EXEC command from the administrator before it participates in emergency mode. The host IP address is 21.0.0.12, and the address of the remote BFE unit is 21.0.0.1. When the BFE enters emergency mode, the router will prompt the administrator for EXEC command bfe enter to direct the router to participate in emergency mode. interface serial 0 x25 bfe-emergency decision x25 remote-red 21.0.0.12 remote-black 21.0.0.1 x25 bfe-decision ask
Related Commands
x25 defaultTo set a default protocol, use the x25 default interface configuration command. To remove the default protocol specified, use the no form of this command.
Syntax Description
DefaultNo default protocol is set.
Command ModeInterface configuration
Usage GuidelinesThis command specifies the protocol assumed by the router for incoming calls with unknown or missing Call User Data. If you do not use the x25 default interface configuration command, the router clears any incoming calls with unrecognized Call User Data.
ExampleThe following example establishes IP as the default protocol for X.25 calls: interface serial 0 x25 default ip
Related Command
x25 facilityTo 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.
Syntax Description
DefaultNo facility is sent.
Command ModeInterface configuration
Usage GuidelinesTable 13-14 lists X.25 user facilities. Table 13-14 X.25 User Facilities
ExamplesThe following example specifies a transit delay value in an X.25 configuration: interface serial 0 x25 facility transit-delay 24000 The following example sets an RPOA name and then send the list via the X.25 user facilities: x25 rpoa green_list 23 35 36 interface serial 0 x25 facility rpoa green_list
Related Command
x25 hicTo set the highest incoming-only virtual circuit number, use the x25 hic interface configuration command.
Syntax Description
Default0
Command ModeInterface configuration
Usage GuidelinesThis command is applicable only if you have the X.25 switch configured for an incoming only virtual circuit range. Incoming is from the perspective of the X.25 DTE. If you do not want any outgoing calls from your DTE, configure both ends to disable the two-way range (set ltc and htc to 0) and configure an incoming-only range. Any incoming-only range must come before (that is, must be numerically less than) any two-way range. Any two-way range must come before any outgoing-only range.
ExampleThe following example sets a valid incoming-only virtual circuit range of 1 to 5: interface serial 0 x25 lic 1 x25 hic 5 x25 ltc 6
Related Command
x25 hocTo set the highest outgoing-only virtual circuit number, use the x25 hoc interface configuration command.
Syntax Description
Default0
Command ModeInterface configuration
Usage GuidelinesThis command is applicable only if you have the X.25 switch configured for an outgoing only virtual circuit range. Outgoing is from the perspective of the X.25 DTE. If you do not want any incoming calls on your DTE, disable the two-way range (set the values of x25 ltc and x25 htc to 0) and configure an outgoing-only range. Any outgoing-only range must come after (that is, be numerically greater than) any other range.
ExampleThe following example sets a valid outgoing-only virtual circuit range of 2000 to 2005: interface serial 0 x25 loc 2000 x25 hoc 2005
Related Command
x25 hold-queueTo set the maximum number of packets to hold until a virtual circuit is able to transmit, 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.
Syntax Description
Default10 packets
Command ModeInterface configuration
Usage GuidelinesIf you set the queue-size to 0 when using the no x25 hold-queue command, there will be no hold queue limit. While this will prevent drops until the router runs out of memory, it is only rarely appropriate. A virtual circuit hold queue value is determined when it is created; changing this parameter will not affect the hold queue limits of the existing virtual circuits.
ExampleThe following example sets the X.25 hold queue to hold 25 packets: interface serial 0 x25 hold-queue 25
Related CommandsA dagger (†) indicates that the command is documented in another chapter.
x25 hold-vc-timerTo 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
Syntax Description
Default0 minutes
Command ModeInterface configuration
Usage GuidelinesOnly Call Requests that the router originates will be held down; routed X.25 Call Requests are not affected by this parameter. Upon receiving a Clear Request for an outstanding Call Request, the X.25 support code immediately tries another Call Request if it has more traffic to send, and this action might cause overrun problems. The failed virtual circuits can be observed with the show x25 vc command; they are renumbered to the illegal value 4096 and have the nonstandard state X1.
ExampleThe following example sets this timer to 3 minutes: interface serial 0 x25 hold-vc-timer 3
x25 htcTo set the highest two-way virtual circuit number, use the x25 htc interface configuration command.
Syntax Description
Default1024 for X.25 network service interfaces; 4095 for CMNS network service interfaces.
Command ModeInterface configuration
Usage GuidelinesThis command is applicable if the X.25 switch is configured for a two-way virtual circuit range. Any two-way virtual circuit range must come after (that is, be numerically larger than) any incoming-only range, and must come before any outgoing-only range.
ExampleThe following example sets a valid two-way virtual circuit range of 5 to 25: interface serial 0 x25 ltc 5 x25 htc 25
Related Commands
x25 idleTo define the period of inactivity after which the router can clear a switched virtual circuit (SVC), use the x25 idle interface configuration command.
Syntax Description
Default0 (causes the router to keep the SVC open indefinitely)
Command ModeInterface configuration
Usage GuidelinesBoth calls originated and terminated by the router are cleared; switched virtual circuits are not cleared. To clear one or all virtual circuits at once, use the privileged EXEC command clear x25-vc.
ExampleThe following example sets a 5-minute wait period before an idle circuit is cleared: interface serial 2 x25 idle 5
Related Command
x25 ip-precedenceTo enable the router to use the IP precedence value when it opens a new virtual circuit, use the x25 ip-precedence interface configuration command. To cause the precedence value to be ignored when opening virtual circuits, use the no form of this command.
Syntax DescriptionThis command has no arguments or keywords.
DefaultThe routers open one virtual circuit for all types of service.
Command ModeInterface configuration
Usage GuidelinesThis feature is useful only for DDN or BFE encapsulations, because only these methods have an IP precedence facility defined to allow the source and destination devices to both use the virtual circuit for traffic of the given IP priority. There is a problem associated with this feature in that some hosts send nonstandard data in the IP TOS field, thus causing multiple wasteful virtual circuits to be created. Four virtual circuits may be opened based on IP precedence to encapsulate routine, priority, immediate, and all higher precedences. The x25 map nvc limit or the default x25 nvc limit still applies.
ExampleThe following example allows new IP encapsulation virtual circuits based on the IP precedence: interface serial 3 x25 ip-precedence
x25 ipsTo set the interface default maximum input packet size to match that of the network, use the x25 ips interface configuration command.
Syntax Description
|