当前位置:操作系统 > 玩转网络 >>

实战银行网络配置

答案:

1: 不同的终端使用不同的unix主机上的不同业务

需求:终端0/1/2应用对公业务;终端3/4/5/6/7应用储蓄业务

[Router] tty enable 使能终端接入服务功能
[Router] tty-app sender connect 0-2 10.0.1.2 9001 1 duigong 0-2对公业务
[Router] tty-app sender connect 3-7 10.0.1.1 9000 1 chuxu
3-7储蓄业务

[Router] inte易做图ce Serial0
[Router-Serial0] clock DTECLK1
[Router-Serial0] link-protocol ppp
[Router-Serial0] ip address 10.0.0.1 255.255.255.0

[Router] inte易做图ce Async0
[Router-Async0]undo modem
[Router-Async0] async mode tty 0 0 0 16000
[Router-Async0] link-protocol ppp

[Router] inte易做图ce Async1
[Router-Async1] undo modem
[Router-Async1] async mode tty 1 0 1 16000
[Router-Async1] link-protocol ppp

[Router] inte易做图ce Async2
[Router-Async2] undo modem
[Router-Async2] async mode tty 2 0 2 16000
[Router-Async2] link-protocol ppp
!
[Router] inte易做图ce Async3
[Router-Async3] undo modem
[Router-Async3] async mode tty 3 0 3 16000
[Router-Async3] link-protocol ppp
!
[Router] inte易做图ce Async4
[Router-Async4] undo modem
[Router-Async4] async mode tty 4 0 4 16000
[Router-Async4] link-protocol ppp
!
[Router] inte易做图ce Async5
[Router-Async5] undo modem
[Router-Async5] async mode tty 5 0 5 16000 link-protocol ppp
!
[Router] inte易做图ce Async6
[Router-Async6] undo modem
[Router-Async6] async mode tty 6 0 6 16000
[Router-Async6] link-protocol ppp
!
[Router] inte易做图ce Async7
[Router-Async7] undo modem
[Router-Async7] async mode tty 7 0 7 16000
[Router-Async7] link-protocol ppp


[Router] ip route-static 0.0.0.0 0.0.0.0 10.0.0.2 preference 60
!
quit
储蓄unix主机10.0.1.1的ttyd.conf内容:
severport 9000
mode 1
squitsize 512
readsize 300
interval 200
nodelay 1
debug 0
ttyp50 10.0.0.1 3
ttyp51 10.0.0.1 4
ttyp52 10.0.0.1 5
ttyp53 10.0.0.1 6
ttyp54 10.0.0.1 7

对公unix主机10.0.1.2的ttyd.conf内容:
severport 9001
mode 1
squitsize 512
readsize 300
interval 200
nodelay 1
debug 0
ttyp50 10.0.0.1 0
ttyp51 10.0.0.1 1
ttyp52 10.0.0.1 2

2:不同终端使用同一unix主机上的不同业务
需求:对公储蓄业务均在一台unix主机上运行;终端0/1/2应用对公业务,终端3/4/5/6/7应用储蓄业务

[Router] Tty enable 使能终端接入服务功能
[Router] tty-app sender connect 0-2 10.0.1.1 9001 1 duigong 0-2对公
[Router] tty-app sender connect 3-7 10.0.1.1 9000 1 chuxu
3-7储蓄
[Router] inte易做图ce Serial0


[Router-Serial0] clock DTECLK1
[Router-Serial0] link-protocol ppp
[Router-Serial0] ip address 10.0.0.1 255.255.255.0
!
[Router] inte易做图ce Async0
[Router-Async0] undo modem
[Router-Async0] async mode tty 0 0 0 16000 请注意数字颜色
[Router-Async0] link-protocol ppp 与上下文对应关系
!
[Router] inte易做图ce Async1
[Router-Async1] undo modem
[Router-Async1] async mode tty 1 0 1 16000
[Router-Async1] link-protocol ppp
!
[Router] inte易做图ce Async2
[Router-Async2] undo modem
[Router-Async2] async mode tty 2 0 2 16000
[Router-Async2] link-protocol ppp
!
[Router] inte易做图ce Async3
[Router-Async3] undo modem
[Router-Async3] async mode tty 3 0 3 16000
[Router-Async3] link-protocol ppp
!
[Router] inte易做图ce Async4
[Router-Async4] undo modem
[Router-Async4] async mode tty 4 0 4 16000
[Router-Async4] link-protocol ppp
!
[Router] inte易做图ce Async5
[Router-Async5] undo modem
[Router-Async5] async mode tty 5 0 5 16000
[Router-Async5] link-protocol ppp
!
[Router] inte易做图ce Async6
[Router-Async6] undo modem
[Router-Async6] async mode tty 6 0 6 16000
[Router-Async6] link-protocol ppp
!
inte易做图ce Async7
[Router] undo modem
[Router-Async7] async mode tty 7 0 7 16000
[Router-Async7] link-protocol ppp
!
quit
[Router] ip route-static 0.0.0.0 0.0.0.0 10.0.0.2 preference 60
!
return

