设为首页收藏本站language 语言切换
查看: 1583|回复: 0
收起左侧

cisco 2621+2A/S的拨号配置

[复制链接]
发表于 2010-8-25 08:15:09 | 显示全部楼层 |阅读模式
  hostname <您路由器的名称>
  !
  enable password <进入特权模式的口令>
  !
  no ip name-server
  !
  ip subnet-zero
  no ip domain-lookup
  ip routing
  !
  interface Ethernet 0
  ip nat inside
  no shutdown
  description connected to EthernetLAN
  ip address <以太网口IP地址及子网掩码>
  no keepalive
  !
  interface Serial 0
  physical async
  no description
  no ip address
  encap ppp
  async default routing
  async mode dedicated
  dialer in-band
  dialer rotary-group 1
  no shutdown
  !
  interface Serial 1
  physical async
  no description
  no ip address
  encap ppp
  async default routing
  async mode dedicated
  dialer in-band
  dialer rotary-group 1
  no shutdown
  !
  interface dialer 1
  ip nat outside
  no shutdown
  ip unnumbered Ethernet 0
  ip address negotication
  ip tcp header-compression passive
  dialer string 169
  encapsulation ppp
  async default routing
  async mode dedicated
  group-range <异步端口号范围> (通过SHOW LINE命令显示)
  ppp authentication pap callin
  pap sent 用户名 password 口令
  
  dialer-group 1
  no cdp enable
  !
  dialer-list 1 protocol ip permit
  router rip
  version 2
  network <内网段地址>
  no auto-summary
  !
  !
  ip classless
  no ip http server
  snmp-server community public RO
  no snmp-server location
  no snmp-server contact
  !
  ip route 0.0.0.0 0.0.0.0 dialer1
  line console 0
  exec-timeout 0 0
  password <从控制台端口登录进用户模式所需口令>
  login
  !
  line vty 0 4
  password
  login
  !
  line <异步线号范围>
  exec
  autoselect ppp
  autoselect during-login
  login local
  modem InOut
  transport input all
  stopbits 1
  speed 38400
  flowcontrol hardware
  !
  end
您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-3 22:10 , Processed in 0.051661 second(s), 10 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表