频道直达 - 专题 - 新闻 - 技巧 - 组网 - 开发 - 安全 - web编程 - 图像 - 操作系统 - 数据库 - 教育 - 旅游 - 健康 - 时尚 - 驱动 - 软件 - 游戏 - 多媒体 - ERP - 讨论组

NM-8AM模块做异步拔号的配置

来源: 作者: 出处:巧巧读书 2006-07-25 进入讨论组

  以下为在3640上对NM-8AM模块作远程异步拔号时的配置方法。
  ()中的为注释。
  
  sCurrent configuration : 1251 bytes
  !
  version 12.2
  service timestamps debug datetime msec
  service timestamps log uptime
  no service password-encryption
  !
  hostname cisco3640
  !
  boot system flash:c3640-i-mz.122-8.T
  enable secret 5
  !
  username abc password 0 abc
  
  !    ( Usernames for local authentication of the call.! )
  
  ip subnet-zero
  !
  no ip domain-lookup
  ip domain-name cisco.com
  !
  async-bootp dns-server 5.5.5.1 5.5.5.2
  !
    (Specifies (for async clients) the IP address of domain name    server.)
  !
  !
  interface Loopback0
  ip address 1.1.1.1 255.255.255.0
  !
  interface Ethernet2/0
  ip address 20.20.20.1 255.255.255.0
  half-duplex
  !
  ! (Unused interface configuration omitted.)
  !
  interface Group-Async1
  !
  ( This group-async interface is the configuration template for all modems.! -- Individual async interface do not have to be configured since they! -- can be cloned from one managed copy.)
  
  ip unnumbered Loopback0
  encapsulation ppp
  dialer in-band
  dialer idle-timeout 600
  !
  ( Sets Idle timer to 600 seconds (10 minutes,but default value is 120 seconds).
  
  dialer-group 1
  !
  ( Apply interesting traffic definition from dialer-list 1.! -- Note: The specified dialer-group number must be the same as! -- the dialer-list number; in this example, defined to be "1".! -- Interesting traffic specifies the packets that should reset the idle timer.)
  
  async mode interactive
  !
  ( If the async interface is to answer different connection types ! -- (exec,ppp,slip), use this command in conjunction with autoselect ppp! -- under the line configuration to auto detect the connection type.
  To prevent users from establishing an "EXEC session" to the router.to use the command async modem dedicated instead.)
  
  peer default ip address pool DIALIN
  
  ( Clients are assigned addresses from the ip address pool named "DIALIN".)
  
  ppp authentication chap
  group-range 1 8
  
  ( Modems/lines 1 to 8 are members of this group async interface.
  If you want, for example, only 4 modems for incoming and the rest
  for outgoing then configure the group range for any set of
  four consecutive modems in the module.)
  
  ip local pool DIALIN 10.1.1.1 10.1.1.10
  
  ( IP address pool for dialin clients.)
  
  ip classless
  ip route 0.0.0.0 0.0.0.0 20.20.20.100
  ip http server
  ip pim bidir-enable
  !
  !
  dialer-list 1 protocol ip permit
  
  ( Specifies all IP traffic as interesting. Interesting traffic! -- specifies the packets that should reset the idle timer.! -- This is applied to interface Group-Async 1 using dialer-group 1.! -- Note: The specified dialer-list number must be the same as the! -- dialer-group number; in this example, defined to be "1".)
  
  !
  line con 0
  password abc
  line 1 8
  
  ( TTY lines for the NM-8AM Modems.
  Note the line number range matched the group-range
  under the group-async config.)
  
  modem InOut
  
  (Support incoming and outgoing modem calls.)
  
  transport input all
  autoselect ppp
  (
  Launch ppp if ppp packets are detected. This is used in conjunction
  with async mode interactive under the group-async config.)
  
  flowcontrol hardware
  line aux 0
  line vty 0 4
  login
  !通告:http://www.qqread.com/net-manage/a874175081.html 更多文章 更多内容请看电脑配置手册服务器配置专栏专题,或进入讨论组讨论。
收藏此文】【 】【打印】【关闭
较早的文章:PPPOE+NAT配置实例

较新的文章:肢解ISDN的SPID
相关图文阅读
频道图文推荐
健 康 咨 询
时 尚 咨 询
巧巧读书宗旨
相关专题
讨论组问题推荐
站内各频道最新更新文档
站内最新制作专题
热门关键字导读
Photoshop教 程照片处理 照片制作 PS快捷键 抠图
计 算 机 故 障XP系统修复
艺 术 与 设 计设计 流媒体 设计欣赏 边框
计 算 机 安 全ARP
站内频道文章精选
巧巧电脑频道编辑信箱  告诉我们您想看的专题或文章