access#show runBuilding configuration...Current configuration : 1833 bytes!version 12.2no parser cacheno service single-slot-reload-enableservice timestamps debug uptimeservice timestamps log uptimeno service password-encryption!hostname access!访问服务器用名字no logging rate-limitenable password cisco!服务器的密码username test callback-dialstring "" password 0 test!用户名和密码,test帐号可以自己选择回拨的电话号码username user callback-dialstring "1234567" password 0 test!用户名user会固定回拨到1234567这个电话号码上ip subnet-zero!!no ip dhcp-client network-discoverychat-script mod ABORT ERROR ABORT BUSY "" "AT" OK "ATDT /T" TIMEOUT 30 CONNECT /c!名字叫“mod”的路由器回拨会话脚本chat-script offhook "" "ATH1" OK!interface Ethernet0/0 ip address 10.1.84.3 255.255.255.0 duplex auto speed auto!interface Group-Async1 ip unnumbered FastEthernet0/0 encapsulation ppp ip tcp header-compression passive async mode interactive peer default ip address pool default ppp callback accept!允许客户回拨的请求 ppp authentication pap group-range 33 40!ip local pool default 10.1.84.240 10.1.84.253ip classlessip route 0.0.0.0 0.0.0.0 10.1.84.254!line con 0 password ciscologinline 33 40 script modem-off-hook offhook script callback mod!指定一个会话脚本来发出AT指令到MODEM,当发生回拨时login localmodem InOut transport preferred nonetransport input all transport output noneautoselect during-login autoselect ppp stopbits 1 flowcontrol hardwareline aux 0line vty 0 4!end
新闻热点
疑难解答