Cisco HSDPA modem Megafon

MSKGW#show ip interface brief
Interface                  IP-Address      OK? Method Status                Protocol
....
Cellular0/1/0              unassigned      YES unset  down                  down
Cellular0/1/1              unassigned      YES unset  down                  down
....

MSKGW#show cellular 0/1/0 radio
Radio power mode = ON
Current Band = WCDMA 900, Channel Number = 2938
Current RSSI = -87 dBm
Band Selected = Auto
Number of nearby cells = 1
Cell 1
        Primary Scrambling Code = 0xD0
        RSCP = -90 dBm, ECIO = -5 dBm


MSKGW#show cellular 0/1/0 network
Current Service Status = Normal, Service Error = None
Current Service = Circuit Switched
Packet Service = HSDPA
Packet Session Status = Inactive
Current Roaming Status = Home
Network Selection Mode = Automatic
Country = RUS, Network = MegaFon
Mobile Country Code (MCC) = 250
Mobile Network Code (MNC) = 2
Location Area Code (LAC) = 5012
Routing Area Code (RAC) = 154
Cell ID = 62455
Primary Scrambling Code = 208
PLMN Selection = Automatic
Registered PLMN =  , Abbreviated =
Service Provider = MegaFon

В случае если видим строку 
Current Service Status = Emergency Only, Service Error = None

потребуется ввод пина симкарты

MSKGW#cellular 0/1/0 gsm sim unlock 0001
где 0001 пин симкарты

MSKGW#show cellular 0/1/0 profile 
* - Default profile

MSKGW#cellular 0/1/0 gsm profile create 1 mfn-inet
Profile 1 already exists. Do you want to overwrite? [confirm]
Profile 1 will be overwritten with the following values:
PDP type = IPv4
APN = mfn-inet
Are you sure? [confirm]
Profile 1 written to modem


MSKGW#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
MSKGW(config)#chat-script gsm "" "ATDT*99*1#" TIMEOUT 30 "CONNECT"


MSKGW(config)#interface Cellular 0/1/0 
MSKGW(config-if)#dialer in-band 
MSKGW(config-if)#dialer pool-member 1


MSKGW(config-if)#interface Dialer 1
MSKGW(config-if)#ip address negotiated
MSKGW(config-if)#encapsulation ppp
MSKGW(config-if)#dialer pool 1
MSKGW(config-if)#dialer string gsm
MSKGW(config-if)#dialer persistent
MSKGW(config-if)#ppp ipcp dns request
MSKGW(config-if)#no cdp enable
MSKGW(config-if)#ppp chap hostname gdata
MSKGW(config-if)#ppp chap password 0 gdata

MSKGW(config)#line 0/1/0
MSKGW(config-line)#script dialer gsm
MSKGW(config-line)#
May  5 06:15:10.974: %LINK-3-UPDOWN: Interface Cellular0/1/0, changed state to up
MSKGW(config-line)#
May  5 06:15:10.974: %DIALER-6-BIND: Interface Ce0/1/0 bound to profile Di1
May  5 06:15:11.974: %LINEPROTO-5-UPDOWN: Line protocol on Interface Cellular0/1/0, changed state to up


Profit!

Debug

MSKGW#debug chat
Chat scripts activity debugging is on
MSKGW#debug dialer
Dial on demand events debugging is on
MSKGW#debug ppp negotiation
PPP protocol negotiation debugging is on
MSKGW#debug ppp authentication
PPP authentication debugging is on



MSKGW(config)#interface Cellular 0/1/0
MSKGW(config-if)#shutdown
MSKGW(config-if)#no shutdown

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

Time limit is exhausted. Please reload the CAPTCHA.

Этот сайт использует Akismet для борьбы со спамом. Узнайте, как обрабатываются ваши данные комментариев.