Cisco2509 CallBack典型配置

1/6/2008来源:Cisco网络人气:2823


  version 11.3
  service timestamps debug uptime
  service timestamps log uptime
  no service passWord-encryption
  !
  hostname Router
  !
  enable password cisco
  !
  username cisco callback-dialstring "" callback-rotary 1 password 0 cis
  co
  !
  chat-script cb "" "ATDT\T" TIMEOUT 60 CONNECT
  !
  !
  !
  interface Ethernet0
  ip address 192.168.1.201 255.255.255.0
  !
  interface Serial0
  no ip address
  shutdown
  !
  interface Serial1
  no ip address
  shutdown
  !
  interface Group-Async1
  ip unnumbered Ethernet0
  encapsulation ppp
  dialer in-band
  async mode dedicated
  peer default ip address pool mypool
  no cdp enable
  ppp callback accept
  ppp authentication chap
  group-range 1 8
  !
  
  ip local pool mypool 192.168.1.221 192.168.1.228
  no ip classless
  !
  !
  line con 0
  line 1 8
  script callback cb
  rotary 1
  modem InOut
  transport input all
  flowcontrol hardware
  line aux 0
  transport input all
  flowcontrol hardware
  line vty 0 4
  password cisco
  login
  !
  end