• 全部
  • 经验案例
  • 典型配置
  • 技术公告
  • FAQ
  • 漏洞说明
  • 全部
  • 全部
  • 大数据引擎
  • 知了引擎
产品线
搜索
取消
案例类型
发布者
是否解决
是否官方
时间
搜索引擎
匹配模式
高级搜索

Typical Configuration Of Access Server for Financial Terminal

2007-09-28 发表
  • 0关注
  • 0收藏 516浏览
粉丝: 关注:

Typical Configuration Of Access Server for Financial Terminal

[Configuring the UNIX]

All the operations are the same as those of the VRP1.7 terminal access. So are the ttyd.conf contents.

1. Upload the latest ttyd specific for the VRP3.4 (the current version is 10.01) to /etc/ of the UNIX.

2.  vi /etc/inittab, add p21:234:respawn:/etc/getty ttyp21 m
If there are some ttyp systems or other services unused, modify them as previously provided, and then you can use them directly.

3.  init q

4. Create ttyd.conf under  /etc/:

serverport 9010               /TCP port number is 9010/

mode 1                            /Connection mode is 1-to-1/

screen 1                          /Support screen reservation/

readsize 300                   /Size (bytes) of the data once read by the ttyd program from the pseudo terminal/

sendsize 512                    /Size (bytes) of the data once transmitted by the ttyd program to the network/

ttyp21 26.0.187.100 1           /Fixed terminal configuration/

ttyp22 26.0.187.100 2           /Fixed terminal configuration/

 

 [Configuring the Router]

Configuration script

rta server enable

rta template test                 

vty 0 tty remote 26.0.187.247 9010 1     

vty 0 hotkey 1 96 13              

vty 1 tty remote 26.0.187.94 9010 1      

vty 1 hotkey 1 97 13   

#           

menu hotkey 33                    

data protect router-unix              

#

interface Async1/0

async mode terminal test 1            

link-protocol ppp                 

#

interface Async1/1

async mode terminal test 2            

link-protocol ppp                       

#

interface Ethernet0/1

ip address 26.0.187.100 255.255.255.0

#

user-interface tty 17 18              

flow-control software       

 

1. disp user-interface

<Quidway>disp user-int

Idx  Type     Tx/Rx      Modem Privi Auth  Int

+ 0    CON 0    9600       -     3     N     -

17   TTY 17   9600       -     0     N     1/0

18   TTY 18   9600       -     0     N     1/1

19   TTY 19   9600       -     0     N     1/2

20   TTY 20   9600       -     0     N     1/3

21   TTY 21   9600       -     0     N     1/4

22   TTY 22   9600       -     0     N     1/5

23   TTY 23   9600       -     0     N     1/6

24   TTY 24   9600       -     0     N     1/7

25   TTY 25   9600       -     0     N     1/8

26   TTY 26   9600       -     0     N     1/9

27   TTY 27   9600       -     0     N     1/10

28   TTY 28   9600       -     0     N     1/11

29   TTY 29   9600       -     0     N     1/12

30   TTY 30   9600       -     0     N     1/13

31   TTY 31   9600       -     0     N     1/14

32   TTY 32   9600       -     0     N     1/15

129  AUX 0    9600       -     0     P     -

130  VTY 0               -     0     A     -

131  VTY 1               -     0     A     -

132  VTY 2               -     0     A     -

133  VTY 3               -     0     A     -

134  VTY 4               -     0     A     -

UI(s) not in async mode -or- with no hardware support:

1-16  33-128

+    : Current UI is active.

F    : Current UI is active and work in async mode.

Idx  : Absolute index of UIs.

Type : Type and relative index of UIs.

Privi: The privilege of UIs.

Auth : The authentication mode of UIs.

Int  : The physical location of UIs.

A    : Authentication use AAA.

L    : Authentication use local database.

N    : Current UI need not authentication.

P    : Authentication use current UI's password.

 

1. If the RTA server has been started, any modification to the template applied on the interface will not take effect. You have to execute the undo asy mode command in the asynchronous interface view, and then execute the asy mode terminal test 1 command again.

 

