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...
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.
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 ...
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...
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...
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>...
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:...
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...
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...
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)
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...
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...
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 &...
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...
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...
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...
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...
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>...
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...
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...
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...
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.
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...
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...
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...
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...
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...
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...
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...
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...
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...
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...
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 (...
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...
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...
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...
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...
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.
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...
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,...
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...
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...
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...
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...
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...
Need help?
Do you have a question about the H8922S and is the answer not in the manual?
Questions and answers