Home

GWR CLI Documentation

image

Contents

1. 0 Restart PPP After IKE SA Retry Exceeds Specified Limit true Geneko HARDWARE Command Line Interface GWR Series Router Advanced Setup Compress Support IP Payload Compression Protocol false Dead Peer Detection Enable false NAT Traversal false Send Initial Contact false To finalize the configuration it has to be saved Are you shure you want to save IPSec parameters yes no gt yes IPSec parameters file saved Syslog commands syslog start Starts logging of system messages syslog stop Stops logging of system messages syslog tail Displays last n lines of the syslog Options h help print this help message v version print program version n number number of lines to display Example syslog_tail n 0 displaysdata as the syslog grows syslog_tail n 10 displays last 10 syslog lines syslog _startttail Displays complete system log in real time syslog_start view Displays complete system log till the moment of starting the command Configuration file and firmware commands configuration_export Export of the configuration file to FTP server Options h help print this help message v version print program version S Server IP address of the remote server u username username of the remote server p password password of the remote server Example configuration_export s X X X X u lt username gt p lt password gt configuration_import Import of configuration file from
2. 1 1 Remote Security Gateway Type gt 0 IP Only gt 0 Gateway Type IP Address gt 2 2 2 2 Gateway Type Custom Peer ID Enable gt true false gt false Remote Security Group Type gt 0 IP 1 Subnet gt 0 Group Type IP Address gt Group Type IP Address gt 2 2 2 2 Keying Mode gt 0 IKE with preshared key gt 0 Phase 1 DH Group gt 1 Group2 2 Group5 gt 1 Phase 1 Encryption gt 0 3des 1 aes 128 2 serpent 3 blowfish gt 0 Phase 1 Authentication gt 0 md5 1 sha gt 0 Phase 1 SA Life Time sec gt 1 86400 gt 86400 Phase 1 Perfect Forward Secrecy gt true false gt false Phase 2 Encryption gt 0 null 1 des 2 3des 3 aes 128 4 blowfish 5 serpent gt 0 Phase 2 Authentication gt 0 null 1 md5 2 sha gt 0 Phase 2 SA Life Time sec gt 3600 86400 gt 3600 Preshared Key gt ABCDE Enable Failover gt true false gt true Ping IP gt 1 1 1 1 Ping Interval sec gt 30 3600 gt 30 Packet Size gt 32 1300 gt 32 Advanced Ping Interval sec gt 1 60 gt 30 Advanced Ping Wait For A Response sec gt 1 60 gt 1 Maximum Number Of Failed Packets gt 0 100 gt 40 Enable IKE Failover gt true false gt true Geneko HARDWARE Command Line Interface GWR Series Router IKE SA Retry gt 0 100 gt 0 Restart PPP After IKE SA Retry Exc
3. Exit Displays system uptime Displays current month Clear current CLI page Displays memory status Shows system clock Shows IP addresses of every hop to destination IP asddress Partition availability Checks availability of IP address General use ping command 14
4. FTP server Options h help print this help message v version print program version f filename configuration file name Command Line Interface GWR Series Router s server IP address of the remote server u username username of the remote server p password password of the remote server Example configuration_import f lt filename gt s X X X X u lt username gt p lt password gt upfirmware Importing the firmware to the router from FTP server Options h help print this help message v version print program version f filename configuration file name S server IP address of the remote server u username username of the remote server p password password of the remote server Example upfirmware f lt filename gt s X X X X u lt username gt p lt password gt SNMP commands snmp view Displays SNMP configuration snmp conf Enters SNMP configuration mode where parameters are changed using text editor RIP commands rip ripd conf rip quagga conf User guide for RIP configuration is in additional document Quagga System Architecture Interface configuration interfaces all Lists all configured interfaces interfaces up Lists intafeces which are currently up ppp activity Configures PPP interfaces and displays status of the PPP connection Options help print this help message version print program version t start activate PPP connection p stop dea
5. WWW INFOPULSAS LT info infopulsas It Command Line Interface GWR Series Router Command Line Interface Documentation CLI command line interface is a user text only interface to a computer s operating system or an application in which the user responds to a visual prompt by typing in a command on a specified line and then receives a response back from the system In other words it is a method of instructing a computer to perform a given task by entering a command The system waits for the user to conclude the submitting of the text command by pressing the Enter or Return key A command line interpreter then receives parses and executes the requested user command On router s Web interface in Management menu click on Command Line Interface tab to open the Command Line Interface settings screen Use this screen to configure CLI parameters Figure 1 ceneko GWR ROUTER CONFIGURATION CONSOLE HARDWARE Status Command Line Interface CLI Settings vi Enable CLI on Telnet View Mode Usemame admin View Mode Password eecce Confirm Password View Mode Timeout 180 sec Edit Mode Timeout 180 sec Console Type other a Copyright 0 All rights reserved genekorsi Figure 1 Command Line Interface Command Line Interface GWR Series Router Tabel Inactivity timeout for View mode in seconds After timeout user will be put in View Mode Timeou
6. ctivate PPP connection r restart restart PPP connection c connection display PPP status u uptime display PPP uptime Command Line Interface GWR Series Router s Simstatus display SIM card status x switchover swap active SIM card i simselection lt n gt SIM card selection pppstats Displays PPP statistics Example pppstats ppp_0 0 both SIM cards are enabled 1 SIM card 1 is enabled 2 SIM card 2 is enabled wan settings Configures WAN interface of the router Options simindex i SIM index selection valid value 1 2 configure c Configure WAN parameters list l Display WAN parameters help h Print this help information Example wansettings simindex lt N gt list wansettings simindex lt N gt configure When command configure is entered configuration dialog is started Example for configuration dialog for SIM card 1 edit mode gt wan settings i 1 c SIM enabled false gt true Provider name NAME1 gt Provider1 Authentication PAP gt CHAP Username USERNAME1 gt username Password PASSWORD1 gt password Dial string ATD 99 1 gt Initial string at cgdcont 1 IP APN2 gt at cgdcont 1 IP APNname Number of retry 6 gt Are you shure you want to save WAN parameters yes no gt yes WAN parameters saved Routing route Lists active IP routes ifconfig Lists active interfaces ip Routes manipulation Options OPTIONS OBJECT COMMAND help w
7. eeds Specified Limit gt true false gt true Compress Support IP Payload Compression Protocol gt true false gt false Dead Peer Detection Enable gt true false gt false NAT Traversal gt true false gt false Send Initial Contact gt true false gt false After finishing the configuration list of configured parameters is displayed Add New Tunnel Tunnel Number 3 Tunnel Name test Tunnel Enable true Local Group Setup Local Security Gateway Type IP Only Gateway Type IP Address 1 1 1 1 Gateway Type Custom Peer ID Enable false Local Security Group Type IP Group Type IP Address 1 1 1 1 Remote Group Setup Remote Security Gateway Type IP Only Gateway Type IP Address 2 2 2 2 Gateway Type Custom Peer ID Enable false Remote Security Group Type IP Group Type IP Address 2 2 2 2 IPSec Setup Keying Mode IKE with preshared key Phase 1 DH Group Group2 Phase 1 Encryption 3des Phase 1 Authentication md5 Phase 1 SA Life Time 86400sec Phase 1 Perfect Forward Secrecy false Phase 2 Encryption null Phase 2 Authentication null Phase 2 SA LifeTime 3600sec Preshared Key ABCDE IPSec Failover Enable Tunnel Failover true Ping IP 1 1 1 1 Ping Interval 30sec Packet Size 32 Advanced Ping Interval 30sec Advanced Ping Wait For A Response 1sec Maximum Number Of Failed Packets 40 Enable IKE Failover true IKE SA Retry
8. elp mode Help mode gives you a brief description how CLI works and also a short description of each command specific for previously choosed mode Press x key to quit from this mode and to return to Main mode EDIT MODE To enter Edit mode you need to type password for this mode Password can be configured on the Web interface CLI tab Once when is entered in Edit mode password can be changed with command passwd edit mode Geneko HARDWARE Command Line Interface GWR Series Router In Edit mode are available all 64 commandes of CLI interface When tab key is pressed twice the list of the commands in alphabetical order is displayed IPSEC commands ipsec start Starts all configured IPSec tunnels ipsec stop Stops all configured IPSec tunnels ipsec restart Restarts all configured IPSec tunnels ipsec routes Dispalys IP routes used by the IPSec tunnel ipsec sa status Lists ISAKMP and IPSec Security Associations information ipsec sa status detail Lists detailed ISAKMP and IPSec Security Associations information including interfaces IKE and ESP algorithms ipsec status View of the status of each tunnel and its mode of connection Options h help print this help message v version print program version i ipsec display IPSec status t tunnel IPSec tunnel number m mode display tunnel mode Example ipsec_status i display IPSec status ipsec_status t 1 display IPSec tunnel 1 status ipsec_status t1
9. here 10 Command Line Interface GWR Series Router OBJECT link addr route tunnel OPTIONS f amily inet inet6 link o neline Example ip OPTIONS address link route tunnel COMMAND help iptables view Displays iptables file iptables Configures routes Commands append A chain Append to chain delete D chain Delete matching rule from chain delete D chainrulenum Delete rule rulenum 1 first from chain insert I chain rulenum Insert in chain as rulenum default 1 first replace R chain rulenum Replace rule rulenum 1 first in chain list L chain List the rules in a chain or all chains flush F chain Delete all rules in chain or all chains zero Z chain Zero counters in chain or all chains new N chain Create a new user defined chain delete chain X chain Delete a user defined chain policy P chain target Change policy on chain to target rename chain E old chain new chain Change chain name moving any references Options proto p proto protocol by number or name eg tcp source s address mask source specification destination d address mask destination specification in interface i input name network interface name for wildcard jump j target target for rule may load target extension match m match extended match may load extension numeric n numeric output of addresses and ports out i
10. m display IPSec tunnel 1 mode ipsec mode Configures mode of the IPSec tunnel and list the status for each tunnel Options h help print this help message v version print program version t tunnel tunnel number c connect connnect mode w wait wait mode l list display tunnel mode Example ipsec_mode t 1 c tunnel 1 connect mode ipsec_mode t 2 w tunnel 2 wait mode ipsec_mode t 3 1 display tunnel 3 mode ipsec settings Command for configuration of IPSec tunnel Options Geneko HARDWARE Command Line Interface GWR Series Router t tunnel IPSec tunnel selection valid value 1 5 c configure Configure IPSec parameters d delete Delete IPSec parameters l list Display IPSec parameters h help Print this help information Example ipsec_settings t1 l tunnel 1 list of parameters ipsec_settings t 2 c tunnel 2 configuration mode ipsec_settings t3 d tunnel 3 delete When command configure is entered configuration dialog is started Example for configuration dialog for IPSec tunnel number 3 edit mode gt ipsec settings t 3 c Tunnel Number 3 gt Tunnel Name gt test Tunnel Enable gt true false gt true Local Security Gateway Type gt 0 IP Only 1 SIM Card gt 0 Gateway Type IP Address gt 1 1 1 1 Gateway Type Custom Peer ID Enable gt true false gt false Local Security Group Type gt 0 IP 1 Subnet gt 0 Group Type IP Address gt 1 1
11. nterface o output name network interface name for wildcard table t table table to manipulate default filter verbose v verbose mode line numbers print line numbers when listing exact x expand numbers display exact values fragment f match second or further fragments only modprobe lt command gt try to insert modules using this command set counters PKTS BYTES set the counter during insert append version V print package version Example iptables AD chain rule specification options iptables RI chain rulenum rule specification options iptables D chain rulenum options iptables LFZ chain options iptables NX chain iptables E old chain name new chain name iptables P chain target options iptables h print this help information netstat Lists active network connections G senexo Command Line Interface GWR Series Router Options l display listening server sockets a display all sockets default connected e display other more information n don t resolve names r display routing table t tcp sockets u udp sockets w raw sockets x unix sockets Example netstat laenrtuwx NTP amp DNS server ntpdate Dispalys date and time from the NTP server if configured local_dns Configures local DNS server Options h help print this help message v version print program version a add add local DNS address s show show curren
12. omplete router settings Geneko HARDWARE Command Line Interface GWR Series Router You must enter correct username and password which are the same parameters as for the Web interface Once you are logged in you can press TAB key twice to display available commands specific only for this mode Also you can use this key to complete command names After a defined period of seconds of inactivity command not entered session will automaticaly exit from current mode It is very important for this mode that a valid timeout is defined because only one session at the same time is allowed For security reasons and in order to preserve router configuration integrity one Edit mode can be started at the same time Also Edit mode is not available if the user is already logged in on Web interface Enter x key to quit from this mode and to return to Main mode View mode View mode is designed only for informational purposes and parameters can t be changed in this mode You don t need to enter username and password for this mode because it is a read only mode You can press TAB key twice to display available commands specific only for this mode Also you can use this key to complete command names After a defined period of seconds of inactivity command not entered session will automaticaly exit from current mode View mode can be started more than once at the same time Enter x key to quit from this mode and to return to Main mode H
13. splays current processes status Ping hosts by ARP requests replies Options f Quit on first ARP reply q Be quiet b Keep broadcasting don t go unicast D Duplicated address detection mode U Unsolicited ARP mode update your neighbours A ARP answer mode update your neighbours c count Stop after sending count ARP request packets w timeout Time to wait for ARP reply in seconds I device Outgoing interface name default is eth0 s sender Set specific sender IP address Example 13 Command Line Interface dmesg ipcalc killall uptime cal clear free hwclock pidof traceroute df ping ping_extended x GWR Series Router arping fqbDUA c count w timeout I device s sender target Displays kernel messages Calculate IP network settings from a IP address Options b n m P h S Example broadcast Display calculated broadcast address network Display calculated network address netmask Display default netmask for IP prefix Display the prefix for IP NETMASK hostname Display first resolved host name silent Don t ever display error messages ipcalc OPTION lt ADDRESS gt lt NETMASK gt NETMASK Options l q Example Send a signal default is SIGTERM to the specified process es List all signal names and numbers Do not complain if no processes were killed killall q signal process name process name Processes ID
14. t Main mode Inactivity timeout for Edit mode in seconds Note that Username and Password Edit Mode Timeout for Edit mode are the same as Web interface login parameters After timeout user will be put in Main mode Console Type Windows other ave Click Save to save your changes back to the GWR Router Reload Click Reload to discard any changes and reload previous settings Table 1 Command Line Interface settings Enable Use this checkbox to enable or to disable starting of CLI Use SAVE button to remember the settings and also tu start CLI After reboot procedure last saved settings will be loaded Use RELOAD button to reload settings from last saved configuration CLI on Select where to start CLI Available options are Telnet Ssh and Serial interface If you use serial port converters option Serial will not be available View mode Username Login name for View mode This is a username for login to CLI Because when you login you don t have to provide a password in order to get into View mode Because of this it is called View mode username View Mode Password Login password for login to CLI Confirm Password Confirm password for login to CLI View Mode Timeout Inactivity timeout defined in seconds after which the user will be put back into Main mode Note that only entering the command will reset the timeout counter keypresses are ignored Edit Mode Timeout Inactivity timeout defined in seconds after which
15. t list of local DNS Example local_dns a X X X X use this comand to set local DNS with X X X X address local_dns s use this comand to read current list of local DNS nslookup Queries the nameserver for the IP address of the given HOST optionally using a specified DNS server Example nslookup HOST SERVER General purpose commands help Description of all CLI commands show Displays router information Options 12 Geneko HARDWARE Command Line Interface GWR Series Router h help print this help message v version print program version f firmware show firmware version d hardware show hardware version s signal show signal strength n homenetwork show homenetwork information configuration_show Displays complete configuration file factory_default Clears router configuration parameters to factory default write Saves configuration changes erase firmware memory Clears routers memory Defines password for edit mode equal to Administrator password in web interface passwd edit mode date modem_info modem_state reboot services cpu ps arping Displays current time and date Displays description of wireless module Displays status of wireless module Reboots the router Activates chosen service Options ipsec rip zebra snmp Actions start stop restart status Example services ipsec status Displays CPU information exit with ESC q ENTER sequence Di
16. the user will be put back into Main mode Note that only entering the command will reset the timeout counter keypresses are ignored Console Type Select Windows or other type of terminal Some commands have color and fancy output Select appropriate console type according to your operating system in order to be able to see the right output If you don t select the right type of console you still will be able to use commands Now use your telnet ssh or serial console client software to connect to GWR router CLI Geneko HARDWARE Command Line Interface GWR Series Router If it is successfully started you will see CLI the following prompt GWR252 login At this point you need to enter username and password defined on Web interface in CLI Settings page text fields View mode username and View mode password Default parameters for CLI login are username admin password admin If you are successfully logged in you ll see a screen as on picture XY GWR Router Command Line Interface v0 7 MAIN MODE v VIEW mode e EDIT mode h HELP x quit choose mode gt From now on you can choose one of few CLI modes Choosing CLI modes You can use v e h and x keys to select View Edit Help or Quit mode respectively Only two modes are important View mode a read only mode designed to view router settings and Edit mode which is designed for a complete router configuration Edit mode Edit mode is designed to edit c

Download Pdf Manuals

image

Related Search

Related Contents

Life Fitness LS-7500 User's Manual  Samsung LTM1755 用戶手冊  BALANZA DIGITAL ES-H SERIES Código: LVE  部・施設名 千葉障害者職業センター 年 年度 年度 21 2009 2010 5 2014  AzCam Users Manual (Word)  ThinMan Toolkit User Manual  『みんなの生活ブック』幼児編(PDF形式:15068KB)  TB-PWシリーズ 取扱説明書    

Copyright © All rights reserved.
Failed to retrieve file