Chinaunix首页 | 论坛 | 博客
  • 博客访问: 673755
  • 博文数量: 779
  • 博客积分: 5000
  • 博客等级: 大校
  • 技术积分: 5000
  • 用 户 组: 普通用户
  • 注册时间: 2008-10-27 13:28
文章分类

全部博文(779)

文章存档

2011年(1)

2008年(778)

我的朋友

分类:

2008-10-27 13:29:34


  
  version 12.0
  service exec-callback
  !--- This command enables the IOS software to return a call to a
  !--- device that dials in, connects to the EXEC, and requests callback.
  service timestamps debug datetime msec
  service timestamps log datetime msec
  no service password-encryption
  !
  hostname maui-nas-04
  !
  enable secret 5
  !
  username austin-01 nocallback-verify callback-dialstring 84001 password 0 xxxxx
  !--- Does not require authentication after callback.
  !--- This string applies to the "no-verify callback" scenario
  username austin-02 callback-dialstring "" password 0 xxxxx
  !--- For mobile users. Client specifies the callback number.
  !--- This string applies to the "callback to any number with verification"
  !--- scenario
  !
  ip subnet-zero
  chat-script offhook "" "ATH1" OK
  chat-script rtp ABORT ERROR ABORT BUSY "" "AT" OK "ATDT \T" TIMEOUT 45 CONNECT \c
  !--- This is the chat script used to dial the callback number.
  interface Ethernet0/0
   ip address 10.0.0.1 255.0.0.0
   no ip directed-broadcast
  !
  ip classless
  !
  line con 0
   transport input none
  line 65 70
  line aux 0
   script modem-off-hook offhook
   script callback rtp
   !--- Use chat script rtp for the callback
   login local
   modem InOut
   transport input all
   callback forced-wait 5
   !--- Wait 5 seconds before initiating the callback. This prevents problems with
   !--- the router passing the callback string back to the modem before it is
   !--- ready to dial the callback connection.
   flowcontrol hardware
   line vty 0 4
   login local
  !
  end
  
  
【责编:admin】

--------------------next---------------------

阅读(328) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~