display user-interfaceIdx 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服务器。