unix主机10.0.1.1储蓄的ttyd1.conf内容:
severport 9000
mode 1
squitsize 512
readsize 300
interval 200
nodelay 1
debug 0
ttyp50 10.0.0.1 3
ttyp51 10.0.0.1 4
ttyp52 10.0.0.1 5
ttyp53 10.0.0.1 6
ttyp54 10.0.0.1 7

unix主机10.0.1.1对公的ttyd2.conf内容:
severport 9001
mode 1
squitsize 512
readsize 300
interval 200
nodelay 1
debug 0
ttyp60 10.0.0.1 0
ttyp61 10.0.0.1 1
ttyp62 10.0.0.1 2

3: 同一终端同时使用多种业务
需求: 终端0/1可以处理储蓄,对公,记账,外汇四项业务
终端2/3可以处理储蓄,对公,记账三项业务
终端4/5可以处理储蓄,记账两项业务
终端6/7可以处理储蓄业务
切换按键为ctrl+6,对应的anscii值为30

!
version 1.74
[Router] tty enable
[Router] tty-app sender connection 0 10.0.1.1 9000 1 chuxu
[Router] tty-app sender connection 1 10.0.1.1 9001 1 duigong
[Router] tty-app sender connection 2 10.0.1.2 9002 1 jizhang
[Router] tty-app sender connection 3 10.0.1.2 9003 1 waihui
[Router] tty-app sender connection 4 10.0.1.1 9000 1 chuxu
[Router] tty-app sender connection 5 10.0.1.1 9001 1 duigong
[Router] tty-app sender connection 6 10.0.1.2 9002 1 jizhang


[Router] tty-app sender connection 7 10.0.1.2 9003 1 waihui
[Router] tty-app sender connection 8 10.0.1.1 9000 1 chuxu
[Router] tty-app sender connection 9 10.0.1.1 9001 1 duigong
[Router] tty-app sender connection 10 10.0.1.2 9002 1 jizhang
[Router] tty-app sender connection 11 10.0.1.1 9000 1 chuxu
[Router] tty-app sender connection 12 10.0.1.1 9001 1 duigong
[Router] tty-app sender connection 13 10.0.1.2 9002 1 jizhang
[Router] tty-app sender connection 14 10.0.1.1 9000 1 chuxu
[Router] tty-app sender connection 15 10.0.1.2 9002 1 jizhang
[Router] tty-app sender connection 16 10.0.1.1 9000 1 chuxu
[Router] tty-app sender connection 17 10.0.1.2 9002 1 jizhang
[Router] tty-app sender connection 18 10.0.1.1 9000 1 chuxu
[Router] tty-app sender connection 19 10.0.1.1 9000 1 chuxu
!
[Router] inte易做图ce Serial0
[Router-Serial0] clock DTECLK1
[Router-Serial0] link-protocol ppp
[Router-Serial0] ip address 10.0.0.1 255.255.255.0
!
[Router] inte易做图ce Async0
[Router-Async0] undo modem
[Router-Async0] async mode tty 0 0 0
[Router-Async0] async mode tty 0 1 1
[Router-Async0] async mode tty 0 2 2
[Router-Async0] async mode tty 0 3 3
[Router-Async0] tty menu-key 30
[Router-Async0] link-protocol ppp
!
[Router] inte易做图ce Async1
[Router-Async1] undo modem
[Router-Async1] async mode tty 1 0 4
[Router-Async1] async mode tty 1 1 5
[Router-Async1] async mode tty 1 2 6
[Router-Async1] async mode tty 1 3 7
[Router-Async1] tty menu-key 30
[Router-Async1] link-protocol ppp
!
[Router] inte易做图ce Async2
[Router-Async2] undo modem
[Router-Async2] async mode tty 2 0 8
[Router-Async2] async mode tty 2 1 9
[Router-Async2] async mode tty 2 2 10
[Router-Async2] tty menu-key 30
[Router-Async2] link-protocol ppp
!
[Router] inte易做图ce Async3
[Router-Async3] undo modem
[Router-Async3] async mode tty 3 0 11
[Router-Async3] async mode tty 3 1 12
[Router-Async3] async mode tty 3 2 13
[Router-Async3] tty menu-key 30
[Router-Async3] link-protocol ppp
!
[Router] inte易做图ce Async4
[Router-Async4] undo modem
[Router-Async4] async mode tty 4 0 14
[Router-Async4] async mode tty 4 1 15
[Router-Async4] tty menu-key 30
[Router-Async4] link-protocol ppp
!
[Router] inte易做图ce Async5
[Router-Async5] undo modem
[Router-Async5] async mode tty 5 0 16
[Router-Async5] async mode tty 5 1 17
[Router-Async5] tty menu-key 30
[Router-Async5] link-protocol ppp
!
[Router] inte易做图ce Async6
[Router-Async6] undo modem
[Router-Async6] async mode tty 6 0 18
[Router-Async6] link-protocol ppp
!
[Router] inte易做图ce Async7
[Router-Async7] undo modem
[Router-Async7] async mode tty 7 0 19
[Router-Async7] link-protocol ppp
!
[Router-Async7] quit
[Router] ip route-static 0.0.0.0 0.0.0.0 10.0.0.2 preference 60
!
quit

