精华区 [关闭][返回]

当前位置:网易精华区>>讨论区精华>>网络专区>>● CISCO>>配置样例>>回拨测试config

主题:回拨测试config
发信人: v10198(梦泪)
整理人: firphoenix(2001-11-05 09:25:41), 站内信件
仅供大家参考
version 12.0
service exec-callback
!--- This command enables the Cisco 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 <deleted>
!
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


[关闭][返回]