| |||||||||||||||||||||
Ключевые слова: cisco, init, modem, (найти похожие документы)
From: mavrusha Newsgroups: email Date: Mon, 9 Dec 2003 14:31:37 +0000 (UTC) Subject: Skylink + DDR на сisco 2651 + необычная строка инициализации. Задача-при поднятии линка передать модему необычную строку инициализации. Долго бился, и наконец получилось.Проблема была в строке "dialer string "#777" modem-script default"-во всех примерах с форума модем-скрипт вызывается на line ... А что-бы модем проинициализировать надо отсюда. Надеюсь эти грабли кому-нибудь пригодятся ... :) ! version 12.2 service timestamps debug datetime service timestamps log datetime no service password-encryption ! hostname c2651xm ! enable secret 5 $1$bAzT$SZqW1qqUAGhaAM.zod8AD0 enable password cisco ! memory-size iomem 10 ip subnet-zero ! ! ! ! chat-script default ABORT ERROR ABORT BUSY "" AT+CRM=1 OK AT&C0 OK atdp\\t TIMEOUT 15 CONNECT \\c ! ! ! interface FastEthernet0/0 ip address 192.168.1.240 255.255.255.0 ip nat inside duplex auto speed auto ! interface Serial0/0 no ip address shutdown ! interface FastEthernet0/1 no ip address shutdown duplex auto speed auto ! interface Serial1/0 physical-layer async no ip address ip nat outside encapsulation ppp dialer in-band dialer pool-member 1 dialer-group 1 async mode dedicated ! interface Serial1/1 no ip address shutdown ! interface Serial1/2 no ip address shutdown ! interface Serial1/3 no ip address shutdown ! interface Dialer1 ip address negotiated ip nat outside encapsulation ppp dialer pool 1 dialer string "#777" modem-script default dialer-group 1 no fair-queue no cdp enable ppp authentication chap ppp chap hostname mobile ppp chap password 0 internet ! ip nat inside source list 10 interface Dialer1 overload ip classless ip route 0.0.0.0 0.0.0.0 Dialer1 ip http server ip pim bidir-enable ! ! access-list 10 permit 192.168.1.0 0.0.0.255 dialer-list 1 protocol ip permit ! line con 0 speed 115200 line 33 flush-at-activation modem InOut modem autoconfigure discovery transport input all autohangup stopbits 1 speed 115200 flowcontrol hardware line aux 0 line vty 0 4 password cisco login ! ! end c2651xm#
| |||||||||||||||||||||
|
|