unix主机10.0.1.1储蓄的ttyd1.conf内容:
severport 9000
mode 1
screen 1
squitsize 512
readsize 300
interval 200
nodelay 1
debug 0
ttyp50 10.0.0.1 0
ttyp51 10.0.0.1 1
ttyp52 10.0.0.1 2
ttyp53 10.0.0.1 3
ttyp54 10.0.0.1 4
ttyp55 10.0.0.1 5
ttyp56 10.0.0.1 6
ttyp57 10.0.0.1 7

unix主机10.0.1.1对公的ttyd2.conf内容:
severport 9001
mode 1
screen 1
squitsize 512
readsize 300
interval 200
nodelay 1
debug 0
ttyp60 10.0.0.1 0
ttyp61 10.0.0.1 1
ttyp62 10.0.0.1 2
ttyp63 10.0.0.1 3

unix主机10.0.1.2记账的ttyd1.conf内容:
severport 9002
mode 1
screen 1
squitsize 512
readsize 300
interval 200
nodelay 1
debug 0
ttyp70 10.0.0.1 0
ttyp71 10.0.0.1 1
ttyp72 10.0.0.1 2
ttyp73 10.0.0.1 3
ttyp74 10.0.0.1 4
ttyp75 10.0.0.1 5

unix主机10.0.1.2外汇的ttyd2.conf内容:
severport 9003
mode 1
screen 1
squitsize 512
readsize 300
interval 200
nodelay 1
debug 0
ttyp80 10.0.0.1 0
ttyp81 10.0.0.1 1

上一个:深入发掘你的WEB服务器漏洞-N-Stealth
下一个:Guest权限突破

更多玩转网络疑问解答:
对访问的站点进行流量分配
Cisco2620路由器的配置与维护
Cisco 2501 路由器的配置与调试
Cisco 路由器寄存器配置
Cisco PIX防火墙的安装流程
用PIX构筑铜墙铁壁
cisco的异步回拨命令集
Cisco路由器存储器及IOS升级
MDaemon Server的安全设置
CISCO NAT 配置
备份Cisco路由器用户配置
Cisco路由器密码忘了怎么办?
Jmail的主要参数列表
OpenBSD入门
NetBSD操作系统在VMware下的安装指南
电脑通通透
玩转网络
IE/注册表
DOS/Win9x
Windows Xp
Windows 2000
Windows 2003
Windows Vista
Windows 2008
Windows7
Unix/Linux
苹果机Mac OS
windows8
安卓/Android
Windows10
如果你遇到操作系统难题:
访问www.zzzyk.com 试试
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,