回拨测试config

王朝other·作者佚名  2008-05-31
宽屏版  字体: |||超大  

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

!

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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
© 2005- 王朝网络 版权所有