Shenzhen Hongdian Technologies H8922S Cli User Manual

3g/4g
Hide thumbs Also See for H8922S:
Table of Contents

Advertisement

www.hongdian.com
CLI User Manual
3G/4G Router

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the H8922S and is the answer not in the manual?

Questions and answers

Summary of Contents for Shenzhen Hongdian Technologies H8922S

  • Page 1 www.hongdian.com CLI User Manual 3G/4G Router...
  • Page 2 3G/4G Router CLI User Manual Shenzhen Hongdian Technologies Corporation provides customers with a full range of technical supports, and the users can contact headquarter of Hongdian directly. Shenzhen Hongdian Technologies Corporation F14-16,Headquarter Economic Center, Zhonghaixin Science&Tech Park, Bulan Road, Address...
  • Page 3: Product Version

    Product Version The product version corresponding to this document is shown below. Product name product version H8922S 3G/4G Router V12 (dual serial port with both DTU and GPS support) H8922 3G/4G Router V13 and V30 H8951 3G/4G Router...
  • Page 4 3G/4G Router CLI User Manual control command profile. V1.2 2017.06.05 Third update base on doc. version V1.1, Added: increase configuration of WLAN_AC, BGP, and VRRP; Update: update Ethernet interfaces, new configurations for WLAN, Modem, DHCP, DTU, TUNNEL, IPSec, and OpenVPN. Doc.
  • Page 5: Table Of Contents

    3G/4G Router CLI User Manual Contents Foreword..............................3 Overview ............................3 Product Version ..........................3 Revision Record ..........................3 Contents..............................5 1 Instruction ............................1 1.1 Feature............................1 1.2 Interface............................1 1.3 CLI Mode .............................1 1.4 CLI Common Instruction ........................2 1.5 Command Line Interface Feature ....................2 1.5.1 Command Online Help ............................2 1.5.2 CLI Error Message ..............................3 1.5.3 Command In History ...............................3 1.5.4 CLI Display Feature ..............................4...
  • Page 6 3G/4G Router CLI User Manual 3.5.11 Print Modem Status ............................16 3.6 Parameter Select ........................17 3.6.1 Description of Parameter Select ........................17 3.6.2 Config interval & retry ............................17 3.6.3 Interface Select ..............................17 3.6.4 Delete Config ................................. 18 3.6.5 Print Rule Select Config Mode Status .......................
  • Page 7 3G/4G Router CLI User Manual 3.12.1 Enable/Disable DDNS............................30 3.12.2 DDNS Description ............................... 30 3.12.3 Config DNS of DDNS Server ..........................30 3.12.4 Config Server Port .............................. 30 3.12.5 Config Local Domain ............................31 3.12.6 Config Username/Password ..........................31 3.12.7 Config Check Interval ............................31 3.12.8 Config Update Interval............................
  • Page 8 3G/4G Router CLI User Manual 3.16.2 M2M Description..............................42 3.16.3 Config Destination IP ............................42 3.16.4 Config Max Login Retry Times .......................... 42 3.16.5 Config Heartbeat Interval..........................43 3.16.6 Config Max Task Retransmit Times........................43 3.16.7 Config Task Timeout............................43 3.16.8 Config M2M Server Port............................
  • Page 9 3G/4G Router CLI User Manual 3.21.2 Phase2 .................................. 57 3.21.3 Config Interface ..............................60 3.22 OpenVPN Configuration......................62 3.23 NAT Config ..........................65 3.23.1 Config destination IP Address .......................... 65 3.23.2 Config Source IP Address ..........................65 3.23.3 Config Source Interface ............................. 65 3.23.4 Delete Config...............................
  • Page 10 3G/4G Router CLI User Manual 3.31.3 Config destination address ..........................82 3.31.4 Config Server Port .............................. 82 3.31.5 Set Log File Size..............................82 3.31.6 Delete Config............................... 83 3.31.7 Print Syslog status .............................. 83 3.32 NTP Config ..........................83 3.32.1 Enable/Disable NTP............................83 3.32.2 NTP Description ..............................
  • Page 11: Instruction

    3G/4G Router CLI User Manual 1 Instruction Please check 3G router user manual to get WEB UI instruction. 1.1 Feature Network Interface  UMTS/HSUPA/HSDPA/WCDMA/EDGE/GPRS/GSM  WAN support Static IP/DHCP/PPPoE  IEEE 802.11b/g Wireless LAN Function  3G convert to LAN and WIFI ...
  • Page 12: Cli Common Instruction

    3G/4G Router CLI User Manual  Normal mode: only support inquiry parameters.  Authorization mode: full authorization to config and manage.  Configuration mode: Configure the parameters Purpose Command Instruction Enter Normal Run CLI window, input Password mode Enter enable input Password Authorization mode...
  • Page 13: Revision Record

    3G/4G Router CLI User Manual history Display the session command history interface Interface status and configuration IP information ipv6 IPv6 information kernellog show kernel log information memory Memory statistics syslog show system log information table default routing table to use for all clients version Displays Hongdian CLI version Part help...
  • Page 14: Cli Display Feature

    3G/4G Router CLI User Manual Purpose Command Instruction Call previous <↑> Call previous Command if there is any Command Call next Command <↓> Call next Command if there is any. 1.5.4 CLI Display Feature If return message over screen coverage, CLI provide pause function and provide follow choice. Key or Command Function Input <Enter>...
  • Page 15: Contents

    3G/4G Router CLI User Manual 2 Login CLI 1. Connect PC with router by Ethernet cable, and configure the PC IP is in the same segment with Hongdian Router whose default IP is 192.168.8.1. 2. Run Telnet client on PC, input router IP. Hongdian Corporation...
  • Page 16 3G/4G Router CLI User Manual 3. Input your password to login CLI, default password is “super”. 4. After login, you can input “enable” to enter super mode, and further enter “configure terminal” to enter the configuration mode. Wherein, press the key “Tab” to auto complete instructions. Router CLI User Access Verification Password:...
  • Page 17: Cli Command Reference

    3G/4G Router CLI User Manual 3 CLI Command Reference 3.1 Ethernet/Bridge Interface Config 3.1.1 Ethernet port config Open/Shut Ethernet interface Purpose Command Instruction Enter config mode Configure terminal Enter Ethernet port config mode interface eth+ interface-number Shut Ethernet port shutdown Open Ethernet port no shutdown Example: Shut Ethernet 0。...
  • Page 18: Lan Port Config

    3G/4G Router CLI User Manual Example: Show Ethernet 0 status hongdian-Router# show interface eth0 eth0 Link encap:Ethernet HWaddr 00:50:C2:1A:2B:3C UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3217 errors:0 dropped:0 overruns:0 frame:0 TX packets:18131 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 659238 (1.5 MiB) RX bytes:242725 (237.0 KiB) TX bytes:1 Interrupt:4 Base address:0x1000 3.1.2 LAN Port Config...
  • Page 19: Loopback Configuration

    3G/4G Router CLI User Manual Example: show LAN port br 0 status. hongdian-Router# show interface br0 Link encap:Ethernet HWaddr 00:50:C2:1A:2B:3C inet addr:192.168.8.1 Bcast:192.168.8.255 Mask:255.255.255.0 3.2 LOOPBACK Configuration Loopback is a loopback address on the router, which is a virtual interface. To ensure the stability of routing ID, the interface does not appear the case of link failure.
  • Page 20 3G/4G Router CLI User Manual Command Format Function Description Remark address when it is station Configure the IP allocation mode as The working mode is valid ip dhcp client DHCP mode when it is station Configuring the working mode, including: There is no repeater mode (ap|station|repeater) schema on the 7.0.X...
  • Page 21: Wlan_Ac Configuration

    3G/4G Router CLI User Manual 3.4 WLAN_AC Configuration The WLAN_AC configuration of macro 4G Router is mainly configured with related parameters of WLAN_AC wireless network. The WLAN_AC configuration commands are shown in table below. Command Format Function Description Remark The default mode is ap isolate enable Configure AP isolation mode disabled.
  • Page 22 3G/4G Router CLI User Manual interface wlan_ac // Enter wlan configuration mode mode ap // Configure the operating mode to ap mode channel auto // Configure the working channel to auto mode ssid test // Configure the ssid name as test and the broadcast status is enabled bandwith 40M // configured bandwidth of 40MHz security wpa encryption aes test123 lifetime 1200 // Configure the encryption mode as wpa, the algorithm is aes, the key is test123, the update interval is 1200 seconds...
  • Page 23: Modem Config

    3G/4G Router CLI User Manual 3.5 Modem Config 3.5.1 Enable/Disable modem Purpose Command Instruction Enter config mode Configure terminal Enter modemconfig mode interface modem interface-number Disable modem shutdown Defaule value: enable Enable modem no shutdown Example: Disable modem 0。 hongdian-Router# configure terminal hongdian-Router(config)#interface modem 0 hongdian-Router(config-modem)# shutdown 3.5.2 Modem Description...
  • Page 24: Service Code

    3G/4G Router CLI User Manual 3.5.4 Service Code Purpose Command Instruction Enter config mode Configure terminal Enter modemconfig mode interface modem interface-number Set Service code Svc-code Example: Set modem 0 service code hongdian-Router# configure terminal hongdian-Router(config)#interface modem 0 hongdian-Router(config-modem)# svc-code hongdian 3.5.5 Set Username/Password Purpose Command...
  • Page 25: Config Simcard

    3G/4G Router CLI User Manual Enter modemconfig mode interface modem interface-number Set network type network-type Example: Set modem 0 network type hongdian-Router# configure terminal hongdian-Router(config)#interface modem 0 hongdian-Router(config-modem)# network-type wcdma 3.5.8 Config simcard Purpose Command Instruction Enter config mode Configure terminal Enter modemconfig mode interface modem interface-number Config simcard...
  • Page 26: Delete Config

    3G/4G Router CLI User Manual Example: set modem 0 ppp local IP hongdian-Router# configure terminal hongdian-Router(config)#interface modem 0 hongdian-Router(config-modem)# ppp advance local-ip 1.1.1.1 3.5.10 Delete Config Purpose Command Instruction Enter config mode Configure terminal Enter modemconfig interface modem mode interface-number no access-point-name access-point-name Delete modem...
  • Page 27: Parameter Select

    3G/4G Router CLI User Manual 3.6 Parameter Select 3.6.1 Description of Parameter Select Purpose Command Instruction Enter config mode configure terminal Enter parameter parameter select rule rule-number select config mode Description of description Parameter Select Example: Rule 1 description of Parameter Select hongdian-Router# configure terminal hongdian-Router(config)# parameter select rule 1 hongdian-Router(config-parameter-select)#description hongdian...
  • Page 28: Delete Config

    3G/4G Router CLI User Manual hongdian-Router(config)# parameter select rule 1 hongdian-Router(config-parameter-select)#select interface eth0 3.6.4 Delete Config Purpose Command Instruction Enter config mode configure terminal Enter rule select config parameter select rule mode rule-number Delete description no description Delete running timeout no running timeout Delete select no select...
  • Page 29: Dns Config

    3G/4G Router CLI User Manual 3.7 DNS Config 3.7.1 Config DNS IP Purpose Command Instruction Enter config mode Configure terminal Config DNS server IP ip dns server Server IP must be IP address or domain Example: Config DNS IP。 hongdian-Router# configure terminal hongdian-Router(config)# ip dns server 192.168.8.2 3.7.2 Delete DNS IP Purpose...
  • Page 30 3G/4G Router CLI User Manual Command Format Function Description Remark <1-65535> number of retransmissions select interface Configure monitoring interface WORD refers to the (modem|modem2) WORD interface name for the mobile network select interface Configure the link backup interface, Unit of time: seconds (modem|modem2) WORD detect IP or domain name, check (WORD|A.B.C.D)
  • Page 31: Dhcp Config

    3G/4G Router CLI User Manual 3.9 DHCP Config 3.9.1 Enable/Disable DHCP Purpose Command Instruction Enter config mode configure terminal Enter dhcpconfig mode service dhcp Disable dhcp shutdown Default value is enabled Enable dhcp no shutdown Example: Disable dhcp。 hongdian-Router# configure terminal hongdian-Router(config)#service dhcp hongdian-Router(config-dhcp)# shutdown 3.9.2 Config Lease Time...
  • Page 32: Config Gateway

    3G/4G Router CLI User Manual 3.9.4 Config Gateway Purpose Command Instruction Enter config mode configure terminal Enter DHCP config mode Service dhcp Set gateway set gateway Gateway value range: br0, eth0 or IP Example: set gateway hongdian-Router# configure terminal hongdian-Router(config)# service dhcp hongdian-Router(config-dhcp)#set gateway br0 3.9.5 Config DNS Purpose...
  • Page 33: Print Dhcp Status

    3G/4G Router CLI User Manual Enter dhcpconfig service dhcp mode Delete lease time no lease time Delete map ip with no map ip Ip value must be IP, mac value must be MAC address Delete dns no set dns Delete gateway no set gateway Delete ip pool no set ip pool...
  • Page 34: Icmp Check Config

    3G/4G Router CLI User Manual 3.10 ICMP Check Config 3.10.1 Enable/Disable ICMP Purpose Command Instruction Enter config mode configure terminal Enter icmpcheckconfig service icmpcheck mode Disable icmpcheck shutdown Enable icmpcheck no shutdown Example: Disable icmpcheck。 hongdian-Router# configure terminal hongdian-Router(config)#service icmpcheck hongdian-Router(config-dhcp)# shutdown 3.10.2 ICMP Description Purpose...
  • Page 35: Config Interval & Retry Time

    3G/4G Router CLI User Manual 3.10.4 Config interval & retry time Purpose Command Instruction Enter config mode configure terminal Enter icmpcheckconfig service icmpcheck mode Config interval & retry time check interval Check interval & retry value range: 1-65535 retry Example: Config interval & retry time hongdian-Router# configure terminal hongdian-Router(config)# service icmpcheck hongdian-Router(config-icmpcheck)#check interval 60 retry 5...
  • Page 36: Delete Config

    3G/4G Router CLI User Manual Enter ICMP check config service icmpcheck mode Config Source Interface source interface Interface value: WORD type string Example: Config Source Interface hongdian-Router# configure terminal hongdian-Router(config)# service icmpcheck hongdian-Router(config-icmpcheck)# source interface br0 3.10.8 Delete Config Purpose Command Instruction Enter config mode...
  • Page 37: Config Interface Check

    3G/4G Router CLI User Manual 3.11 Config Interface Check 3.11.1 Enable/Disable Interface Check Enable/Disable 模块 Purpose Command Instruction Enter config mode configure terminal Enter interfacecheckconfig service interfacecheck mode Disable interfacecheck shutdown Enable interfacecheck no shutdown Example: Disable interfacecheck。 hongdian-Router# configure terminal hongdian-Router(config)#service interfacecheck hongdian-Router(config-interfacecheck)# shutdown 3.11.2 Interface Check Description...
  • Page 38: Config Traffic Direction

    3G/4G Router CLI User Manual 3.11.4 Config Traffic Direction Purpose Command Instruction Enter config mode configure terminal Enter interfacecheckconfig mode service interfacecheck Config Traffic Direction traffic direction Direction value: send or receive Example: Config Traffic Direction hongdian-Router# configure terminal hongdian-Router(config)# service interfacecheck hongdian-Router(config-interfacecheck)# traffic direction send 3.11.5 Config Check Interval &...
  • Page 39: Print Interface Check Status

    3G/4G Router CLI User Manual 3.11.7 Print Interface Check Status Purpose Command Instruction Enter config mode configure terminal Enter interfacecheckconfig mode service interfacecheck Print interfacecheck status Print Example: Print interfacecheck status hongdian-Router#configure terminal hongdian-Router(config)#service interfacecheck hongdian-Router(config-interfacecheck)#print Hongdian Corporation...
  • Page 40: Ddns Config

    3G/4G Router CLI User Manual 3.12 DDNS Config 3.12.1 Enable/Disable DDNS Purpose Command Instruction Enter config mode configure terminal Enter DDNS config mode service ddns Disable DDNS shutdown Default value is enable Enable DDNS no shutdown Example: Disable DDNS。 hongdian-Router# configure terminal hongdian-Router(config)#service ddns hongdian-Router(config-ddns)# shutdown 3.12.2 DDNS Description...
  • Page 41: Config Local Domain

    3G/4G Router CLI User Manual Enter DDNS config mode service ddns Config server port server port Port value range: 1-65535 Example: Config server port hongdian-Router# configure terminal hongdian-Router(config)# service ddns hongdian-Router(config-ddns)# server port 50 3.12.5 Config Local Domain Purpose Command Instruction Enter config mode configure terminal...
  • Page 42: Config Update Interval

    3G/4G Router CLI User Manual hongdian-Router(config)# service ddns hongdian-Router(config-ddns)# check interval 600 3.12.8 Config Update Interval Purpose Command Instruction Enter config mode configure terminal Enter DDNSconfig mode service ddns Config Update Interval check interval interval value range: 1-65535 Example: Config Update Interval hongdian-Router# configure terminal hongdian-Router(config)# service ddns hongdian-Router(config-ddns)# update interval 600...
  • Page 43 3G/4G Router CLI User Manual Example: Print DDNS status hongdian-Router#configure terminal hongdian-Router(config)#service ddns hongdian-Router(config-ddns)#print Hongdian Corporation...
  • Page 44: Dtu Config

    3G/4G Router CLI User Manual 3.13 DTU Config 3.13.1 Enable/Disable DTU Function Purpose Command Instruction Enter config mode configure terminal Enter dtuconfig mode service dtu Disable dtu function shutdown Default value is enable Enable dtu function no shutdown Example: Disable dtu function hongdian-Router# configure terminal hongdian-Router(config)#service dtu hongdian-Router(config-dtu)# shutdown...
  • Page 45: Config Destination Port

    3G/4G Router CLI User Manual terminal Enter dtuconfig mode service dtu Config Destination Address destination Destination value: IP or domain Example: Config Destination Address hongdian-Router# configure terminal hongdian-Router(config)# service ddns hongdian-Router(config-ddns)# destination hongdian 3.13.5 Config Destination Port Purpose Command Instruction Enter config mode configure terminal Enter dtu config mode...
  • Page 46: Config Reconnect Interval & Retry Times

    3G/4G Router CLI User Manual 3.13.9 Config Reconnect Interval & Retry Times Purpose Command Instruction Enter config mode configure terminal Enter dtuconfig mode service dtu Config Reconnect Interval & interval Interval & retry value Retry Times range: 1-65536 retry 3.13.10 Config Timeout of Receiving from Internet Purpose Command Instruction...
  • Page 47: Config Serial Port Parity

    3G/4G Router CLI User Manual Enter dtuconfig mode service dtu Config Serial Port Baud Rate serial baud rate 3.13.14 Config Serial Port Parity Purpose Command Instruction Enter config mode configure terminal Enter dtuconfig mode service dtu Config Serial Port Parity serial parity Parity value range: odd,even,none...
  • Page 48: Delete Config

    3G/4G Router CLI User Manual 3.13.18 Delete Config Purpose Command Instruction Enter config mode configure terminal Enter dtu config mode service dtu Delete destination IP no destination Delete local port no local port Delete serial baud rate no serial baud rete Delete serial data bits no serial data bits Delete serial packet max length...
  • Page 49 3G/4G Router CLI User Manual Command Format Function Description Remark mode client Configuring router GPS working mode. Only the client option is provided protocol <tcp|udp> Configure the GPS transport protocol as Empty TCP/UDP. send header LINE Configure send date packet header The maximum length is 64 bytes server port <1-65535>...
  • Page 50: Snmp Config

    3G/4G Router CLI User Manual 3.15 SNMP Config 3.15.1 Enable/Disable SNMP Purpose Command Instruction Enter config mode configure terminal Enter snmpconfig service snmp mode Disable snmp shutdown Default value is enable Enable snmp no shutdown 3.15.2 SNMP Description Purpose Command Instruction Enter config mode configure terminal...
  • Page 51: Delete Config

    3G/4G Router CLI User Manual 3.15.5 Delete Config Purpose Command Instruction Enter config mode configure terminal Enter snmpconfig mode service snmp Delete snmp port no snmp port Delete snmp password no community 3.15.6 Print SNMP Status Purpose Command Instruction Enter config mode configure terminal Enter snmpconfig mode service snmp...
  • Page 52: M2M Platfrom Access Config

    3G/4G Router CLI User Manual 3.16 M2M Platfrom Access Config 3.16.1 Enable/Disable M2M Access In Purpose Command Instruction Enter config mode configure terminal Enter m2m config mode service m2m Disable m2m shutdown Default value is enable. Enable m2m no shutdown 3.16.2 M2M Description Purpose Command...
  • Page 53: Config Heartbeat Interval

    3G/4G Router CLI User Manual 3.16.5 Config Heartbeat Interval Purpose Command Instruction Enter config mode configure terminal Enter m2m config service m2m mode Config Heartbeat heartbeat interval heartbeat interval value range: Interval 1-65535 3.16.6 Config Max Task Retransmit Times Purpose Command Instruction Enter config mode...
  • Page 54: Print M2M Status

    3G/4G Router CLI User Manual Enter m2m config mode service m2m Delete destination IP no destination Delete heartbeat interval no heartbeat interval Delete m2m server port no m2m port Delete task timeout no task timeout Delete task retransmit no task retransmit 3.16.10 Print M2M Status Purpose Command...
  • Page 55: Config Action

    3G/4G Router CLI User Manual Timing action description description Description value: character string 3.17.3 Config Action Purpose Command Instruction Enter config mode configure terminal Enter timing action config service timing rule 1 Rule value: character mode string. Config the action action Action value: dialup, dialdown, reboot...
  • Page 56: Config Day Of The Week

    3G/4G Router CLI User Manual 3.17.6 Config Day of the Week Purpose Command Instruction Enter config mode configure terminal Enter timing action config mode service timing rule 1 Config day of the week set week Week value form: 0-6 Example: Config day of the week hongdian-Router# configure terminal hongdian-Router(config)# service timing rule 1 hongdian-Router(config-timing)# set week 0-6...
  • Page 57: Trigger Settings Configuration

    3G/4G Router CLI User Manual 3.18 Trigger Settings Configuration Hongdian 4G Router supports on-demand triggering of offline mode. The demand for on-demand Internet access can greatly reduce the cost of mobile network traffic. The trigger settings configuration commands are shown in table below.
  • Page 58: Vpdn Config

    3G/4G Router CLI User Manual 3.19 VPDN Config This Config part Includes PPTP, L2TP, PPPoe config now. 3.19.1 Enable/Disable VPDN Purpose Command Instruction Enter config mode Configure terminal Enter vpdn config mode interface vpdn interface-number Disable vpdn shutdown Default value is enable. Enable vpdn no shutdown 3.19.2 VPDN Description...
  • Page 59: Config Username/Password

    3G/4G Router CLI User Manual 3.19.5 Config Username/Password Purpose Command Instruction Enter config mode Configure terminal Enter vpdnconfig mode interface vpdn interface-number Config Username/Password username password 3.19.6 PPP Advanced Setting Purpose Command Instruction Enter config mode Configure terminal Enter modemconfig interface modem mode interface-number...
  • Page 60: Print Vpdn Status

    3G/4G Router CLI User Manual Delete username & no username password password 3.19.8 Print VPDN Status Purpose Command Instruction Enter config mode Configure terminal Enter vpdnconfig mode interface vpdn interface-number Print vpdn status print Hongdian Corporation...
  • Page 61: Tunnel Config

    3G/4G Router CLI User Manual 3.20 TUNNEL Config This Config part Includes GRE, IPIP config now. 3.20.1 Enable/Disable Tunnel Purpose Command Instruction Enter config mode configure terminal Enter tunnel config mode interface tunnel interface-number Disable tunnel shutdown Default value is enable.
  • Page 62: Config Ip Address

    3G/4G Router CLI User Manual Config tunnel mode tunnel mode mode value range: gre or ipip 3.20.5 Config IP Address Purpose Command Instruction Enter config mode configure terminal Enter tunnelconfig mode interface tunnel interface-number Config IP Address Ip address address value: ip & mask 3.20.6 Config Source IP Address Purpose Command...
  • Page 63: Print Tunnel Status

    3G/4G Router CLI User Manual Delete tunnel mode no tunnel mode 3.20.9 Print TUNNEL Status Purpose Command Instruction Enter config mode configure terminal Enter tunnelconfig mode interface tunnel interface-number Print tunnel Status print Hongdian Corporation...
  • Page 64: Ipsec Config

    3G/4G Router CLI User Manual 3.21 IPSEC Config 3.21.1 Phase1 20.1.1 Enable/Disable Phase1 Purpose Command Instruction Enter config mode configure terminal Enter phase1 config mode cryto isakmp Input phase1 name after isakmp Disable phase1 shutdown Default value is enable. Enable phase1 no shutdown 20.1.2 Phase1 Description Purpose...
  • Page 65 3G/4G Router CLI User Manual 20.1.5 Hash Purpose Command Instruction Enter config mode configure terminal Enter phase1llconfig mode cryto isakmp Set hash hash 20.1.6 Set Group Purpose Command Instruction Enter config mode configure terminal Enter phase1llconfig mode cryto isakmp Set group group 20.1.7 Set Initiate Mode Purpose...
  • Page 66 3G/4G Router CLI User Manual Set Lifetime lifetime 20.1.10 Set Preshared Key Purpose Command Instruction Enter config mode configure terminal Enter phase1config mode cryto isakmp Set Preshared Key preshared key 20.1.11 Set Match Identify Purpose Command Instruction Enter config mode configure terminal Enter phase1config mode cryto isakmp...
  • Page 67: Phase2

    3G/4G Router CLI User Manual 20.1.14 Print Status Purpose Command Instruction Enter config mode configure terminal Enter phase1config mode cryto isakmp Print status print 3.21.2 Phase2 20.2.1 Enable/Disable Phase2 Purpose Command Instruction Enter config mode configure terminal Enter phase2 config mode cryto ipsec isakmp Input phase2 name after isakmp...
  • Page 68: Set Mode

    3G/4G Router CLI User Manual 20.2.4 Set Hash Purpose Command Instruction Enter config mode configure terminal Enter phase2config mode cryto ipsec isakmp Input phase2 name after isakmp Set Hash hash 20.2.5 Set Lifetime Purpose Command Instruction Enter config mode configure terminal Enter phase2config mode cryto ipsec isakmp Input phase2 name...
  • Page 69 3G/4G Router CLI User Manual isakmp Set pfs set pfs Description value: character string 20.2.9 Set Group Purpose Command Instruction Enter config mode configure terminal Enter phase2config mode cryto ipsec isakmp Input phase2 name after isakmp Set Group group 20.2.10 Set Local Subnet Purpose Command Instruction...
  • Page 70: Config Interface

    3G/4G Router CLI User Manual 20.2.13 Print Status Purpose Command Instruction Enter config mode configure terminal Enter phase2config mode cryto ipsec isakmp Input phase2 name after isakmp Print Status print 3.21.3 Config Interface Enable/Disable Interface Purpose Command Instruction Enter config mode configure terminal Enter interfaceconfig mode cryto interface...
  • Page 71 3G/4G Router CLI User Manual Enter interfaceconfig mode cryto interface Set ipsec interface name Config Source Interface source interface address Match phase1 Purpose Command Instruction Enter config mode configure terminal Enter interfaceconfig mode cryto interface Set ipsec interface name Match phase1 match phase1 Match phase2 Purpose...
  • Page 72: Openvpn Configuration

    3G/4G Router CLI User Manual 3.22 OpenVPN Configuration OpenVPN is an application layer VPN implementation based on the OpenSSL library. The command parameters for the OpenVPN configuration are shown in figure 3 -28. The OpenVPN configuration command specification is shown in table below. Command Format Function Description Remark...
  • Page 73 3G/4G Router CLI User Manual more than 703_SE and 703_SE versions ca .LINE Specify the file path for the client CA Empty certificate key .LINE Specify the private key path for the The certificate current client authentication is configured as SSL cert .LINE Specify the certificate file path for the The certificate...
  • Page 74 3G/4G Router CLI User Manual cipher BF-CBC // Configure the encryption algorithm as BF-CBC Hongdian Corporation...
  • Page 75: Nat Config

    3G/4G Router CLI User Manual 3.23 NAT Config 3.23.1 Config destination IP Address Purpose Command Instruction Enter config mode configure terminal Config destination IP Ip nat outside destination all/icmp/udp/tcp Address all/icmp/udp/tcp followed with a value: IP segment 3.23.2 Config Source IP Address Purpose Command Instruction...
  • Page 76: Routing Configuration

    3G/4G Router CLI User Manual 3.24 Routing Configuration Routing refers to the routing information manually configured by the network administrator. When the network topology or link state changes, the network administrator needs to manually modify the relevant routing information in the routing table. The static routing configuration commands are shown in table below.
  • Page 77 3G/4G Router CLI User Manual The “null 0” is a vi rtual port on a router, also known as a drop port. All da ta a rri ving a t the port is dis ca rded di rectl y. The pri ma ry purpose is to dis card the ga rbage pa ckets in order to prevent routing l oops . Hongdian Corporation...
  • Page 78: Rip Config

    3G/4G Router CLI User Manual 3.25 RIP Config 3.25.1 Enable/Disable RIP Purpose Command Instruction Enter config mode configure terminal Enter riplconfig mode router rip Disable rip shutdown Default value is enable. Enable rip no shutdown 3.25.2 RIP Description Purpose Command Instruction Enter config mode configure terminal...
  • Page 79: Set Redistribute

    3G/4G Router CLI User Manual 3.25.5 Set Redistribute Purpose Command Instruction Enter config mode configure terminal Enter ripconfig mode router rip Set redistribute redistribute 3.25.6 Set Passive Interface Purpose Command Instruction Enter config mode configure terminal Enter ripconfig mode router rip Set passive interface passive interface 3.25.7 Set distribute list...
  • Page 80: Print Rip Status

    3G/4G Router CLI User Manual Delete nework no nework network value: IP Delete neighbor no neighbor Neighbor value: IP Delete passive interface no passive interface Delete redistribute no redistribute Delete version No. no version Version value: 1, 2 3.25.10 Print RIP Status Purpose Command Instruction...
  • Page 81: Set Neighbour

    3G/4G Router CLI User Manual Enter ospfconfig mode routerospf Ospf value:IP area Area value: IP or port No. Set network nework network value: IP 3.25.14 Set Neighbour Purpose Command Instruction Enter config mode configure terminal Enter ospfconfig mode router ospf Set neighbour neighbor Neighbor value: IP...
  • Page 82: Set Version No

    3G/4G Router CLI User Manual 3.25.18 Set Version No. Purpose Command Instruction Enter config mode configure terminal Enter ospfconfig mode router ospf Set Version No. router id ID value: IP 3.25.19 Delete Config Purpose Command Instruction Enter config mode configure terminal Enter ripconfig mode router rip Delete distribute list...
  • Page 83 3G/4G Router CLI User Manual Command Format Function Description Remark router bgp Enable bgp and configure BGP AS Empty <1-4294967295> number. address-family ipv4 Configure the IPv4 address family (as Empty (multicast|unicast) multicast or unicast) address-family vpnv4 Configure the vpnv4 address family to Empty unicast propagate in unicast form...
  • Page 84 3G/4G Router CLI User Manual Command Format Function Description Remark A subsystem of an autonomous system Default status: no sub bgp confederation peer whose configuration belongs to an autonomous system that alliance belongs to an alliance. Configuring route attenuation Default status: the default bgp dampening <1-45>...
  • Page 85 3G/4G Router CLI User Manual Command Format Function Description Remark ( ) active, and no A.B.C.D|WORD activate configuration is normally required neighbor Configuration allows the BGP router to The number indicates the ( ) receive the number of routes that number of AS numbers A.B.C.D|WORD contain its own AS number.
  • Page 86 3G/4G Router CLI User Manual Command Format Function Description Remark maximum-prefix {<1-100|restart|warning-o nly>} neighbor Cancel the BGP's processing of the Default status: use normal ( ) next hop of the released route, and routing for next hop data. A.B.C.D|WORD take your address as the next hop. next-hop-self neighbor Ignore each other's ability to negotiate...
  • Page 87 3G/4G Router CLI User Manual Command Format Function Description Remark the default value of the reconnection timer is 120 seconds neighbor A particular detail route is missing Empty ( ) from a particular neighbor A.B.C.D|WORD unsuppress-map WORD neighbor Configure your own update source Empty (...
  • Page 88: Qos Configuration

    3G/4G Router CLI User Manual Command Format Function Description Remark ( ) metric|route-map|cr Default state: the default timers bgp <0-65535> Set BGP timer parameters. keepalive and holdtime <0-65535> times are 60 and 180 seconds, respectively. [Configuration example] telnet 127.0.0.1 2605 // telent 2605 port into BGP configuration mode password: // Enter the password for BGP mode for zebra enable // Enter privileged mode configure terminal // into configuration mode...
  • Page 89: Ip Filter Configuration

    3G/4G Router CLI User Manual service qos rule 1 // Configure the qos rule with the rule name 1 to enter the configuration mode interface br0 // Configure the flow control interface as br0 destination 192.168.8.12/24 port 300 // Configure the network address to 192.168.8.12/24 port to 300 Rate 1200 ceil 600 priority 12 // Configuration rate is 1200kbps Redundant bandwidth is 600kbps Priority 12 3.28 IP Filter Configuration IP filter is the router IP address through the filter rules to decide whether to allow external devices to access the...
  • Page 90: Domain Name Filtering Configuration

    3G/4G Router CLI User Manual Command Format Function Description Remark  icmp [Configuration example] access-list ip forward deny tcp 192.168.8.1/24 126 192.168.10.1/24 123 // Configure the ip filtering type to be forwarded and the filtering action is discarded. The protocol type is tcp, the source address is 192.168.8.1/24, the source port is 126, the destination address is 192.168.10.1/24, and the destination port is 123 access-list ip input permit icmp 192.168.8.1/24 interface br0 // Configure ip filter filter type input, filter action to accept, protocol type icmp, source address is 192.168.8.1/24, the destination...
  • Page 91 3G/4G Router CLI User Manual access-list invalid package Invalid package Empty access configuration [Configuration example] access-list mac input deny WORD // Dispose of data from the MAC address for WORD access-list mac forward deny any // Access to any MAC address is not forwarded Hongdian Corporation...
  • Page 92: Syslog Config

    3G/4G Router CLI User Manual 3.31 Syslog Config 3.31.1 Enable/Disable Syslog Purpose Command Instruction Enter config mode configure terminal Enter sysloglconfig mode service syslog Disable syslog shutdown Default value is enable. Enable syslog no shutdown 3.31.2 Syslog Description Purpose Command Instruction Enter config mode configure terminal...
  • Page 93: Delete Config

    3G/4G Router CLI User Manual Enter syslogconfig mode service syslog Set File Size file size 3.31.6 Delete Config Purpose Command Instruction Enter config mode configure terminal Enter syslogconfig mode service syslog Delete destination no destination Delete server port no server port Delete file size no file size 3.31.7 Print Syslog status...
  • Page 94: Config Destination Address

    3G/4G Router CLI User Manual NTP Description description Description value: character string 3.32.3 Config destination address Purpose Command Instruction Enter config mode configure terminal Enter ntpfconfig mode service ntp Config primary primary destination destination Config secondary secondary destination destination 3.32.4 Config Update Interval Purpose Command Instruction...
  • Page 95: Print Ntp Status

    3G/4G Router CLI User Manual 3.32.7 Print NTP Status Purpose Command Instruction Enter config mode configure terminal Enter ntpconfig mode service ntp Print ntp status Print 3.33 User Management Configuration The WEB user management configuration is used primarily to configure WEB users to log in to related parameters.
  • Page 96: Ipfix Configuration

    3G/4G Router CLI User Manual Command Format Function Description Remark 64 bytes password 8 WORD Configure the CLI login password The maximum length is 64 bytes password LINE Configure the CLI login password The maximum length is 64 bytes enable password 8 WORD Configure the password for entering The maximum length is privileged mode in CLI...
  • Page 97: Tcpmss Configuration

    3G/4G Router CLI User Manual collector address 192.168.8.123 // Configure ipfix to monitor the IP address to 192.168.8.123 collector port 7000 // Configure ipfix to monitor port number 7000 export interval 30 // Configure the interval to 30 seconds odid 5 // configure ipfix to view the domain ID of 5 probe br0 // configuration monitoring interface for br0 3.36 TCPMSS Configuration TCPMSS configuration is to configure the maximum segment size of data segments in the TCP transmission,...
  • Page 98: Raw Table Settings

    3G/4G Router CLI User Manual Command Format Function Description Remark virtual ip A.B.C.D Set up the virtual IP for VRRP Empty virtual priority <1-255> Sets the priority of the VRRP Empty [Configuration example] service vrrp virtual ip 192.168.8.3 // set the virtual IP to 192.168.8.3 virtual id 2 // set the virtual ID to 2 virtual interface br0 // set the virtual interface to br0 virtual priority 100 // Set the priority of VRRP to 100...
  • Page 99: Access Control List

    3G/4G Router CLI User Manual Command Format Function Description Remark E.F.G.H/M notrack chain. The A.B.C.D/M to E.F.G.H/M packet is not tracked ip raw output A.B.C.D/M Data packets skip the RAW table, Empty E.F.G.H/M return OUTPUT chain, A.B.C.D/M go to E.F.G.H/M rules [Configuration example] configure terminal to enter privileged mode ip raw prerouting 192.168.8.0/24 192.168.88.0/24 notrack // configuration RAW table PREROUTING chain 192.1638.8.0/24...
  • Page 100: Extensible Standard Access Control List

    3G/4G Router CLI User Manual 3.39.3 Extensible Standard Access Control List Purpose Command Enter config mode configure terminal Config extensible access-list standard access deny/permit control list A.B.C.D A.B.C.D Or any Or host A.B.C.D 3.39.4 Extensible Access Control List Extension Purpose Command Enter config mode configure terminal...
  • Page 101 3G/4G Router CLI User Manual UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2348 errors:0 dropped:0 overruns:0 frame:0 TX packets:10674 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:146027 (142.6 KiB) TX bytes:1483298 (1.4 MiB) Hongdian Corporation...
  • Page 102: Status

    3G/4G Router CLI User Manual 3.40 Status 3.40.1 Show version Purpose Command Instruction show version show version 3.40.2 Show VPDN Status Purpose Command Instruction show interface vpdn show interface vpdn 3.40.3 Show IPSec Status Purpose Command Instruction Show IPSec Status show interface crypto interface 3.40.4 Show Date...
  • Page 103: Config File

    3G/4G Router CLI User Manual 3.41 Config File 3.41.1 Erase Current Config Purpose Command Instruction Erase current config erase current- config 3.41.2 Save Current Config Purpose Command Instruction Save current config save current-config Hongdian Corporation...
  • Page 104 Create smart things F14 - F16, Tower A, Building 14, No.12, Ganli 6th Road, Longgang District, Shenzhen 518112, China. +86-755-88864288-5 +86-755-83404677 hongdianchina www.hongdian.com sales@hongdian.com Hongdian_China...

This manual is also suitable for:

H8922H7920H7921H8960H7960H8951

Table of Contents