Guest

X.25 Protocols

Switching CMNS PAD Calls to an X.25 Network

Document ID: 14155



Contents

Introduction
Prerequisites
      Requirements
      Components Used
      Conventions
Background Information
Configure
      Network Diagram
      Configurations
Verify
      Disconnect
Cisco Support Community - Featured Conversations
Related Information

Introduction

The sample configuration in this document shows you how to configure a router to switch packet assembler/disassembler (PAD) calls from Connection-Mode Network Service (CMNS).

For further information, refer to Configuring X.25 and LAPB, and see to the Configure CMNS Routing section.

Prerequisites

Requirements

There are no specific requirements for this document.

Components Used

In order to enable CMNS on the ethernet interface, use the cmns enable command. This requires the ENTERPRISE PLUS feature set. This command first appears in Cisco IOSĀ® Software Release 11.1.

This configuration was developed and tested with Cisco IOS Software Release 12.0(16).

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.

Conventions

For more information on document conventions, refer to Cisco Technical Tips Conventions.

Background Information

Connection-Mode Network Service (CMNS) enables you to extend local X.25 switching to different media, such as Ethernet, Fiber Distributed Data Interface [FDDI], and Token Ring, through OSI-based network service access point (NSAP) addresses. This implementation runs X.25 (packet level) over Logical Link Control, type 2 (LLC2) (frame level), to facilitate the extension of X.25 to other media. Cisco's CMNS implementation supports services defined in ISO Standards 8208 (packet level) and 8802-2 (frame level).

Configure

In this section, you are presented with the information to configure the features described in this document.

Note: To find additional information on the commands used in this document, use the Command Lookup Tool ( registered customers only) .

Network Diagram

This document uses this network setup:

cmns_x25.gif

Configurations

This document uses these configurations:

Device Name 1

service pad cmns                        

!--- if you want to accept PAD calls

service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname router
!
enable password
!
x25 routing                             

!--- enable X25 switching

!
interface Ethernet0 
 ip address 10.200.16.27 255.255.255.0 
 no ip mroute-cache 
 cmns enable                            

!--- enable CMNS 


x25 address 901

!--- X25 address if you to accept pad calls

!
x25 route ^100 interface Serial0        

!--- route statement to switch call

!
line con 0 
 exec-timeout 0 0 
 password length 0 
 transport input none 
 line aux 0 
 line vty 0 4 
 password login
!
end

Verify

This section provides information you can use to confirm your configuration is working properly.

Certain show commands are supported by the Output Interpreter Tool ( registered customers only) , which allows you to view an analysis of show command output.

  • show x25 route—checks the X.25 route statement.

  • show llc2—checks Layer 2.

  • show debug—displays the current state of tracing.

  • show x25 vc—displays information about active switched virtual circuits (SVCs) and permanent virtual circuits (PVCs).

  • show x25 interface ethernet 0 mac 00e0.b055.d603—provides more specific information about virtual circuits (VCs) that use an X.25 interface.

