华为实战案例:我的银行网络配置
做过的银行的网络工程。
1: 不同的终端使用不同的unix主机上的不同业务
[Router] tty enable 使能终端接入服务功能
[Router] tty-app sender connect 3-7 10.0.1.1 9000 1 chuxu 3-7储蓄业务
[Router-Serial0] clock DTECLK1
[Router-Serial0] ip address 10.0.0.1 255.255.255.0
[Router-Async0]undo modem
[Router-Async0] link-protocol ppp
[Router-Async1] undo modem
[Router-Async1] link-protocol ppp
[Router-Async2] undo modem
[Router-Async2] link-protocol ppp
[Router] interface Async3
[Router-Async3] async mode tty 3 0 3 16000
!
[Router-Async4] undo modem
[Router-Async4] link-protocol ppp
[Router] interface Async5
[Router-Async5] async mode tty 5 0 5 16000 link-protocol ppp
[Router] interface Async6
[Router-Async6] async mode tty 6 0 6 16000
!
[Router-Async7] undo modem
[Router-Async7] link-protocol ppp
!
储蓄unix主机10.0.1.1的ttyd.conf内容:
mode 1
readsize 300
nodelay 1
ttyp50 10.0.0.1 3
ttyp52 10.0.0.1 5
ttyp54 10.0.0.1 7|||
severport 9001
squitsize 512
interval 200
debug 0
ttyp51 10.0.0.1 1
2:不同终端使用同一unix主机上的不同业务
[Router] Tty enable 使能终端接入服务功能
[Router] tty-app sender connect 3-7 10.0.1.1 9000 1 chuxu
[Router] interface Serial0
[Router-Serial0] link-protocol ppp
!
[Router-Async0] undo modem
[Router-Async0] link-protocol ppp 与上下文对应关系
[Router] interface Async1
[Router-Async1] async mode tty 1 0 1 16000
!
[Router-Async2] undo modem
[Router-Async2] link-protocol ppp
[Router] interface Async3
[Router-Async3] async mode tty 3 0 3 16000
!
[Router-Async4] undo modem
[Router-Async4] link-protocol ppp
[Router] interface Async5
[Router-Async5] async mode tty 5 0 5 16000
!
[Router-Async6] undo modem
[Router-Async6] link-protocol ppp
interface Async7
[Router-Async7] async mode tty 7 0 7 16000
!
[Router] ip route-static 0.0.0.0 0.0.0.0 10.0.0.2 preference 60
return
severport 9000
squitsize 512
interval 200
debug 0
ttyp51 10.0.0.1 4
ttyp53 10.0.0.1 6
unix主机10.0.1.1对公的ttyd2.conf内容:
mode 1
readsize 300
nodelay 1
ttyp60 10.0.0.1 0
ttyp62 10.0.0.1 2
需求: 终端0/1可以处理储蓄,对公,记账,外汇四项业务
终端4/5可以处理储蓄,记账两项业务
切换按键为ctrl+6,对应的anscii值为30
version 1.74
[Router] tty-app sender connection 0 10.0.1.1 9000 1 chuxu
[Router] tty-app sender connection 2 10.0.1.2 9002 1 jizhang
[Router] tty-app sender connection 4 10.0.1.1 9000 1 chuxu
[Router] tty-app sender connection 6 10.0.1.2 9002 1 jizhang
[Router] tty-app sender connection 8 10.0.1.1 9000 1 chuxu
[Router] tty-app sender connection 10 10.0.1.2 9002 1 jizhang
[Router] tty-app sender connection 12 10.0.1.1 9001 1 duigong
[Router] tty-app sender connection 14 10.0.1.1 9000 1 chuxu
[Router] tty-app sender connection 16 10.0.1.1 9000 1 chuxu
[Router] tty-app sender connection 18 10.0.1.1 9000 1 chuxu
!
[Router-Serial0] clock DTECLK1
[Router-Serial0] ip address 10.0.0.1 255.255.255.0
[Router] interface Async0
[Router-Async0] async mode tty 0 0 0
[Router-Async0] async mode tty 0 2 2
[Router-Async0] tty menu-key 30
!
[Router-Async1] undo modem
[Router-Async1] async mode tty 1 1 5
[Router-Async1] async mode tty 1 3 7
[Router-Async1] link-protocol ppp
[Router] interface Async2
[Router-Async2] async mode tty 2 0 8
[Router-Async2]
编辑推荐:
温馨提示:因考试政策、内容不断变化与调整,长理培训网站提供的以上信息仅供参考,如有异议,请考生以权威部门公布的内容为准! (责任编辑:长理培训)
点击加载更多评论>>