<?xml:namespace prefix = v ns = "urn:schemas-microsoft-com:vml" /><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

 Modem接入Console口实现远程拨号连接

 
用户配置需求说明:
总公司PC能够使用PSTN模拟电话线路通过modem拨号至分公司的Cisco 2611 console口,从而进行Exec管理操作。

 

实现方法与步骤:
1、  ModemPC,通过“HyperTerminal”对Modem进行初始化配置。具体初始化内容如下:
AT&F0: Set to Factory Defaults(no Flow Control).
AT&S0=1: Auto Answer on first ring.

AT&C1: Uses the actual state of the carrier from the remote modem for the Data Carrier Detect.

AT&D2: DTR going off triggers modem disconnect,sends OK result code, and disables auto answer while DTR is OFF.

AT&K0: Disable Data Compression.

AT&W: Store configuration to NVRAM.

(Note:不做以上配置或做了不一致的配置并不代表无法实现与console口的正常连接)

 

2、  使用RJ45-to-DB9的转换头,用直连线接Cisco2611console口和转换头的RJ45口,DB9接头连ModemRS232口,再将号码为”<?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" />51000000”的模拟话线接入Modem”Line”口。(如果ModemDB25口,则使用RJ45-to-DB25转接头)
 
3、  为了登陆后的安全,再Cisco2611中做如下配置:
a) 配置Idle time(此例中为2分钟)
Cisco2611(config)#console timeout 2
或者
Cisco2611(line-con)#exec-timeout 2 0
b) 配置enable pass(此例中为test
Cisco2611(config)#enable password test
c) 配置line console的连接速率(此例中为115200 byte/s
Cisco2611(line-con)#speed 115200

 

4、  远程PC通过HyperTerminal建立拨号连接。
a)创建拨号连接,拨叫号码为模拟电话(此例中假设为02151000000

Modem接入Console口实现远程拨号连接 

b)更改拨叫配置。速率为115200bpsNo Data CompressionNo Flow Control.

 

 Modem接入Console口实现远程拨号连接

c)数据位8,无奇偶校验,停止位1.

 

         Modem接入Console口实现远程拨号连接

 
5、  拨叫后出现光标闪烁并能进行输入操作,表示连接成功,输入enable密码后即可进行操作。如果无法成功连接,建议检查modem的初始配置和速率、流控等参数是否正确。

 

附录:Cisco关于Modem接入Console的优势与劣势,请详见[url]http://www.cisco.com/en/US/products/ps6120/products_tech_note09186a00807955c1.shtml[/url]

转载于:https://blog.51cto.com/intelboy/32675

相关文章:

  • 2022-02-08
  • 2021-11-21
  • 2022-12-23
  • 2021-11-10
  • 2021-12-05
猜你喜欢
  • 2021-06-01
  • 2021-10-22
  • 2021-12-31
  • 2022-01-06
  • 2022-12-23
  • 2021-12-19
  • 2021-11-27
相关资源
相似解决方案