Here is a sample output from these commands:

   router#show x25 route
     #  Match             Substitute          Route to
     1  dest ^100                             Serial0 
   
   router#show llc2
   LLC2 Connections: total of 1 connections
   Ethernet0 DTE: 00e0.b055.d603 00e0.b056.129c 7E 7E state NORMAL
      V(S)=54, V(R)=57, Last N(R)=54, Local window=7, Remote Window=127
      akmax=3, n2=10, 
      xid-retry timer      0/0        ack timer   0/1000  
      p timer              0/1000    idle timer   6200/10000 
      rej timer            0/3200    busy timer   0/9600     
      adm timer            0/60000   llc1 timer   0/5000  
      akdelay timer        0/100      txQ count   0/200   
   
   router#show debug    
   X.25:
     X.25 special event debugging is on
   
   PAD call from CMNS switched to X25 serial interface:
   ----------------------------------------------------
   *Mar  7 04:32:22.687: got data.ind for Ethernet0 00e0.b055.d603, state 9
   *Mar  7 04:32:22.691: Ethernet0: CMNS I R1 Call (12) 8 lci 1
   *Mar  7 04:32:22.691:   From (3): 900 To (3): 100
   *Mar  7 04:32:22.695:   Facilities: (0)
   *Mar  7 04:32:22.699:   Call User Data (4): 0x01000000 (pad)
   *Mar  7 04:32:22.707: Serial0: X.25 O R1 Call (12) 8 lci 1
   *Mar  7 04:32:22.707:   From (3): 900 To (3): 100
   *Mar  7 04:32:22.711:   Facilities: (0)
   *Mar  7 04:32:22.715:   Call User Data (4): 0x01000000 (pad)
   *Mar  7 04:32:22.723: Serial0: X.25 I R1 Call Confirm (5) 8 lci 1
   *Mar  7 04:32:22.727:   From (0):  To (0): 
   *Mar  7 04:32:22.731:   Facilities: (0)
   *Mar  7 04:32:22.731: Ethernet0: CMNS O R1 Call Confirm (5) 8 lci 1
   *Mar  7 04:32:22.735:   From (0):  To (0): 
   *Mar  7 04:32:22.739:   Facilities: (0)
   *Mar  7 04:32:22.739: cmns_restart_tx: Ethernet0 00e0.b055.d603
   *Mar  7 04:32:22.743: cmns_oqueue: Ethernet0 00e0.b055.d603
   *Mar  7 04:32:22.743: cmns_restart_TX: Ethernet0 00e0.b055.d603
   *Mar  7 04:32:22.747: cmns_oqueue: Ethernet0 00e0.b055.d603
   *Mar  7 04:32:22.751: cmns_restart_TX: Ethernet0 00e0.b055.d603
   *Mar  7 04:32:22.783: got data.ind for Ethernet0 00e0.b055.d603, state 9
   
   router#show x25 vc
   SVC 1,  State: D1,  Interface: Ethernet0
     Started 00:00:04, last input 00:00:04, output 00:00:04
     Connects 900 <--> 100 to Serial0 SVC 1
     Window size input: 2, output: 2
     Packet size input: 128, output: 128
     PS: 3  PR: 2  ACK: 2  Remote PR: 3  RCNT: 0 RNR: no
     P/D state timeouts: 0  timer (secs): 0
     data bytes 20/54 packets 3/2 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0
   SVC 1,  State: D1,  Interface: Serial0
     Started 00:00:04, last input 00:00:04, output 00:00:04
     Connects 900 <--> 100 from Ethernet0 CMNS 00e0.b055.d603
     Window size input: 2, output: 2
     Packet size input: 128, output: 128
     PS: 2  PR: 3  ACK: 3  Remote PR: 2  RCNT: 0 RNR: no
     P/D state timeouts: 0  timer (secs): 0
     data bytes 54/20 packets 2/3 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0
   
   router#show x25 interface ethernet 0 Mac 00e0.b055.d603
   SVC 1,  State: D1,  Interface: Ethernet0
     Started 00:00:57, last input 00:00:57, output 00:00:57
     Connects 900 <--> 100 to Serial0 SVC 1
     Window size input: 2, output: 2
     Packet size input: 128, output: 128
     PS: 3  PR: 2  ACK: 2  Remote PR: 3  RCNT: 0 RNR: no
     P/D state timeouts: 0  timer (secs): 0
     data bytes 20/54 packets 3/2 Resets 0/0 RNRs 0/0 REJs 0/0 INTs 0/0

Disconnect

Here is the output of the debug x25 event command:

*Mar  7 04:33:39.271: Ethernet0: CMNS I R1 Clear (5) 8 lci 1
*Mar  7 04:33:39.271:   Cause 0, Diag 0 (DTE originated/No additional information)
*Mar  7 04:33:39.275: Serial0: X.25 O R1 Clear (5) 8 lci 1
*Mar  7 04:33:39.279:   Cause 0, Diag 0 (DTE originated/No additional information)
*Mar  7 04:33:39.283: cmns_restart_TX: Ethernet0 00e0.b055.d603
*Mar  7 04:33:39.287: Serial0: X.25 I R1 Clear Confirm (3) 8 lci 1
*Mar  7 04:33:39.291: Ethernet0: CMNS O R1 Clear Confirm (3) 8 lci 1u

Cisco Support Community - Featured Conversations

Cisco Support Community is a forum for you to ask and answer questions, share suggestions, and collaborate with your peers. Below are just some of the most recent and relevant conversations happening right now.

&nbsp;

Related Information



Updated: Jun 06, 2005Document ID: 14155