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
新聞熱點
疑難解答