首页 > 学院 > 网络通信 > 正文

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

2019-11-05 00:05:31
字体:
来源:转载
供稿:网友

  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

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表