InfiNet R5000 series User manual

Copyright ©2004-2007 byInfiNetWireless Limited. 1
Updated:5March2008
OSVersion: V4.29
InfiNet Wireless RouterR5000
WANFlexOSUserManual

Copyright ©2004-2007 byInfiNetWireless Limited. 2
Copyright ©2004-2007byInfiNetWirelessLimited.
All rightsreserved.

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited. i
Tableofcontents
I. INTRODUCTION.............................................................................................................. 4
1. Generalnotes...................................................................................................................4
2. IP-address format.............................................................................................................4
II. GENERALPURPOSECOMMANDSET................................................................................ 5
1. Help command.................................................................................................................5
2. Systemcommand.............................................................................................................5
3. Setcommand (time zonesettings)......................................................................................7
4. Config command (configurationmanipulations)....................................................................7
5. Flashnetcommand (firmware uploading).............................................................................8
6. Restartcommand .............................................................................................................9
7. Ping command.................................................................................................................9
8. Telnetcommand...............................................................................................................9
9. Tracertcommand ...........................................................................................................10
10. Rshd command (Remote Shell).........................................................................................10
11. Ipstat command (IP-statistics).......................................................................................... 11
12. Aclcommand (Access ControlLists)..................................................................................13
13. Sntp command...............................................................................................................13
14. Date command...............................................................................................................15
III.LAYER2COMMANDSSET–PHY ANDMAC................................................................... 16
1. Rfconfig command (Radiointerface configuration)...............................................................16
2. RMA command (Routed Multiple Access configuration)........................................................20
GeneralDescription......................................................................................................20
Subscriber unitconfiguration.........................................................................................22
Base Stationconfiguration............................................................................................22
Testregimes...............................................................................................................24
RMA protocoloperationmanagement.............................................................................25
Automaticspeed management(autobitrate)....................................................................25
WMA/CD(polling) regime management..........................................................................26
3. Muffer command (Environmentanalyzer)..........................................................................28
Review mode............................................................................................................... 28
SIDmode...................................................................................................................28
MAC|MAC2|MYNETmodes............................................................................................29
Scanmode..................................................................................................................30
Statisticsmodule.......................................................................................................... 30
4. Macf command (addressesmapping)................................................................................31
5. Sppp command..............................................................................................................33
6. Arp command (ARP protocol)...........................................................................................35
IV. LAYER3COMMANDSET–IPNETWORKING................................................................ 37

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited. ii
1. Ifconfig command (interfacesconfiguration)......................................................................37
2. Tun command (tunnelsbuilding)......................................................................................39
3. Qmcommand (QoSconfiguration)....................................................................................41
4. Route command (staticroutesconfiguration).....................................................................46
5. Rip command (RIP-1and RIP-2configuration)...................................................................47
6. OSPFv2(dynamicrouting protocolmodule) .......................................................................51
Getting started............................................................................................................51
Command language.Basicprinciples..............................................................................51
Start/stop ofOSPF.......................................................................................................53
Router identifier...........................................................................................................54
Filters.........................................................................................................................54
Linkstateadvertisement...............................................................................................55
Linkmetric..................................................................................................................59
OSPFsystemareas.......................................................................................................59
Adjacency.Neighbors...................................................................................................62
Authentication.Identitycheck.......................................................................................64
Router running configurationview.................................................................................65
7. Netstat command (Networkstatistics)...............................................................................70
8. Ipfw command (IP Firewall).............................................................................................71
Generaldescription......................................................................................................71
Packetfiltering rules.....................................................................................................73
Packetfiltering rulessyntax...........................................................................................74
Examplesofpacketsfiltering.........................................................................................77
9. Loadm command (load meter).........................................................................................81
10. Bpfcommand (BerkeleyPacketFilter)...............................................................................82
11. Snmpd command (SNMP daemon)....................................................................................83
12. Td command (Telnetdaemon).........................................................................................83
13. Nat command (NetworkAddress Translation)..................................................................... 84
Generaldescription......................................................................................................84
Commandsdescription.................................................................................................85
NATand H.323telephony.............................................................................................90
14. Trapd command (SNMP trapd support) .............................................................................91
15. DHCP Server ..................................................................................................................92
DHCP Server Command Language.................................................................................92
16. DHCP relay.dhcpr command.......................................................................................... 108
GeneralDescription.................................................................................................... 108
CommandsDescription............................................................................................... 108
17. DHCP Client.dhcpccommand........................................................................................ 109
GeneralDescription.................................................................................................... 109
Options..................................................................................................................... 110

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited. iii
Commands................................................................................................................ 110
Examples.................................................................................................................. 110
18. VRRP server.VRRP command......................................................................................... 111
GeneralDescription.................................................................................................... 111
Command description................................................................................................. 112
V. OTHERCOMMANDS..................................................................................................... 117
1. Ctlcommand (externaldevicesmanagement).................................................................. 117

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited.
4
I. Introduction
1. Generalnotes
ThismanualliststhecommandsoftheWANFleXoperatingsystemusedinthe
InfiNetWireless Router.
For device’smanagementand configurationaUnix-likecommand line interface is
used.Everycommand ishavingpower rightafter Enterkeyispressed.However,
each commandlifetimedurationislimitedwithinoneconfigurationsession.In
order tosave acurrentconfiguration“configsave”command isused.
Severalcommandscanbegroupedinonelineusing“;”character.Ifawrong-
syntaxlineismetinthegroup,therestofthestringischeckedanywayandthe
wrongcommandisignored.Commandnamecanbeshortenedunless the
ambiguityoccurs.
IfyourterminalsupportsVT100 orANSIstandardyoucanmovearoundthelist
ofrecentlyexecutedcommandsusingcursorkeys.Numberedlistofthese
commandscanbereviewedby“!h”command.Anycommandfromthislistcan
beavailableusing“!<NUMBER>”command.TABkeyperformssubstring
search ofrecentlyexecuted commands.
Ctrl/R combinationrefreshesthecommandstringifitscontentwasdisturbedby
systemmessages.
Thecommandexecutedwithnoargumentsprintsashorthintaboutitskeys,
parametersand syntax.
Contexthelp canbe obtained byprinting “?”inanypositionofthe line.
2. IP-address format
Manycommandsofthe operating systemrequire specificationofIP-addresses.
InOSWANFleX,theIP-addresseesmaybespecifiedintraditionalnumeric
format.Optionally,themaskmaybespecifiedeither byitsbitlength(the
specifiednumber ofleadingbitsinthemaskare setto1,theremainingbitsare
resetto0)ornumericvalue.TheIP-address 0/0 denotesallpossible
IP-addresses.
Therefore,the possible formatstospecifyIP-addressesare:
nn.nn.nn.nn (nomaskisused)
nn.nn.nn.nn/N (Nisthe bitlengthofthe mask)
nn.nn.nn.nn:xxx.xxx.xxx.xxx (xxx.xxx.xxx.xxx isthenumericalvalueofthe
mask)
Example:
The192.168.9.0/24 addressdescribesthenetworkaddress 192.168.9.0andthe
maskwithleading 24bitson.
The samesetofaddressesmaybe denoted as192.168.9.0:255.255.255.0.

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited.
5
II.GeneralPurposeCommandSet
1. Helpcommand
The command displayssystemcommandsinformation.
Syntax:
help
Description:
Displaysthe listofall router commands. Executed automatically,ifthe user types
anunknowncommand.
2. System command
The command isused toreview and update systemparameters.
Syntax:
system[arguments]
Commandarguments:
•system name [system_name]
Assignstothe systemanew name specifiedbysystem_nameparameter.
Iftheparameter isnotspecified,thecurrentsystemnamewill be
displayed.
Example:
systemname revolution
•system location[string_describing_system_location]
Optionalcharacter stringdescribingthesystemlocation;usedinSNMP
protocol.
Example:
syslocationOnthe Carlsson'srooftop
•system user user-name
Assignsanameunder which thesystemadministratorenterstherouter
fromthe consoleor remotely,using telnet/http.
Example:
systemuser root
•system passwordpassword
Setsthe systemadministrator'spassword.
Example:
systempassword qwerty
•system gpsxy[E|W]XX.XXXXX [N|S]YY.YYYYY
Setsthegeographicalcoordinatesofthedevice(longitude,latitude).This
parameter canbeusedforautomaticalradiomoduleparameters
correctionwhenconnecting tothe network.
Example:
systemgpsxy60.40056 56.82857

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited.
6
•system guestkey-word-or-phrase
Specifiesakeywordforenteringaguestmode.Thekeywordisentered
asalogin,anypasswordmaybeused.Whileintheguestmode,you
cannotmodifytherouter'sconfigurationparameters,neither security-
related parameters.
Example:
systemguestfor_members_only
•system prompt any-word
Replacesthepromptonthescreenwiththegivenany-wordof
amaximumlengthof16 characters. Theresultingpromptwilllookas
"Prompt#ttyN>".
Example:
systempromptMyHost
•system [no]fastroute
Enables/disablesthefastroutingmode.Inthismodetherouter becomes
invisiblefortraceroutenetworktracingprocedures,whilestill performing
all routingfunctions. Itisnotrecommendedtoenablethefastrouting
modesimultaneouslyonseveraldevicesconnectedtothesamecable
Ethernetsegment,because thismayproduce atempestofIP packets.
•system uptime
Displaysthe durationoftime elapsed since the system'slastreset.
•system version
Displaysthe software version.
•system log[on|off][IP_address][-][show][clear]
Managesthesystemlogoperation.TheoptionalIP_address parameter
specifiestheUNIXhostwhere thesystemlogislocatedtowhich
messagesare directedunder the standard syslogprotocol.Thecommand
hasthe following options:
oon -displaymessagesonthe currentconsole
ooff -stop displaying messagesonthe console
o"-" -disable logging onthe remote host
oshow -showthesystemloglisting(thelatestmessage
displayedonthebottomline;messagetimeforeverymessage
expressedinseconds/millisecondsbackfromthe currenttime)
oclear -clear the systemlog
o[no]filter –thisoptionremovesneighboringidenticallinesfrom
systemlogleavingonlyonecopyofeach messageandcounts
their recurrence (enabled bydefault)
•system icmplimitXX
Setsalimittothenumber ofoutcomingICMPpacketsper second(200
bydefault).Helpstoavoidthedevicerebootingwhilenetworkscanning
programsimplementation.Being setto0alllimitationsare turned off
•system [no]sendredirects
Enables(disables)thesystemtosend
icmpredirect
messagesforthe
packetssource suppressionifrouting isincorrectlyconfigured.
•system [no]dropredirects

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited.
7
Enables(disables)the systemtosend
icmpredirect
messagesforrouting
tablesupdating ifrouting isincorrectlyconfigured.
•system cpu
IndicatescurrentCPUload (inpercent)
•system OfficialAddressIP-address
SetstheIP-address which willbeusedasasourceIP-address inall
outgoing connectionsofthe unit.
•system search[seconds]
Thiscommandforcesallindicationtoblinkfortheonetypedevices
search.Bydefault,thismode turnsoff after 10 seconds.
•system serialCD[no]log[no]trap
Setsthereactiontoappearance/disappearanceofCarrier Detect(CD)
signalonthe diagnosticsport(console).
"log"optionenablesthiseventtobewrittenintothesystemlog.
"trap"optionenablesSNMP-trapmessagesgeneration
ThemessageofCDsignaldisappearancehasanoidof
1.3.6.1.4.1.3942.0.103
ThemessageofCDsignalappearancehasanoidof
1.3.6.1.4.1.3942.0.104
Inorder tosendSNMPmessagesyouneedtorun trapd serviceusing
trapd command (see trapd command).
ThecurrentremotelogIP-address, ifany,maybesavedintheconfigurationfile
using the configsave command.
3. Setcommand(time zonesettings)
Thecommandisusedfortimezonesettingsmanipulations.Startingfrom 3.36
versionoffirmware.
Syntax:
setTZTIMEZONE
Example:
setTZEST+5EDT,M4.1.0/2,M10.5.0/2
setTZEKT+5
For more detailsplease visit:http://www.rt.com/man/tzset.3.html
4. Configcommand(configurationmanipulations)
Thiscommand isused toview,save,export,and importthe router configuration.
Syntax:
config show [patterns]
config save
config export|importlogin:password@host/file
Description:
•show
Displaysthecurrentconfigurationofthesystem.Anychangeofthe
systemparametersmaybeimmediatelyviewedusingtheconfigshow

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited.
8
command.Theoptionalparameter maycontainaselectionofWanFleX
commands(abbreviatedtotheirinitialletters),asshowninthefollowing
examples;onlythosesystemparameterswillthenbedisplayedwhich
relate tothe commandsselected.
Examples:
coshow rmarip
willdisplayparameter configurationfor RMA and RIP protocols;
coshow r !rip
willdisplayparameter configurationforallcommandsstartingwith"r"
except"rip".
•save
Savesthecurrentsystemconfigurationintherouter'sflashmemoryfor
subsequentpermanentuse.All modificationstothe systemparameters, if
notsavedbythiscommand,are validonlyduringthecurrentsession
(until the systemreset).
•export,import
Savestherouter configurationonaremoteserver andreloadsitfroma
remote server.The informationistransferred using FTP.The name ofthe
file toor fromwhich the informationistransferred.The file name shall be
specified infull,inthe format ofthe remote server'sfile system.
Example:
config export user:secret@192.168.1.1/var/conf/test.cfg
5. Flashnetcommand(firmwareuploading)
Thiscommand uploadsanew versionofsoftware.
Syntax:
flashnetgetlogin[:password]@IP-address/file-name
Description:
Loadsanew software versionintotherouter fromaremoteserver usingFTP.
File-name isthenameofthefilecontainingtheinformationtransferred.The
filenameshall bespecifiedinfull,intheformat oftheremoteserver'sfile
system. IP-address the IP_addressofthe remoteserver.
Example:
flashnetget upgrade@192.168.1.1/conf/rwr/rwr300.bin
Loading consistsoftwophases:
•Reading the file fromthe remote server
•Loading the systemimage inthe router memory
The second phaseisshownonthe screenbyalternate signs"O"and ".".
Donotinterruptthisprocess!! Ifyoudo,thedevicewouldbecome
unusable and could be putbacktoworkonlybythe manufacturer.

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited.
9
6. Restartcommand
The command performssoftrouter reset.
Syntax:
restart[y]
restartSECONDS
restartstop
Description:
Full resetandreinitializationofarouter.Equivalenttotogglingthepower switch
off andon.Maybeusedtorestore initialconfigurationafter anumber of
unsuccessfulattemptstounderstandwhat exactlyisdonewrong,andafter
loadinganew versionofsoftware.Withthe "y"option, RESTART commandis
executed immediately,withoutasking the operator forconfirmation.
Thiscommandcanbeusedforthepostponedreinitialization(after certain
number ofseconds,e.g. restart300).Thisoptioncanbeusefulincaseof
dangerousmanipulationswithdevice'sconfigurationwhenthere isarisktoloose
controlover thedevice.Thesystemwill periodicallyinformtheuser aboutthe
timelefttoreinitializationbyputtingthecorrespondingmessagetothesystem
log.Repeatedcallofthiscommandwillstartthecountdownfromthebeginning.
Restartstop command willcancelapostponed reinitialization.
7. Pingcommand
The command sendstestpackets.
Syntax:
ping IP-address [size size] [countcount]
Description:
Sendstestpackets(ICMP_ECHO_REQUEST)tothegivenIP-address. Enablesto
estimateattainabilityofahostandthedestinationresponsetime.Thecommand
hasthe following parameters:
•IP-address -theIP-address ofthe tested host;
•size -thetestpacketlengthwithintherangeof10 to8000bytes
(optional,64bydefault);
•count -the number ofthe testpackets(optional,5bydefault).
Example:
ping 192.168.1.1size 20 count7
8. Telnetcommand
Use telnetprotocoltoenter aremote host.
Syntax:
telnetIP-address
Description:
Setsupaconnectionwitharemotehostspecifiedbythe IP-address inthe
terminalemulationmode.The telnet commandusestransparentsymbols
streamwithoutanyintermediateinterpretation;therefore,theterminaltypeis
definedbytheterminalfromwhich thecommandhasbeenexecuted.To
interruptthe terminalemulationsession,press Ctrl/D.

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited.
10
9. Tracertcommand
The command trace attainabilityofanIP-node.
Syntax:
tracert[-sSourceAddress] HostAddress
Description:
TracesthepackettransmissionpathuptotheIPnode(host),specifiedbythe
HostAddressparameter.Thecommandsendspacketstothespecifiedhost,
assigningdifferentvaluestothe"timetolive"fieldintheirIPheaders, and
analyzes"ICMPTIME_EXCEEDED"indicationscomingfromdifferentrouters
along the pathtothat host.
Bydefault,thesendinginterface'saddress isputinthe"sourceaddress"fieldof
thepackets. Usingthe -s option,anyother IPaddress(SourceAddress)maybe
substituted for thisdefaultaddress.
Tracingislimitedtoapathwithmaximum30intermediateIPnodes.Trace
packetsare 36 byteslong.Thetraceprocedure makes3attemptsforevery
intermediate node.
EverytraceresultcontainstheIP-address ofanintermediatenodeandthe
responsetime(inmilliseconds)ofeveryattempt.Inaddition,itmaycontain
some specialsymbolscorresponding tospecificreplycodesofthe ICMP protocol:
•!-Portunattainable
•!N -Networkunattainable
•!H-Node (host) unattainable
•!P -Inappropriate protocol
•!F-Toolong packet
•!X-Access toanode isadministrativelyrestricted (filter,proxyetc.)
•*-Noreply
10.Rshdcommand(Remote Shell)
RSH (remote shell) protocolsupportmodule.
Syntax:
rshd enable |disable RemoteUSERRemoteHOSTLocalUSER
rshd start|stop |flush
Description:
Thebuilt-inRSH server makesitpossibleremotecommandexecutionusingthe
rshprogram.IdentificationisbasedonusingprivilegedTCPportsandalistof
authorized hosts.
Bydefault,theRSH server isdisabled.Tostartandstoptheserver,the
commands rshdstart and rshdstop are executed.Whenstarted,theserver
ignoresrequestsforcommandexecutionuntil at leastonevalidsystementryis
enabled.
A systementryisspecified byanrshd enable command withthree parameters:
•RemoteUSER -the nameofaremote user (up to16 symbols)
•RemoteHOST –IP-address ofaremote host
•LocalUSER -the name ofalocaluser (up to16 symbols)

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited.
11
Arequestforcommandexecutionisservicedonlyifforallthree parametersit
specifiesthevaluescorresponding toavalid entry.
Up to6independententriesmaybe defined.
Thenameofalocaluser isinnorelationwiththeWANFleXmainauthorization
system;itmaybe consideredsimplyasakeyword.
Todisableanentry,an rshddisable commandisexecutedwithparameters
defining that entry.
The rshdflush command clearsthe rshserver configuration.
TheRSH server maybeconvenientlyusede.g.forperiodicreadingofarouter
statistics:
rsh-lmysecretuser RWR.domain.ruipstat get
Example:
rshd enable admin195.38.44.1mysecretuser
rshd enable root195.38.45.123 mysecret2
rshd start
11.Ipstatcommand(IP-statistics)
IP statisticsgathering module.
Syntax:
ipstat enable [items] |disable
ipstat clear |getclear
ipstat fixit|fixget|fixclear
ipstat strict|-strict
ipstat add [ifname] rule...
ipstat delN
ipstat traffic
Description:
TheIPstatisticsgatheringmoduleprovidesforcollectinginformationon
dataflowstraversing the router,for further analysisand/or for accounting.
Informationisaccumulatedintherouter'sRAMmemoryasaseriesofrecords
havingthree fields:sourceaddress, destinationaddress, number ofbytes
transferred.Bydefault,onlyoutgoingpacketsare counted,at themomentthey
are senttoaphysicalinterface.One record takes12bytes.
Themaximumnumber ofrecordsisspecifiedbytheitemsnumericparameter of
anipstat enableitemscommand;itshall notexceedthesizeofmemory
available.Bydefaultthenumber ofrecordsis1000; typicallyit'ssufficientfor
recording 15 to20 minutesofoperationofaclientunit.
Accumulatedinformationisdisplayedonthecurrentterminal(orrshsession)
using the following commands:
•ipstatgetclear -show and clear accumulatedstatisticalinfo
•ipstatclear -clear accumulated statisticalinfo
Amore reliablemethodofremotelygettingstatisticalinfoconsistsinusingthe
following commands:

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited.
12
•ipstatfixit -dumpsthecurrentlycollectedinfofromtherouter's
memoryintoanintermediatebuffer.Thememoryiscleared,and
continuesreceiving infoover again.
•ipstatfixget -showsthecontentofthedumpbuffer.Thiscommand
maybeexecutedanynumber oftimes,withnodamagetothedumped
statisticalinfo.
•ipstatfixclear -clearsthe temporarydump buffer
The listingofstatisticalinfoprovides:
•time elapsed since the previous"clear"operation
•number ofrecordseffectivelyused,and totalrecord space available
•number ofbyteslostdue torecord memoryoverflowlistofall records.
Iftherecordtableintherouter memoryoverflows, orifthere isnotenough
memorycurrentlyavailable,anappropriatewarningiswrittenintothesystem
log,andfurther statisticaldata are discarded.Ifenablestrictoptionhasbeen
specified,thenat theoverflowconditionthetransitroutingisdisabled,butthe
router still respondstoanyprotocol.
The ipstatadd [ifname] rule commandmakesitpossibletofilter packetsfor
statisticgathering,takingintoaccountonlythosepacketswhich satisfytherule.
The syntaxofthe "rule"parameter isthe same asdefined inthe ipfw command
description.
The ipstatdelN commanddeletestheN-thrulefromthelistofrules.
The ipstattraffic[XX] allowsforvisuallyinspecting statisticscollectionprocess
inrealtime.MaximumXX linesare displayed (23 bydefault),sortedaccordingto
data ratesofindividualdataflowsindecreasing order.
Thisisthescriptforthereliabledevicestatisticsreceivingwith rsh command
usage:
#!/usr/bin/perl -w
for(;;)
{
my $stat;
do
{
$stat =system("rsh -t 30 -n-l root IWR_IP
ips fixit >/dev/null");
if(int($stat) != 0) { sleep(5); }
} while (int($stat) != 0);
do
{
$stat =system("rsh -t 30 -n-l root IWR_IP
ips fixget >stat.tmp");
if(int($stat) != 0) { sleep(5); }
} while (int($stat) != 0);
do
{
$stat =system("rsh -t 30 -n-l root IWR_IP
ips fixclear >/dev/null");
if(int($stat) != 0) { sleep(5); }

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited.
13
} while (int($stat) != 0);
system("cat stat.tmp >>stat.txt");
sleep(300);
}
12.Aclcommand(Access ControlLists)
Access ControlLists.
Syntax:
acladd $NAMETYPEparams...
acldel$NAME[params...]
aclren$NAME1$NAME2
aclflush
Commanddescription
Whilenetworkplanningyoumayoftenneedtogroupsimilarparametersinlists
which canbeusedfordifferentfilters(e.g. ipfw, qm, ipstat).Accesscontrol
lists(ACL) caneffectivelysolve thisproblem.
acladd commandcreatesanaccesslistofNAMEtitleandTYPEtype.Lists
namesMUSTstartwith$symboland caninclude upto7letters, digitsand other
symolsexcludingspacesandsemicolon.Atthesametimethecommandcan
containseveralparametersofTYPEtypewhich willbeincludedinthelist.Ifthe
listwiththisname hasbeenalreadycreated listed parameterswillbe attached to
thislist.
acldel commanddeletesspecifiedparametersfromtheNAMElist.Ifnoneof
parametersare mentioned alllistwillbe deleted.
aclrename command changeslist'sname fromNAME1toNAME2.
aclflush command deletesall lists
Acceptedlisttypes (TYPE):
net -containsnetworkaddressesindotformat.
xxx.xxx.xxx.xxx or xxx.xxx.xxx.xxx/MASK_LENGTH or
xxx.xxx.xxx.xxx/xxx.xxx.xxx.xxx
Listsofnettypeoptimizetheirparametersbyexcludingduplicatesandbyhaving
thefeature that enablesbigger networksincludesmaller networks.Forexample,
ifthe listcontained 1.1.1.1parameter,whenyouinclude 1.1.1.0/24 parameter in
the list1.1.1.1will be excluded.
Example:
acladd $LIST1net10.0.0.0/8 192.168.0.0/165.5.5.5
acldel$LIST15.5.5.5
13.Sntpcommand
SNTP parametersmanagement.

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited.
14
SNTPsupportdevelopedinWANFlexletsthesystemtosynchronizethetime
withconfigured NTPserver using fourthversionofSNTP protocol RFC2030.
Clientworksinunicastserver requestmodeincertaintime range.
Syntax:
sntp [options] [command]
Commandsare the following:
•start -startservice
•stop -stop service
Optionsare the following:
•-server={ipaddr} -setsntp server address
•-interval={seconds} -specifypoll intervalinseconds
•-debug={on|off} -enable/disable debug information
Example:
sntp -interval=3600 -debug=on
sntp -server=9.1.1.1start
Commands:
•start
Make the process oftime synchronizationactive.
Example:
sntp start
•stop
Stop the process oftime synchronization.
Example:
sntp stop
Parameters:
Theparameterscanbesetusinganysequencewithorwithoutthecommand
itself.
•server
Using server parameter youcansetthe IP-address ofyour NTPserver.
Example:
sntp -server=9.1.1.1
•interval
Using interval parameter onecansetthetimevalue(inseconds)
defining client'speriodicityofNTPserver requesting.3600 bydeafult.
Example:
console>sntp -interval=5000
•debug
Thisparameter enables/disablesprintingofdebugginginformation
(packets) inthe systemlog ofWANFlexOS.

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited.
15
Example:
sntp -debug=on
sntp -debug=off
14.Date command
Date and time management.
ThiscommandshowsorsetsthedateandtimeinWANFlexsystem.While
settingthedateandtimenotonlykernelclockisbeingchangedbuthardware
clockchangesitsvalue either (ifthe devicesupportsthisfeature).
Syntax:
date [[[[[cc]yy]mm]dd]HH]MM[.ss]]
cc 19thor 20thcentury(isadded before Year)
yyYear inabbrevated form(i.e.89 for 1989,05 for 2005)
mm
Monthinnumericform(1to12)
dd Day(1to31)
HH
Hour (0to23)
MM
Minute (0to59)
ssSecond (0to61 -59 plusmaximumtwoleap seconds)
Example:
date 20040210053004
Tue Feb 10 05:30:04 2004
date
Tue Feb 10 05:30:10 2004

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited.
16
III.Layer2 commandsset– PHYandMAC
1. Rfconfigcommand(Radiointerface configuration)
The command isused toconfigure aradiomodule.
Syntax:
rfconfig if-name[sid identifier] [bitr speed] [freq frequency]
[[-]burst]
[[-]wocd]
[pwr power]
[[-]pwrctl]
[mod ofdm |CCK]
[rtsthreshold XXX]
[statistics]
[band full|half|quarter]
[capabilities]
[chntime XXX]
[[-]long]
[distance XXX |auto]
[[-]bcsid]
[txrtXXX ]
[txvrtXXX]
[noise XXX]
Attention:notallofradiointerfaceshavethesamesetofparametersand
optionsbecauseitdependsonthetypeandstandardoftheradiomodule.A
completelistofparametersavailableforthespecificinterfacecanbedisplayed
using"rfifname ?"command.Radiomoduletypeanditsfeatureslistare
displayed by"rfifname cap"command.
Description:
Setsparametersofaradiomodulespecifiedbythe if-name (nameofthe
radiointerface) parameter,ordisplaysthemifexecutedwithoutanyoptional
parameter.Optionalparametersare asfollows:
•sid:systemidentifier oftherouter,ahexadecimalnumber intherange
of1HtoFFFFFFH.All routersthat are supposed tosee each other onthe
same radiolinkmusthave the sameidentifier.
•bitr:the bittransfer rate (inKbit/s) ofthe radiolink.Allowed valuesare:
oFor CKKmode:11000,5500,2000,1000 Kbit/s
oForOFDMmode:6000,9000,12000,18000,24000,36000,
48000,54000 Kbit/s.
The maximumbitrateislimited bythe specificmodel.
Iftherouter isconfiguredasaBSand autobitrate modeisturnedon,`
thisparameter willspecifythe maximumtransmittingspeed for the BS.
•freq:theradiolinkfrequency(inMHz)
Thelistofallowed frequenciescanbeobtainedbyexecuting"rfif-
name cap"command.

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited.
17
•burst:enablestheBURSTprotocol.“-burst”disablestheBURST
protocolsupport.Initialsetting is“-burst”.
BURSTprotocolconsistsingroupingseveralshortpacketswiththesame
destinationaddress onaradiolinkintolarger packets, thuscardinally
decreasing the response time for applicationsgenerating streamsofshort
packets. Burstenablingrelatestoaradiointerfaceasawhole,and
meansonlythat youwanttousethismode inthisdevice;buttheBURST
protocolcanonlyworkfordestinationswhere itisalso enabledat the
other end,and onlyifthe RMA protocolisused at bothsides.
Burstenablingdoesnotinduceanychangesintheworkofotherdevices
inthenetwork.TheBURSTprotocolreachesitsmaximalefficiencyon
highthroughputpoint-to-point"backbone"linkswith ptp mode enabled.
SomestatisticsaboutBURSTprotocolcanbeviewedbyusingthe muf
stat command.
•wocd:disablescarrier senseontheradiointerfacewhensendingdata
packets(for2Mbit/sradiomodulesonly).Mayonlybeusedonabase
stationworkinginWMA(WirelessMarker Access)mode.Reducesthe
number ofretransmittedpackets,thusincreasingeffectivethroughputof
amultipointradiolink."-vocd"re-enablesthestandardmechanismof
permanentcarrier sense.Initialsettingis"-vocd"(carrier sense
enabled).
•pwr:setstheemittingpower ofatransmitter(inmilliwatts).
Thevaluesofacceptabletrasmitpowerlevelscanvarydependingonthe
typeofradiomoduleinstalled.Thefulllistofacceptabletrasmitpower
levelsisavailablebyusing"rfif-name capabilitites"command.Ifthe
valueenteredisinvalidthesystemwill automaticallysetaminimal
adjacentvalue.
•band{full|half|quarter}
Thisoptionallowschoosingthechannelwidthfortransmitting. Full
means20 MHz, half –10 MHz, quarter –5MHz. UnitsinonePTPor
PTMconnectionmusthave thesame channelwidth.Example:
rfrf4.0bandhalf
•pwrctl:enablesauthomaticmanagementoftransmitter'semitting
power.Thismodeisrecommendedforuseinsubscriber unitswithCisco
350 modules(withextendedrangeofpowermanagement),
communicatingwithabasestation(BS)havingtwoantennas
(RWR3513)andthe antennadiversity optionenabled.Insuch acase,
theSM willtrytomaintainoptimaltransmittingpower (delivering
amplitudevalues4to7at thereceivingBS),thusprovidingareliable
receptionofthe SM'spacketsbythe BS,while excluding spuriousactions
ofBSantennaselectionat theSM.Thismechanism willnotwork
properlyifusing externalamplifiers.
•chntime.ChannelBurstTime.Thetimefortheunittooccupytheradio
channel.Bydefault–0(dynamic,isnotdisplayedintheconfiguration).
Setinmicroseconds. RecommendedvalueforPTPlinks–5000 (20 MHz
channelwidth)
•mod:setsthemodulationtechniquefortheradio.For5-6GHzradios
OFDMmodeisalwaysturnedon.For2.4GHzradios both cck and ofdm
modesare available:
occk
oofdm
Devicesthathavedifferentmodulationcannotworkwitheach
other.

InfiNetWireless Router WANFlexOS UserManual
Copyright ©2004-2007 byInfiNetWireless Limited.
18
•rtsthreshold:setsthemaximumpacketlength(inbytes),after which
theRTS/CTSVirtualCarrier Sensemechanism(i.e.radiochannel
reservation) istobe used.Defaultvalueis2048.
•statistics:displayscurrentvaluesoftheradiomodule'sstatisticswith1
secinterval.
Belowtablesshow"rfconfigstat"commandoutputfor5GHzand
2.4GHzdevices
"rfstat"outputfor 5GHzdevicesdescription
Parameter
Description
Broadcastrate
Currentbitrate value for Broadcastand Multicast
packetsontheBS;dependsuponthespeedof
the slowestCPE
Voice Mode
ON/OFF value.IfturnedON,themodeoftheir
prioritized processing isturned on
BytesReceivedNumber ofreceived bytesincluding headers
BytesTransmittedNumber oftransmitted bytesincluding headers
PacketsReceived OKNumber ofcorrectlyreceived packets
PacketsTransmittedOK Number ofcorrectlytransmitted packets
Duplicate Received
Number ofduplicatepacketsreceiveddueto
protocolexcesses
TotalRetries
Totalnumber ofretries
FIFOOverrun
Number ofFIFOqueuesoverrunsintheradio
whenreceiving
FIFOUnderrun Number ofFIFOqueu
esunderrunsintheradio
while transmitting
CRCErrorsNumber ofreceived packetswithCRCerrors
Ex essiveRetries
Number ofpacketswhich were nottransmitted
withmaximalnumber ofretries
Noise FloorInputnoiselevel.Measurementcycle–
10
seconds
Noise FloorThreshold Noise FloorThreshold for Carrier Detect
"rfstat"commandoutputfor 2.4GHz devices
Parameter
Description
BeaconsReceivednumber ofreceived service packets(notused)
BeaconsTransmitted
Number oftransmittedservicepackets(not
used)
AckPacketsTransmitted
Number oftransmittedacknowledgement
packets
RTSPacketsTransmitted
Number ofRTSpacketstransmitted
CTSPacketsTransmittedNumber ofCTSpacketstransmitted
PLCP CRCErrorsCRCerrorscounter
Other manuals for R5000 series
5
Table of contents
Other InfiNet Wireless Router manuals