路由器4G插卡应该怎么配置?手机电话卡能直接给路由器用么?
(0)
最佳答案
参考该帖子:https://zhiliao.h3c.com/Theme/details/4701
网点离行路由器MSR 36(V7)通过4G链路与总部进行网络互通。
#将Cellular接口通道化出同/异步串口,通道化之后,会在设备里面多出一个Eth-channel接口。
[H3C] controller Cellular2/0
[H3C-Cellular0/0] eth-channel 0
# 配置拨号访问组1以及对应的拨号访问控制条件。
[H3C] dialer-group 1 rule ip permit
# 配置ACL,匹配内网用户地址
[H3C] acl number 3000
[H3C-acl-adv-3000] rule 0 permit ip source 192.168.0.0 0.0.0.255
#配置4G拨号接口,开启DNS请求、使能传统DDR、将接口加入拨号访问组1、配置DDR可以进行下一次呼叫的间隔时间为60秒,根据运营商设置拨号串,此处采用联通,设置拨号串为*99#,并开启接口nat,匹配内网ACL 3000。
[H3C-Eth-channel2/0:0] interface Eth-channel2/0:0
[H3C-Eth-channel2/0:0] dialer circular enable
[H3C-Eth-channel2/0:0] dialer-group 1
[H3C-Eth-channel2/0:0] dialer timer idle 0
[H3C-Eth-channel2/0:0] dialer timer autodial 60
[H3C-Eth-channel2/0:0] dialer number *99# autodial
[H3C-Eth-channel2/0:0] ip address cellular-alloc
[H3C-Eth-channel2/0:0] nat outbound 3000
#配置完成之后,添加一条路由,指向3G出接口。
[H3C] ip route-static 0.0.0.0 0 Eth-channel2/0:0
#查看拨号成功后,获取到的IP地址,如下:
[H3C]display ip interface brief
*down: administratively down
(s): spoofing (l): loopback
Interface Physical Protocol IP Address Description
Aux0 up down -- --
GE0/0 up up 10.84.249.14 --
GE0/1 down down -- --
GE0/2 down down -- --
GE0/27 down down -- --
E-Ch2/0:0 up up(s) 10.72.245.59 --
#此时使用display Cellular0/0,可以看到拨号信息如下:
[H3C] display cellular 2/0
Cellular1/0:
Modem State:
Hardware Information:
Model: U8300C
Manufacturer: LONGSUNG
Modem Firmware Version: QA30002.1.3_MV11(4534_1.1.1_L0306)
International Mobile Equipment Identity (IMEI): 862104021592644
International Mobile Subscriber Identity (IMSI): 460110200056932
Hardware Version: 30000
Modem Status: Online
Profile Information:
Profile index: 1
PDP Type: IPv4v6
Header Compression: Off
Data Compression: Off
Access Point Name (APN): nbzsh.vpdn.jx //此处根据实际情况在Controller cellular2/0接口下进行配置,添加方式与其他VPDN配置一致,也是采用profile create 的方式,APN接入点名字需要向运营商确认。
Authentication: CHAP //采用的验证方式
Username: test1@nbzsh.vpdn.jx //VPDN的用户名
* - Default profile
Network Information:
Current Service Status: Service Available
Registration Status: Registered
Current Service: Combined
Current Roaming Status: Home
Current Data Bearer Technology: Unknown
Network Selection Mode: Automatic
Current IP address Mode: Cellular-alloc
Radio Information
====================
Technology Preference = LTE only
Technology Selected = LTE
Configured LTE Band = 3
LTE related info
------------------
Current RSSI = -64 dBm
Current RSRQ = -10 dB
Current RSRP = -75 dBm //此处LTE信号值一般不建议低于-95
Current SNR = 12 dB
Tx Power = Invalid
Active Band = E-UTRA Operating Band 3
Modem Security Information
====================
PIN Verification = Disabled
PIN Status = PIN Requirement Disabled
Number of PIN Retries Remaining = 3
Number of PUK Retries Remaining = 10
SIM Status = OK
GPS Information: //下面是收到的卫星数据
GPS Info:
GPS State: Enabled
GPS Mode Configured: Standalone
Latitude: 29 Deg 52 Min 22 Sec North
Longitude: 121 Deg 35 Min 0 Sec East
Timestamp (UTC): 08/12/2015 07:27:10
Local time: 08/12/2015 15:27:10
Heading: 0.00, Velocity Horiz: 0.00, Velocity Vert: 0.00
Height (MSL): -11.00 m
Satellite Info:
Satellite ID: #2
Elevation: 52.00, Azimuth: 25.00, SNR: 0.00, Processing Status: Search
Satellite ID: #4
Elevation: 46.00, Azimuth: 33.00, SNR: 0.00, Processing Status: Search
Satellite ID: #7
Elevation: 0.00, Azimuth: 0.00, SNR: 0.00, Processing Status: Search
Satellite ID: #8
Elevation: 0.00, Azimuth: 0.00, SNR: 0.00, Processing Status: Search
Satellite ID: #9
Elevation: 62.00, Azimuth: 90.00, SNR: 0.00, Processing Status: Search
Satellite ID: #10
Elevation: 59.00, Azimuth: 70.00, SNR: 0.00, Processing Status: Search
Satellite ID: #13
Elevation: 9.00, Azimuth: 112.00, SNR: 0.00, Processing Status: Search
Satellite ID: #16
Elevation: 34.00, Azimuth: 316.00, SNR: 0.00, Processing Status: Search
Satellite ID: #17
Elevation: 41.00, Azimuth: 322.00, SNR: 0.00, Processing Status: Search
Satellite ID: #23
Elevation: 0.00, Azimuth: 0.00, SNR: 0.00, Processing Status: Search
Satellite ID: #24
Elevation: 63.00, Azimuth: 16.00, SNR: 0.00, Processing Status: Search
Satellite ID: #27
Elevation: 0.00, Azimuth: 0.00, SNR: 0.00, Processing Status: Search
Satellite ID: #28
Elevation: 67.00, Azimuth: 305.00, SNR: 0.00, Processing Status: Search
Satellite ID: #29
Elevation: 0.00, Azimuth: 0.00, SNR: 0.00, Processing Status: Search
Satellite ID: #32
Elevation: 50.00, Azimuth: 127.00, SNR: 0.00, Processing Status: Search
1、联通移动和电信的拨号串不一致,如果是联通移动,拨号串采用*99#,电信的拨号串为#777
2、MSR V7的4G配置均在通道化出来的Eth-channel接口上进行配置;
3、配置完成之后,切记添加一条路由,出接口设置为通道化出来的Eth-channel口
4、如果是做VPDN组网的话,需要在Controller Cellular视图下配置相应的APN节点。
(0)
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明