Document ID: 10387
Contents
Introduction
Prerequisites
Requirements
Components Used
Conventions
Configure
Network Diagram
Configuration
Verify
Troubleshoot
Troubleshooting Commands
Related Information
Introduction
This document provides a sample configuration for a TN3270 on an AS5200.
Prerequisites
Requirements
There are no specific requirements for this document.
Components Used
This document is not restricted to specific software and hardware versions.
Conventions
Refer to Cisco Technical Tips Conventions for more information on document conventions.
Configure
In this section, you are presented with the information to configure the features described in this document.
Note: Use the Command Lookup Tool (registered customers only) to find more information on the commands used in this document.
Network Diagram
This document uses this network setup.
This diagram shows an AS5200 that does TN3270 emulation. Everyone that connects uses terminal type TVI925. If you need a different terminal type, pick one from the list that is defined in the configuration. Also note that there are many other definitions for terminal types. Refer to TN3270 Keymap Examples for additional definitions.

Configuration
For this configuration, you need to know the terminal type of the connecting terminals and its key mapping.
|
TN3270 on an AS5200 |
|---|
version 11.1
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
no service udp-small-servers
no service tcp-small-servers
!
hostname as5200
!
enable password foo
!
username Russ password bar
username Syed password fake
username Tito password bogus
!
controller T1 0
framing esf
clock source line primary
linecode b8zs
pri-group timeslots 1-24
!
controller T1 1
framing esf
clock source line secondary
linecode b8zs
pri-group timeslots 1-24
!
interface Loopback0
ip address 172.16.209.65 255.255.255.192
!
interface Loopback1
ip address 172.16.209.129 255.255.255.192
!
interface Ethernet0
ip address 172.16.162.4 255.255.255.0
!
interface Serial0
no ip address
!
interface Serial1
no ip address
!
interface Serial0:23
no ip address
isdn incoming-voice modem
encapsulation ppp
no fair-queue
!
interface Serial1:23
no ip address
encapsulation ppp
isdn incoming-voice modem
no fair-queue
!
interface Group-Async1
ip unnumbered Loopback0
encapsulation ppp
async mode interactive
no cdp enable
peer default ip address pool dialin1
ppp authentication chap
group-range 1 48
!
interface Dialer1
ip unnumbered Loopback1
encapsulation ppp
peer default ip address pool dialin2
dialer in-band
dialer idle-timeout 300
dialer-group 1
no fair-queue
ppp multilink
ppp authentication chap
!
router eigrp 222
redistribute connected
network 172.16.0.0
!
ip local pool dialin2 172.16.209.200 172.16.209.250
ip local pool dialin 172.16.209.70 172.16.209.120
no ip classless
!
tn3270 172.16.163.21
ttycap wyse \
w7|w60|wyse60|wyse60-24|w9|w60-st|wyse60-st|wyse60-24-st:\
ttycap televideo \
v8|vi|tvi925|925|televideo model 925:\
:hs:am:bs:co#80:li#24:cm=\E=%+ %+ :cl=\E*:cd=\Ey:ce=\Et:\
:al=\EE:dl=\ER:im=:ei=:ic=\EQ:dc=\EW:mr=\EG4:mk=\EG1:md=\EG4:me=\EG0:\
:ho=^^:nd=^L:bt=\EI:pt:so=\EG4:se=\EG0:sg#1:us=\EG8:ue=\EG0:ug#1:\
:up=^K:do=^V:kb=^H:ku=^K:kd=^V:kl=^H:kr=^L:kh=^^:ma=^V^J^L :\
:k1=^A@\r:k2=^AA\r:k3=^AB\r:k4=^AC\r:k5=^AD\r:k6=^AE\r:k7=^AF\r:\
:k8=^AG\r:k9=^AH\r:k0=^AI\r:ko=ic,dc,al,dl,cl,ce,cd,bt:\
:ts=\Ef:fs=\Eg:ds=\Eh:sr=\Ej:xn:ti=\EG0:to=\EG0:\
:is=\El\E"\E3^ \E1 \E1 \E1 \E1
\E1 \E1 \E1 \E1 \E1
keymap televideo \
k1|925|tvi925|925vb|tvi925vb|televideo 925{ \
enter = ''; clear = '^z'; nl = '^j' | '^n'; tab = '^i'; \
btab = '\EI'; left = '^h'; right = '^l'; up = '^k'; down = '^v'; \
home = '^^'; delete = '^?' | '^[W'; eeof = '^e' | '^[R'; \
einp = '^w'; insrt = '\E ' | '^[E' ; \
pfk1 ='^a@'; pfk2 ='^aA'; pfk3 ='^aB'; pfk4 ='^aC'; \
pfk5 ='^aD'; pfk6 ='^aE'; pfk7 ='^aF'; pfk8 ='^aG'; \
pfk9 ='^aH'; pfk10 ='^aI'; pfk11 ='^aJ'; pfk12 ='^aK'; \
pfk13 ='\E^a@'; pfk14 ='\E^aA'; pfk15 ='\E^aB'; pfk16 ='\E^aC';\
pfk17 ='\E^aD'; pfk18 ='\E^aE'; pfk19 ='\E^aF'; pfk20 ='\E^aG';\
pfk21 ='\E^aH'; pfk22 ='\E^aI'; pfk23 ='\E^aJ'; pfk24 ='\E^aK';\
pa1 = '^a`' | '^A1'; pa2 = '^aa' | '^A2'; pa3 = '^ab' | '^A3'; \
centsign = '^\x'; reset = '^t'; master_reset = '^g'; flinp = '^x'; \
reshow = '^r'; settab = '\EY'; deltab = '\Ey'; clrtab = '\E:'; \
setmrg = '\ET'; sethom = '\Et'; coltab = '^p'; colbak = '^o'; \
indent = '\Er'; undent = '\Ew'; \
}
!
line con 0
login
line 1 48
modem InOut
transport input telnet
terminal-type tvi925
line aux 0
line vty 0 4
password secret
login
!
end |
Verify
Use this section to confirm that your configuration works properly.
The Output Interpreter Tool (registered customers only) (OIT) supports certain show commands. Use the OIT to view an analysis of show command output.
-
show dialer map—Use after an ISDN connection is made to see if a dynamic dialer map is created. Without it, you are not able to route.
-
show isdn status—The status is:
layer 1 = active layer 2 = MULTIPLE_FRAMES_ESTABLISHED
If Layer 1 is not active, then the wiring adapter or port might be bad or not plugged in. If Layer 2 is in a state of TEI_Assign then the router is not talking to the switch.
Troubleshoot
Use this section to troubleshoot your configuration.
Troubleshooting Commands
The Output Interpreter Tool (registered customers only) (OIT) supports certain show commands. Use the OIT to view an analysis of show command output.
Note: Refer to Important Information on Debug Commands before you use debug commands.
-
debug ppp authentication—Use this command in order to see if a client passes authentication. If you use a version earlier than Cisco IOS® Software Release 11.2, use the debug ppp chap command instead.
-
debug ppp negotiation—Use this command in order to see if a client passes Point-to-Point Protocol (PPP) negotiation; this is when you check for address negotiation.
-
debug ppp error—Use this command in order to display protocol errors and error statistics associated with PPP connection negotiation and operation.
-
debug isdn q931—Use this command in order to check ISDN connections as users dial in to see what happens with the ISDN call (for example, if the connection is dropped).
Related Information
| Updated: Sep 09, 2005 | Document ID: 10387 |
