dis cellular-ethernet 2/0 all //查看4G信号 RSSI -60至-70dbm信号高 rssi灯常亮 -70dbm以下 灯闪烁(信号中低)灯灭(无信号)
int cellular-ethernet 2/0 //设置访问点(APN)
profile create 1 static cmnet authentication-mode pap
------------------------------------------------------------------------
[H3C]dis cu
第一步:NAT配置#
domain system
ip pool 1 192.168.1.2 192.168.1.254
#
dhcp server ip-pool 1
network 192.168.1.0 mask 255.255.255.0
gateway-list 192.168.1.1
#
interface Vlan-interface1
ip address 192.168.1.1 255.255.255.0
#
第二步:wlan配置
wlan service-template 1 crypto
ssid CMCC-wlan
cipher-suite ccmp
security-ie rsn
service-template enable
#
interface WLAN-BSS31
port link-type hybrid
port hybrid vlan 1 untagged
port-security port-mode psk
port-security tx-key-type 11key
port-security preshared-key pass-phrase cipher 12345678
#
interface WLAN-Radio3/0
service-template 1 interface wlan-bss 31
第三步:4G拨号配置
#
interface Cellular-Ethernet2/0
ip address cellular-allocated
dialer enable-circular
dialer-group 1
dialer timer idle 0
dialer timer autodial 5
dialer number *99# autodial
nat outbound
nat server 1 protocol tcp global current-interface 8000 inside 192.168.1.2 8000
#
ip route-static 0.0.0.0 0.0.0.0 Cellular-Ethernet2/0
#