2.  Source address binding
Execute the vty 0 tty remote 26.0.187.247 9010 1 source 192.168.0.1 command to change the router
Execute the ttyp21 192.168.0.1 1 command to change ttyd.conf

 

3. View the ascii code stream of the relevant key on the terminal
debug phy packet input int asy1/0

 

4.  <Quidway>disp rta all

TTYID TTY State Current VTY Current APP APP Type APP State

1        DOWN         0         0          TTY      Kept

2        OK           0         1         TTY      Linked

[Quidway]dis rta 1 detail

TTY 1

Interface Used         :  Async1/0

Current State          :  Ok

Flow Control           :  Stop

Current debug          :  0x0

Current VTY            :  0

Current APP            :  0

APP Type               :  1

App Name               :  <empty>

App State              :  Linked

App Mode               :  Special

Socket RecvBuf Size    :  2048 Bytes

Socket SendBuf Size    :  1024 Bytes

Tty Recv Bytes         :  154 Bytes

Tty Send Bytes         :  4167 Bytes

Last Recv Time         :  14:13:57

Last Send Time         :  14:13:58

Current VTY Recv       :  154 Bytes

Current VTY Send       :  4167 Bytes

Current APP Recv       :  2480 Bytes

Current APP Send       :  105 Bytes

Encrypt(Router to Unix): no

Encrypt(Router to Terminal): no

Receive remote buffer address: 4fdac24

Receive buffer head: 2480

Receive buffer tail: 2480

----------------------------------------

VTY 0

APP Index: 0

APP Type: TTY

Mode: 1

APP Name: (null)

APP State: Linked

Remote IP: 26.0.187.247

Source IP: 0.0.0.0

Actual Source IP: 0.0.0.0

Remote Port: 9010

Local Port: 1069

Encrypt Now: no

Receive remote buffer address: 4fdac24

Receive buffer head: 0

Receive buffer tail: 0

 

 

若您有关于案例的建议,请反馈:

作者在2007-10-22对此案例进行了修订
0 个评论

该案例暂时没有网友评论

编辑评论

举报

×

侵犯我的权益 >
对根叔知了社区有害的内容 >
辱骂、歧视、挑衅等(不友善)

侵犯我的权益

×

泄露了我的隐私 >
侵犯了我企业的权益 >
抄袭了我的内容 >
诽谤我 >
辱骂、歧视、挑衅等(不友善)
骚扰我

泄露了我的隐私

×

您好,当您发现根叔知了上有泄漏您隐私的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您认为哪些内容泄露了您的隐私?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)

侵犯了我企业的权益

×

您好,当您发现根叔知了上有关于您企业的造谣与诽谤、商业侵权等内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到 pub.zhiliao@h3c.com 邮箱,我们会在审核后尽快给您答复。
  • 1. 您举报的内容是什么?(请在邮件中列出您举报的内容和链接地址)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
  • 3. 是哪家企业?(营业执照,单位登记证明等证件)
  • 4. 您与该企业的关系是?(您是企业法人或被授权人,需提供企业委托授权书)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

抄袭了我的内容

×

原文链接或出处

诽谤我

×

您好,当您发现根叔知了上有诽谤您的内容时,您可以向根叔知了进行举报。 请您把以下内容通过邮件发送到pub.zhiliao@h3c.com 邮箱,我们会尽快处理。
  • 1. 您举报的内容以及侵犯了您什么权益?(请在邮件中列出您举报的内容、链接地址,并给出简短的说明)
  • 2. 您是谁?(身份证明材料,可以是身份证或护照等证件)
我们认为知名企业应该坦然接受公众讨论,对于答案中不准确的部分,我们欢迎您以正式或非正式身份在根叔知了上进行澄清。

对根叔知了社区有害的内容

×

垃圾广告信息
色情、暴力、血腥等违反法律法规的内容
政治敏感
不规范转载 >
辱骂、歧视、挑衅等(不友善)
骚扰我
诱导投票

不规范转载

×

举报说明

提出建议

    +

亲~登录后才可以操作哦!

确定

亲~检测到您登陆的账号未在http://hclhub.h3c.com进行注册

注册后可访问此模块

跳转hclhub

你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作