开云体育

ctrl + shift + ? for shortcuts
© 2025 开云体育

JJ 2611 config WAS: RE: [X.25] Cisco 2620 as PAD for a modem bank


john jones
 

开云体育

X252611#sho ver

Cisco Internetwork Operating System Software

IOS (tm) C2600 Software (C2600-IS-M), Version 12.2(8)T5,? RELEASE SOFTWARE (fc1)

TAC Support:

Copyright (c) 1986-2002 by cisco Systems, Inc.

Compiled Fri 21-Jun-02 13:48 by ccai

Image text-base: 0x80008074, data-base: 0x8140878C

?

ROM: System Bootstrap, Version 11.3(2)XA4, RELEASE SOFTWARE (fc1)

?

X252611 uptime is 18 hours, 16 minutes

System returned to ROM by power-on

System restarted at 16:20:22 DST Fri Jul 1 2022

System image file is "flash:c2600-is-mz.122-8.t5.bin"

?

cisco 2611 (MPC860) processor (revision 0x203) with 59392K/6144K bytes of memory.

Processor board ID JAD05030CPT (694590607)

M860 processor: part number 0, mask 49

Bridging software.

X.25 software, Version 3.0.0.

2 Ethernet/IEEE 802.3 interface(s)

1 Serial network interface(s)

16 terminal line(s)

32K bytes of non-volatile configuration memory.

16384K bytes of processor board System flash (Read/Write)

?

Configuration register is 0x2102

?

X252611#sho run

Building configuration...

?

Current configuration : 2621 bytes

!

! Last configuration change at 01:10:49 DST Sat Jul 2 2022 by cisco

! NVRAM config last updated at 18:00:29 DST Fri Jul 1 2022 by cisco

!

version 12.2

service pad to-xot

service pad from-xot

service tcp-keepalives-in

service tcp-keepalives-out

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname X252611

!

logging buffered 100000 debugging

?

username x25 privilege 2 password 7 11114B50

memory-size iomem 10

clock timezone EST -5

clock summer-time DST recurring

ip subnet-zero

ip cef

!

!

ip host 111.687.x25.org 1.1.1.1

ip host X252611 1.1.1.1

ip name-server 8.8.8.8

!

!

x25 profile TELEBAHN dxe

x25 version 1988

x25 modulo 128

x25 address 687111

x25 win 10

x25 wout 10

x25 ips 1024

x25 ops 1024

x25 routing

!????????

xot access-group 10 profile TELEBAHN

!

!

!

!

interface Loopback0

ip address 1.1.1.1 255.255.255.255

!

interface Ethernet0/0

ip address 192.168.0.100 255.255.255.0

full-duplex

no cdp enable

!

interface Serial0/0

no ip address

encapsulation x25

x25 address 2611

no cdp enable

!

ip classless

ip route 0.0.0.0 0.0.0.0 192.168.0.1

no ip http server

!

access-list 10 permit any

!

x25 route (...)(...).. xot dns \2.\1.x25.org

x25 host X252611 687111

!

!

banner login ^CC

? Welcome to JJ's X.25 Host on the TeleBahn X25 network.

?

??You can login with user x25 password x25

?

??Sorry there isn't anything more interesting than a Cisco router to log in to.

?

??Once you log in, you will auto-connect to the Cisco X28 PAD

???????????

??^C

privilege configure level 14 enable

privilege exec level 14 configure

!

line con 0

line 33

no exec

transport input all

line 34 38

line 39

session-timeout 5

?exec-timeout 60 0

absolute-timeout 30

session-disconnect-warning 180 message Inactivity Warning ! Disconnect to 2 minutes

x25 subaddress 89

login local

autocommand? x28

line 40

session-timeout 360

?session-disconnect-warning 240 message WARNING.? Your Session will terminate in 2 minutes

rotary 99

no exec

transport input all

line 41 48

line aux 0

modem InOut

autocommand? x28

no exec

line vty 0 4

exec-timeout 240 0

login local

transport input pad v120 telnet rlogin udptn

!

ntp clock-period 17180322

ntp server 185.216.231.84

!

end

?

From: [email protected] <[email protected]> On Behalf Of john jones via groups.io
Sent: Saturday, July 2, 2022 9:40 AM
To: [email protected]
Subject: Re: [X.25] Cisco 2620 as PAD for a modem bank

?

Use the rotary command on the async port that will be your destination. ?I.E. ?rotary 99. ?This represents the last two positions in your 8 digit X25 address.?

?

Then use ip host and/or x25 host commands to express the first 6 digits.?

?

I can post an example later on.?

?

John



On Saturday, July 2, 2022, 1:51 AM, David Kuder <dkgrizzly@...> wrote:

So, like the other Dave, I've run into some unfortunate side effects of using a Cisco 26xx router.

I'm running IOS c2600-ipvoice-mz 12.3(9) so thankfully I've got support for the
? ? x25 route (...)(...).. xot dns \2.\1.x25.org
line in the config and my router is able to lookup other hosts.
I did have to configure the access-list to allow all IPs, otherwise it was rejecting all XOT traffic incoming and outgoing.

I have managed to set up a config where analog calls to WIC-2AM modems get presented a hidden menu that resembles the prompt you would get when connecting to TELENET/DATAPAC/TYMNET.
This allows you to connect to a short list of up to 17 predefined hosts (18 menu entries max, including the exit command).

Where I've hit a stumbling block is having a way to map incoming x25 calls to give remote access to my analog modems.
It would appear that "interface Async<x>" doesn't support "encapsulation x25" on the c2620 which as I understand would be needed for it to work how I want.

For now I guess I can use the cisco for outbound calls to a limited subset of TELEBAHN hosts. I'll have to figure out how to get inbound x25 calls routed to a modem bank hanging off another box eventually.
I'm sure someone has a better idea for this, and I'll probably replace the hidden menu on the c2620 with routing through something running on a linux box eventually.

-DK

relevant lines for the dial-in menu:

!
modemcap entry AUTOANSWER:MSC=S0=1:TPL=default
modemcap entry NOANSWER:MSC=S0=0:TPL=default
!
alias exec tpcbbs pad 78398001
!
menu tpcnet prompt '@'
menu tpcnet command 783980 tpcbbs
menu tpcnet command tpcbbs tpcbbs
menu tpcnet command exit exit
menu tpcnet default exit
menu tpcnet line-mode
menu tpcnet single-space
!
banner motd '

TPCNET
783 235 0$(line)A
'
!
line con 0
no motd-banner
!
line 1 4
exec-timeout 0 0
x25 subaddress line
vacant-message ''
modem Dialin
modem autoconfigure type AUTOANSWER
autocommand menu tpcnet
no activation-character
length 0
transport output pad telnet
autoselect timeout 1
autohangup
stopbits 1
speed 115200
flowcontrol hardware
!

Join [email protected] to automatically receive all group messages.