开云体育

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
!


 

I had to add the following lines to get any pad connections to go through on the 2620:

x25 profile TELEBAHN dxe
?x25 facility windowsize 10 10
?x25 facility packetsize 1024 1024
?x25 subscribe packetsize permit 32 1024 target 512 1024
?x25 subscribe windowsize permit 1 16 target 2 10

with those lines applied I was finally able to connect to JJ's and I also managed to get an inbound PAD to VTYs setup

-DK


john jones
 

开云体育

Evan Stewart and I ran into that window size issue a few days ago and then I thought it went away.

?

I’ve been using a bunch of different IOS images on different platforms so that may be part of it but perhaps simply lower the window size is an easy enough fix.

?

John

?

From: [email protected] <[email protected]> On Behalf Of David Kuder
Sent: Saturday, July 2, 2022 5:02 PM
To: [email protected]
Subject: Re: JJ 2611 config WAS: RE: [X.25] Cisco 2620 as PAD for a modem bank

?

I had to add the following lines to get any pad connections to go through on the 2620:

x25 profile TELEBAHN dxe

?x25 facility windowsize 10 10

?x25 facility packetsize 1024 1024

?x25 subscribe packetsize permit 32 1024 target 512 1024

?x25 subscribe windowsize permit 1 16 target 2 10


with those lines applied I was finally able to connect to JJ's and I also managed to get an inbound PAD to VTYs setup

-DK


john jones
 

开云体育

And I just checked and the device David was connecting to on my side was still set at 10 so that may be why he needed to change his side to 10 also.?? I guess it is NOT a negotiated parameter.

?

I’ll change my win and wout back to 15 to see if that works for David.

?

John

?

From: [email protected] <[email protected]> On Behalf Of john jones via groups.io
Sent: Saturday, July 2, 2022 7:00 PM
To: [email protected]
Subject: Re: JJ 2611 config WAS: RE: [X.25] Cisco 2620 as PAD for a modem bank

?

Evan Stewart and I ran into that window size issue a few days ago and then I thought it went away.

?

I’ve been using a bunch of different IOS images on different platforms so that may be part of it but perhaps simply lower the window size is an easy enough fix.

?

John

?

From: [email protected] <[email protected]> On Behalf Of David Kuder
Sent: Saturday, July 2, 2022 5:02 PM
To: [email protected]
Subject: Re: JJ 2611 config WAS: RE: [X.25] Cisco 2620 as PAD for a modem bank

?

I had to add the following lines to get any pad connections to go through on the 2620:

x25 profile TELEBAHN dxe

?x25 facility windowsize 10 10

?x25 facility packetsize 1024 1024

?x25 subscribe packetsize permit 32 1024 target 512 1024

?x25 subscribe windowsize permit 1 16 target 2 10


with those lines applied I was finally able to connect to JJ's and I also managed to get an inbound PAD to VTYs setup

-DK


 

I was still able to connect just now without changing anything else on my side.
The secret sauce I found for bouncing connections to other hosts based on incoming connections is this:

!
line vty 60 63
?exec-timeout 0 0
?vacant-message ''
?no login
?rotary 91
?autocommand telnet actual.host.name port /quiet
?no activation-character
?transport input pad
?autohangup
!

rotary is the subaddress for that pool of lines.
no activation-character says don't wait for the user to send any characters before sending out the motd / login / running commands
vacant-message '' gets rid of any "press a key to activate this console" type messages
you can put other commands in autocommand instead of telnet, just be careful that whatever command you run doesn't dump out to a shell when done.
(menus using menu-exit will return to a shell instead of disconnecting. use exit to disconnect)
I've got show clock running on 78323590 which dumps the current date/time as synced from pool.ntp.org and then disconnects.
if you're using both direct mapping and menus, you may want to use alias exec to define the commands so you can easily change them one place for both.

!
! alias exec tpcbbs telnet tpcbbs.local /quiet
alias exec tpcbbs menu offline
alias exec starwars telnet towel.blinkenlights.nl /quiet
alias exec telehack telnet telehack.com /quiet
!
menu offline title '
Sorry. That host is currently offline.'
menu offline prompt 'Press RETURN to continue.'
menu offline command q menu-exit
menu offline default q
menu offline single-space
!

Now that I've sort of figured that much out, I can't seem to get the async lines to respond to telnet anymore, which I had working yesterday. They connect, but I never get anything back from the modems, and then the connection times out.
If I manage to get that working again, I can split the modem pool in half and call it a success.


john jones
 

开云体育

Sometimes, it is necessary to issue the command

?

clear line XXX

?

to get it back to order.

?

I added some session timeouts to address this.

?

John

?

From: [email protected] <[email protected]> On Behalf Of David Kuder
Sent: Saturday, July 2, 2022 8:59 PM
To: [email protected]
Subject: Re: JJ 2611 config WAS: RE: [X.25] Cisco 2620 as PAD for a modem bank

?

I was still able to connect just now without changing anything else on my side.
The secret sauce I found for bouncing connections to other hosts based on incoming connections is this:

!

line vty 60 63

?exec-timeout 0 0

?vacant-message ''

?no login

?rotary 91

?autocommand telnet actual.host.name port /quiet

?no activation-character

?transport input pad

?autohangup

!

rotary is the subaddress for that pool of lines.

no activation-character says don't wait for the user to send any characters before sending out the motd / login / running commands
vacant-message '' gets rid of any "press a key to activate this console" type messages

you can put other commands in autocommand instead of telnet, just be careful that whatever command you run doesn't dump out to a shell when done.
(menus using menu-exit will return to a shell instead of disconnecting. use exit to disconnect)

I've got show clock running on 78323590 which dumps the current date/time as synced from pool.ntp.org and then disconnects.
if you're using both direct mapping and menus, you may want to use alias exec to define the commands so you can easily change them one place for both.


!
! alias exec tpcbbs telnet tpcbbs.local /quiet
alias exec tpcbbs menu offline
alias exec starwars telnet towel.blinkenlights.nl /quiet

alias exec telehack telnet telehack.com /quiet

!

menu offline title '

Sorry. That host is currently offline.'

menu offline prompt 'Press RETURN to continue.'

menu offline command q menu-exit

menu offline default q

menu offline single-space

!

Now that I've sort of figured that much out, I can't seem to get the async lines to respond to telnet anymore, which I had working yesterday. They connect, but I never get anything back from the modems, and then the connection times out.
If I manage to get that working again, I can split the modem pool in half and call it a success.