Netgear cli
NETGEAR FVS338 Comand Line Interface (CLI)
FVS338: />
bin/ config/ stats/
FVS338: /bin>
ls - lists available commands
cd - changes current working directory
help - Used to list directory or help for a specific command
version - Get the Product/ModSets Version history of the image. Usage : version -all
logout - Closes the Current Session
shell - Run a unix shell
linux-version - Prints the Linux-Mod-Set Version
ping - ping <ipaddress/host> [-c count] [-f] [-s packetsize]
ICMP ECHO REQUEST Check statistics
FVS338: /config>
sys/ sntpc/ ip/ ether/ polgrp/
userdb/ ldsv/ snet/ ad/ iapd/
firewall/ relay/ upn/ algs/ tcpreasm/
diag/ trace/ ike/ spd/ sad/
ipsec/ dnsrd/ ddns/ dhcpc/ ipreasm/
dhcpd/ dhcpr/ rtrid/ macdatabase/ cmgr/
scep/ ldap/ syslog/ mesgthrt/
ocsp/ domain/ wan/ snmp/
lxos/ interfaces/ webproxy/ http/
FVS338: /config/sys>
setzone - sets system time zone. Usage: setzone +/-hh:mm abbrivation <-dst [set/reset]>
settime - sets system time. Usage: settime mm-dd-yyyy hh:mm:ss
time - displays system time. Usage: time
reboot - Reboots the system. Usage: reboot
facdefault - Sets factory defaults. Needs reboot
boxtype - Displays the box configuration type(SOHO(SME)/MTU). Syntax: boxtype
syslist - Displays all the system variables USAGE: SysList
syscontact - sets the system contact person info :USAGE SysContact <CONTACT ADDRESS>
sysname - sets the name of this node :USAGE SysName <name string>
syslocation - sets the physical Location of this node :USAGE SysLocation <name string>
domainname - sets the domain name:USAGE domainname <domain name string>
startcap - Starts packet capture :USAGE startcap <IfaceName> [-c NoOfPackets] :Ex startcap ixp0 -c 20
stopcap - Stops the packet capture :USAGE stopcap
FVS338: /config/sntpc>
sntpenable - USAGE: sntpenable [-i <timezone Index>]
1 - UK,GreenWich,Casablanca,Monrovia (GMT).
2 - Eniwetok,Kwajalein (GMT-12:00).
3 - Midway I., Samoa (GMT-11:00).
4 - Hawaii (GMT-10:00).
5 - Marqesas Is. (GMT-9:30).
6 - Alaska (GMT-9:00).
7 - Pitciarn Is. (GMT-8:30).
8 - Pacific Time ..US and Canada (GMT-8:00).
9 - Arizona (GMT-07:00).
10 - MountainTime(USA)(GMT-7:00).
11 - CentralTime(USA),Mexico City,Tequciqalpa (GMT-6:00).
12 - Indiana East (GMT-05:00).
13 - EasternTime(USA),Bogota,Lima,Quito (GMT-5:00).
14 - AtlanticTime,Caracas,La Paz (GMT-4:00).
15 - Newfoundland (GMT-03:30).
16 - Brasilia,Beunos Aires,Georgetown (GMT-3:00).
17 - Mid-Atlantic (GMT-2:00).
18 - Azores,Cape Verde Is. (GMT-1:00).
19 - Europe (GMT+1:00).
20 - Egypt,Finland,Romania,Turkey,Greece,Jordan(GMT+2:0 0).
21 - Israel(GMT+02:00).
22 - Mascow,St.Petersburg,Iraq,Syria(GMT+03:00).
23 - Iran (GMT+3:30).
24 - Armenia, Azerbaijan (GMT+4:00).
25 - Afghanistan (GMT+4:30).
26 - Pakistan,Russia (GMT+5:00).
27 - India (GMT+5:30).
28 - Bangladesh,Russia (GMT+6:00).
29 - Burma (GMT+6:30).
30 - Thailand, Combodia, Laos (GMT+07:00).
31 - China,kuala Lumpur,Singapore,Philippines,Perth(GMT+08:00).
32 - Japan,Korea,Russia (GMT+09:00).
33 - Adelaide (GMT+9:30).
34 - Brisbane,Gaum,Papua New Guinea,Tasmania (GMT+10:00).
35 - Sydney,Melbourne,canberra (GMT+10:00).
36 - Lord Howe I. (GMT+10:30)
37 - Solomon Is., Magadan,Russia (GMT+11:00).
38 - Norfolk I. (GMT+11:30)
39 - New Zealand,Fiji,Kamchatka,Marshall Is.(GMT+12:00).
40 - Tonga (GMT+13:00).
41 - Kiribati,Western Samoa (GMT+14:00).
addservers - USAGE: addservers <Primary Server Domain Name/IP Address> [-pp <Primary Server Port>]
[[-s <Secondary Server Domain Name/IP Address>] [-sp <Secondary Server Port>]]
Public SNTP Servers list:
louie.udel.edu ntp-0.cso.uiuc.edu ntp.ourconcord.net
ntp-1.mcs.anl.gov ntp-2.mcs.anl.gov time-a.nist.gov
time-b.nist.gov time-a.timefreq.bldrdoc.gov utcnist.colorado.edu
time.nist.gov time-nw.nist.gov nist1.datum.com
nist1.aol-ca.truetime.com
listservers - list servers ....
Syntax:listservers
sntpdisable - Disables the sntp client....
Syntax:sntpdisable
show - Displays the Sntp Client Parameters...
Syntax:show
delservers - Delete servers...
Usage : delservers <prim/sec/all> (primary server/secondary servers /both )
FVS338: /config/ip>
route/ rip/
address - address <ifname> <static/dynamic>[if static only:-><-ip <ipaddr>/<mask'bits>>]
[-rip <enable/disable>] [if dynamic only:-><-dfrt enable/disable>,
we need to tell whether DHCP client should add default route corresponding to
the gateway it got from DHCP server]
alias - alias <interface> <ipaddress> [-m mask] [-b broadcast]
up - USAGE : Up <interface>
down - down <interface>
list - list [-i interface] lists all the statistics
stats - USAGE : stats
FVS338: /config/ip/route>
add - add <ipaddr'default> <gw> <mask> <iface> <metric>
Ex: add 172.16.5.0 172.16.1.5 255.255.255.0 eth0 15
del - del <ipaddr'default> <gw> <mask> <iface> <metric>
list - lists all the routing table entries
FVS338: /config/ip/rip>
showrec - To show records: showrec [-name <record name>]
delrec - To delete a rip record: delrec <rip record name>
addrec - To add a rip record: addrec <record name>
<version: 1[for RIPv1] or 2[for RIPv2] or
3[for RIPv2(RIPv1 compatible)]>
<direction control: Tx or Rx or TxRx>
[-auth <authtype: 0(AUTHNONE), 2(SIMPLE) or 3(MD5)>]
[-id1 <authid1>] [-key1 <authkey1>]
[-starttime1 <starttime1>] [-stoptime1 <stoptime1>]
[-id2 <authid2>] [-key2 <authkey2>]
[-starttime2 <starttime2>] [-stoptime2 <stoptime2>]
Note: For Simple authentication use opt parameter [-key1 <authkey1>]
to enter Password
For starttimes and stoptimes:: Time format: <mm/dd/yyyy'hr:min:sec>
Example: -starttime1 6/6/2001'5:30:00
modrec - To modify a rip record: modrec <record name>
<version: 1[for RIPv1] or 2[for RIPv2] or
3[for RIPv2(RIPv1 compatible)]>
<direction control: Tx or Rx or TxRx>
[-auth <authtype: 0(AUTHNONE), 2(SIMPLE) or 3(MD5)>]
[-id1 <authid1>] [-key1 <authkey1>]
[-starttime1 <starttime1>] [-stoptime1 <stoptime1>]
[-id2 <authid2>] [-key2 <authkey2>]
[-starttime2 <starttime2>] [-stoptime2 <stoptime2>]
Note: For Simple authentication use opt parameter [-key1 <authkey1>]
to enter Password
For starttimes and stoptimes:: Time format: <mm/dd/yyyy'hr:min:sec>
Example: -starttime1 6/6/2001'5:30:00
list - List RIP list : list [-name <ifname>]
merge - Set Merge on or off : merge on'off
senddefault - Set SendDefault on or off : senddefault on'off
subnets - Enable/Disable subnets : subnets on'of
×