您好,欢迎来到刀刀网。
搜索
您的当前位置:首页H3CUSB上网的配置

H3CUSB上网的配置

来源:刀刀网


MSR使用3G USB Modem上网的配置方法

Q:MSR使用3G USB Modem上网,如何配置?

A:

1 安装SIM卡

将SIM卡正确放入USB Modem中,SIM卡的缺口方向一定要与卡槽的缺口方向对应上。

2 安装USB Modem

将已经安装好SIM卡的USB Modem插入路由器的USB接口。

3 配置路由器

通过Console接口登录到路由器上,或者通过telnet登录到路由器上。登录后可以对路由器进行配置,配置步骤如下:

1) 打开modem的呼出权限:

先查看Cellular0/0对应的TTY接口,通过命令display user-interface可以看到Cellular0/0对应的TTY接口。下面的举例是在MSR30-20上的执行结果,可以看到这款设备中Cellular0/0对应的接口TTY接口号是13。

display user-interface

Idx Type Tx/Rx Modem Privi Auth Int

+ 0 CON 0 9600 - 3 N -

13 TTY 13 9600 inout 0 N Cellular0/0

177 AUX 0 9600 - 0 P -

178 VTY 0 - 1 A -

179 VTY 1 - 1 A -

180 VTY 2 - 1 A -

181 VTY 3 - 1 A -

182 VTY 4 - 1 A -

UI(s) not in async mode -or- with no hardware support:

1-12 14-176

+ : Current UI is active.

F : Current UI is active and work in async mode.

Idx : Absolute index of UIs.

Type : Type and relative index of UIs.

Privi: The privilege of UIs.

Auth : The authentication mode of UIs.

Int : The physical location of UIs.

A : Authentication use AAA.

L : Authentication use local database.

N : Current UI need not authentication.

P : Authentication use current UI's password.

在tty13接口下配置Modem呼出权限:

user-interface tty 13

modem call-out

2) 配置拨号参数,对于TD-SCDMA和WCDMA拨号串是“*99#”,对于CDMA2000拨号串是“#777”,下面的配置以TD-SCDMA为例;拨号对端需要进行chap验证,用户名:admin,密码:admin。

dialer-rule 1 ip permit

interface Cellular0/0

ppp chap user admin

ppp chap password simple admin

ppp ipcp dns request

ip address ppp-negotiate

dialer enable-circular

dialer-group 1

dialer timer idle 0

dialer number *99#

3) 配置nat,使PC机可以上网

interface cellular 0/0

nat outbound

4) 配置静态路由

ip route-static 0.0.0.0 0.0.0.0 Cellular0/0

5) 配置DNS ,下面指定的DNS Server地址221.130.33.60是通过PPP协商获得的。

dns resolve

dns proxy enable

dns server 182.63.4.218

6) 配置内网接口的IP地址。下面为举例,供参考。

Interface Ethernet 0/0

Ip address 192.168.1.1 255.255.255.0

4 配置PC

1) 右键单击“网上邻居”,选择“属性”:

2) 双击网络连接,进入网络连接属性页面:

3) 单击“属性按钮”,进入“网络连接属性”页面:

4) 选择“Internet协议(TCP/IP)”,配置PC的IP地址和DNS服务器。

因篇幅问题不能全部显示,请点此查看更多更全内容

Copyright © 2019- gamedaodao.com 版权所有 湘ICP备2022005869号-6

违法及侵权请联系:TEL:199 18 7713 E-MAIL:2724546146@qq.com

本站由北京市万商天勤律师事务所王兴未律师提供法律服务