文本版|topic 高级搜索
   名人堂 帮助 论坛制度 意见反馈 | 首页 博客 周新贴 招聘 专题 新闻
RSS 底部
 
社区导航: 专家门诊   网络技术   操作系统   数据库   程序设计   系统应用   考试认证   CIO及信息化   站长交流   综合交流   下载基地  51CTO产品服务 设为首页 | 收藏本站
51CTO技术论坛» 存储备份 » 做接入服务器配置实例       [ 打印]  [ 订阅]  [ 收藏]  [ 推荐给朋友]   [ 本帖文本页]

论坛跳转:
     
标题: [原创] 做接入服务器配置实例  ( 查看:876  回复:3 )   
 
zhnqing
技术员  点击可查看详细



帖子 50
精华 0
无忧币 436
积分 234
阅读权限 30
注册日期 2006-4-13
最后登录 2008-2-17 离线

[查看资料]  [发短消息]  [Blog
[个人主页]         
发表于:2006-11-9 08:08   标题:做接入服务器配置实例
上一帖 |
1750做接入服务器配置实例




[上海桓文]新版CCNP近期开课送ccna  

路由器帮你下BT,华硕无线WL-500GP图秀
USB都能无线了! 首款无线USB hub上市



兆维晓通推出不足万元的网络存储设备
iSCSI 环境下集群(应用虚拟化)的实现
EMC推出CDP及管理软件新品






Chinaitlab.com 收集整理  2004-3-17  [url=javascript:window.external.AddFavorite('http://cisco.chinaitlab.com/configure/18307.html','1750做接入服务器配置实例%7C中国IT实验室')]保存本文[/url]  推荐给好友  QQ上看本站  [url=javascript:window.external.AddFavorite('http://www.chinaitlab.com','中国IT实验室')]收藏本站[/url]

整理您的相片。下载 Google 的相片软件

  用17500的aux口传异步拨号:
  (config)# line aux 0
  (config-line)# login
  (config-line)# password cisco
  (config-line)# speed 115200
  (config-line)# flowcontrol hardware
  (config-line)# stopbits 1
  (config-line)# transport input all
  (config-line)# modem inout
  
  再配置反向telnet:
  (config)# int lo0
  (config-if)# ip address 1.1.1.1 255.255.255.0
  (config)# ip host modem 2005 1.1.1.1
  
  用show line看到aux口的线序号是5,那么反向telnet的端口就是2000+5=2005
  
  可以用where命令查看打开的对话!
  
  上面配置好以后,将接1750上Modem设为ats0=1(最开始没有将这个设为1,所以一直拨不通!),对方的Modem就可以拨号成功,但是按回车以后还是没有反应。不能进入路由器!因为没有对异步口进行配置!
  
  要实现远程路由器管理:
  (config)# int asy 5
  (config-if)# en ppp
  (config-if)# asyn mode dedicated
  
  对远程用户分配IP地址:
  (config)# int asy 5
  (config-if)# peer default ip address 192.168.10.2
  
  需要对拨号用户使用地址池,可以这样:
  (config)# ip local pool wolf 192.168.0.50 192.168.0.254
  (config)# int asy 5
  (config-if)# peer default ip address pool wolf
  
  不过好象要重启路由器才有效!
  
  Building configuration...
  version 12.1
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname Router
  !
  enable password cisco
  !
  memory-size iomem 25
  ip subnet-zero
  ip host modem 2005 1.1.1.1
  !
  interface Loopback0
  ip address 1.1.1.1 255.255.255.0
  !
  interface Serial0
  no ip address
  shutdown
  !
  interface FastEthernet0
  no ip address
  shutdown
  speed auto
  !
  interface Async5
  ip address 192.168.0.1 255.255.255.0
  encapsulation ppp 这个一定要!不然看到的是乱码!
  async mode dedicated 一定要!若改成async mode inter,对方拨号时总是停在检验用户名和密码那里!若两个都不设,拨号不上!
  peer default ip address 192.168.0.2
  !
  ip classless
  no ip http server
  !
  line con 0
  transport input none
  line aux 0
  password cisco
  login
  modem InOut
  transport input all
  stopbits 1
  speed 115200
  flowcontrol hardware
  line vty 0 4
  login
  !
  no scheduler allocate
  end
  
  以上配置的效果就是:对方拨号,不需要用户名和密码,连结成功,就和拨96169一样!
  
  要让拨号用户加上认证可以这样做:
  (config)# username wolf password igpwwk
  (config)# int asy 5
  (config-if)# ppp au pap
  也可以使用chap认证:
  (config-if)# ppp au chap
  或者同时使用:
  (config-if)# ppp au chap ppp (config-if)# ppp au ppp chap
  
  以下是将串口模拟成异步口:
  Building configuration...
  version 12.1
  service timestamps debug uptime
  service timestamps log uptime
  no service password-encryption
  !
  hostname Router
  !
  enable password cisco
  !
  username wolf password 0 igpwwk
  !
  memory-size iomem 25
  ip subnet-zero
  ip host modem 2001 1.1.1.1
  !
  interface Loopback0
  ip address 1.1.1.1 255.255.255.0
  !
  interface Serial0
  physical-layer async
  ip address 192.168.0.1 255.255.255.0
  encapsulation ppp
  async mode dedicated
  peer default ip address 192.168.0.10
  ppp authentication chap
  !
  interface FastEthernet0
  no ip address
  shutdown
  speed auto
  !
  interface Async5
  no ip address
  !
  ip classless
  no ip http server
  !
  line con 0
  transport input none
  line 1
  password cisco
  login
  modem InOut
  transport input all
  stopbits 1
  speed 115200
  flowcontrol hardware
  line aux 0
  login
  transport input all
  speed 115200
  line vty 0 4
  login
  !
  End
  
  Router#sh line
  Tty Typ Tx/Rx A Modem Roty AccO AccI Uses Noise Overruns Int
  * 0 CTY - - - - - 2 0 0/0 -
  A 1 TTY 115200/115200- inout - - - 2 7 0/0 Se0
  5 AUX 115200/115200- - - - - 1 0 0/0 -
  6 VTY - - - - - 0 0 0/0 -
  7 VTY - - - - - 0 0 0/0 -
  8 VTY - - - - - 0 0 0/0 -
  9 VTY - - - - - 0 0 0/0 -
  10 VTY - - - - - 0 0 0/0 -
  
  Line(s) not in async mode -or- with no hardware support: 2-4
2006-11-9 08:081楼
[ 顶部 ]
 
yahoon
技术员  点击可查看详细



十二生肖之狗   金牛座   行业勋章   技术勋章   诚信兄弟   中秋活动勋章  
帖子 431
精华 0
无忧币 1732
积分 753
阅读权限 30
来自 (保密)
注册日期 2006-4-17
最后登录 2008-7-21 离线

[查看资料]  [发短消息]  [Blog
[个人主页]    QQ       
发表于:2006-11-9 08:46 
开头是不是可以删了



路过没瞎
2006-11-9 08:462楼
[ 顶部 ]
 
china20008
技术员  点击可查看详细



帖子 659
精华 0
无忧币 27
积分 647
阅读权限 30
注册日期 2006-12-12
最后登录 2006-12-27 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2006-12-25 11:21 
shime
2006-12-25 11:213楼
[ 顶部 ]
 
wzq812168
技术员  点击可查看详细



帖子 512
精华 0
无忧币 137
积分 521
阅读权限 30
注册日期 2006-9-13
最后登录 2008-3-26 离线

[查看资料]  [发短消息]  [Blog
       
发表于:2006-12-28 11:48 
ding
2006-12-28 11:484楼
[ 顶部 ]
     
论坛跳转:  

| | |

| | |

| | |

标记已读 · 删除论坛Cookies · 文本版 · WAP
 
| 诚征版主 | 版主堂 | 意见建议 | 大史记 | 论坛地图
Copyright©2005-2008 51CTO.COM  Powered by Discuz!
本论坛言论纯属发布者个人意见,不代表51CTO网站立场!如有疑义,请与管理员联系。
京ICP备05051492号