acce #show run Building configuration... Current configuration : 1833 bytes !version 12.2 no parser cache no service single-slot-reload-enable service timestam debug uptime service timestam log uptime no service pa word-encryption !hostname acce !访问服务器用名字 no logging rate-limit enable pa word cisco !服务器的密码 username test callback-dialstring "" pa word 0 test !用户名和密码,test帐号可以自己选择回拨的电话号码 username user callback-dialstring "1234567" pa word 0 test !用户名user会固定回拨到1234567这个电话号码上 ip su et-zero ! !no ip dhcp-client network-discovery chat-script mod ABORT ERROR ABORT BUSY "" "AT" OK "ATDT \T" TIMEOUT 30 CO ECT \c !名字叫“mod”的路由器回拨会话脚本 chat-script offhook "" "ATH1" OK ! interface Ethernet0/0 ip addre 10.1.84.3 255.255.255.0 duplex auto eed auto ! interface Group-Async1 ip u umbered FastEthernet0/0 enca ulation ip tcp header-compre ion pa ive async mode interactive peer default ip addre pool default callback accept !允许客户回拨的请求 authentication pap group-range 33 40 ! ip local pool default 10.1.84.240 10.1.84.253 ip cla le ip route 0.0.0.0 0.0.0.0 10.1.84.254 ! line con 0 pa word cisco login line 33 40 script modem-off-hook offhook script callback mod !指定一个会话脚本来发出AT指令到MODEM,当发生回拨时 login local modem InOut tra ort preferred none tra ort i ut all tra ort output none autoselect during-login autoselect sto its 1 flowcontrol hardware line aux 0 line vty 0 4 ! end