电脑技术学习

[分享] 我调试通过的callback配置(用于路由器和PC之间)

dn001

  !
  aaa authorization network ppp-authorize group tacacs+ local
  !
  username zy callback-dialstring "" passWord 7 010B0F05550C1E062E
  !
  chat-script callback-cisco "" "atdtT" TIMEOUT 60 "CONNECT" c
  !
  interface Async33
  description ---XXXXXXXX for: callback---
  ip unnumbered FastEthernet0/0
  no ip directed-broadcast
  encapsulation ppp
  no ip mroute-cache
  dialer in-band
  dialer idle-timeout 300
  dialer-group 1
  async mode dedicated
  peer default ip address X.X.X.X
  compress stac
  ppp callback accept
  ppp authentication chap
  ppp authorization ppp-authorize
  !
  dialer-list 1 protocol ip permit
  !
  line 33
  autoselect during-login
  autoselect ppp
  script callback dial-cisco
  modem InOut
  modem autoconfigure discovery
  transport input all
  stopbits 1
  flowcontrol hardware
  
  另外,我看不出异步口里面async mode dedicated和async mode interactive的区别,都能用。但是区别是什么呢??
  
  FW:要使拨入用户在指定的线路上,可以使用async mode dedicated 那么用户就不能改变封装和地址等其他的参数。
  
  在interactive下用户可以输入exec命令,线路可以用作任何类型的的连接。