MSR3640路由器的3G信号是如何配置(SIM卡是联通3G),用的4G-LTE模块,有配置说明手册吗查看了MSR3640的系统是V7版本的
(0)
最佳答案
H3C>system-view
[H3C]dialer-group 1 rule ip permit
[H3C]controller Cellular 0/0
[H3C-Cellular0/0]serial-set 0
[H3C-Cellular0/0]quit
[H3C]interface Serial 0/0:0
[H3C-Serial0/0:0]ip address ppp-negotiate
[H3C-Serial0/0:0]ppp pap local-user card password simple card
[H3C-Serial0/0:0]ppp chap user card
[H3C-Serial0/0:0]ppp chap password simple card //这三条配置联通和电信使用,移动不用配置
[H3C-Serial0/0:0]ppp ipcp dns request
[H3C-Serial0/0:0]ppp ipcp dns admit-any
[H3C-Serial0/0:0]dialer circular enable
[H3C-Serial0/0:0]dialer-group 1
[H3C-Serial0/0:0]dialer timer autodial 5
[H3C-Serial0/0:0]dialer number *99# autodial //联通为*99#,电信为#777,移动无需配置拨号串
[H3C-Serial0/0:0]nat outbound
[H3C-Serial0/0:0]quit
## 查看Cellular0/0对应的TTY接口,通过命令display user-interface可以看到Cellular0/0对应的TTY接口。
[H3C]display user-interface
Idx Type Tx/Rx Modem Auth Int Location
+ 0 CON 0 9600 - N - 0/0
1 TTY 1 9600 - N Ser0/0:0 0/0
81 VTY 0 - A - 0/0
[H3C]line tty 1
H[3C-line-tty1]modem enable both
[H3C-line-tty1]quit
[H3C]ip route-static 0.0.0.0 0 Serial 0/0:0 //配置指向外网的默认路由
(0)
display user-interface
我使用display user-interface 查询不到TTy,是要配置完Cellular 4/0,才能查询到吗
按照4G的配置: <H3C>system-view [H3C]controller Cellular 1/0 //进入Cellular接口视图 [H3C-Cellular1/0]eth-channel 0 //将Cellular接口通道化出以太网通道接口 [H3C-Cellular1/0]quit [H3C] dialer-group 1 rule ip permit [H3C]interface eth-channel 1/0:0 [H3C-Eth-channel1/0:0] dialer circular enable [H3C-Eth-channel1/0:0]dialer-group 1 [H3C-Eth-channel1/0:0]dialer timer idle 0 [H3C-Eth-channel1/0:0]dialer timer autodial 60 [H3C-Eth-channel1/0:0]dialer number *99# autodial //联通移动,拨号串采用*99#,电信的拨号串为#777 [H3C-Eth-channel1/0:0]ip address cellular-alloc //配置接口通过Modem私有协议获取IP地址 [H3C-Eth-channel1/0:0]nat outbound [H3C-Eth-channel1/0:0]quit [H3C]ip route-static 0.0.0.0 0 Eth-channel1/0:0 //配置默认路由,指向4G出接口 <H3C>system-view [H3C]controller Cellular 1/0 //进入Cellular接口视图 [H3C-Cellular1/0]eth-channel 0 //将Cellular接口通道化出以太网通道接口 [H3C-Cellular1/0]quit [H3C] dialer-group 1 rule ip permit [H3C]interface eth-channel 1/0:0 [H3C-Eth-channel1/0:0] dialer circular enable [H3C-Eth-channel1/0:0]dialer-group 1 [H3C-Eth-channel1/0:0]dialer timer idle 0 [H3C-Eth-channel1/0:0]dialer timer autodial 60 [H3C-Eth-channel1/0:0]dialer number *99# autodial //联通移动,拨号串采用*99#,电信的拨号串为#777 [H3C-Eth-channel1/0:0]ip address cellular-alloc //配置接口通过Modem私有协议获取IP地址 [H3C-Eth-channel1/0:0]nat outbound [H3C-Eth-channel1/0:0]quit [H3C]ip route-static 0.0.0.0 0 Eth-channel1/0:0 //配置默认路由,指向4G出接口
我使用display user-interface 查询不到TTy接口,是要配置完 controller Cellular 4/0,才能查询到吗
4G模块,能兼容联通 3G卡,对吗
应该可以向下兼容
亲~登录后才可以操作哦!
确定你的邮箱还未认证,请认证邮箱或绑定手机后进行当前操作
举报
×
侵犯我的权益
×
侵犯了我企业的权益
×
抄袭了我的内容
×
原文链接或出处
诽谤我
×
对根叔社区有害的内容
×
不规范转载
×
举报说明
不客气,望采纳