Sei sulla pagina 1di 10

XenaNetworksApS

201008

GettingStartedwithRFC2544testing
August2010

Page1

XenaNetworksApS

201008

Installation
ThisnoteexplainshowtogetstartedwiththeMSExcelbasedRFC2544testsuitefortheXenatest platform. TheRFC2544testsuiterequiresaPCwithaWindowsXP,WindowsVista,orWindows7operatingsystem withaMSExcel2003ornewerversion. TheRFC2544isimplementedinaMSExcelworksheetusingtheVisualBasicforApplications(VBA) programminglanguagewhichisanintegralpartofMSExcel. 1. Openthexena_rfc2544_vxx.xlsfile 2. WhenExcelopens,clicktheOptionsbuttonstoenabletheVBAprogrammingoftheRFC2544 testsuite:

Page2

XenaNetworksApS

201008

3.

SelectEnablethiscontent,andpressOK:

Byselectingthedirectoryofthexena_rfc2544_vxx.xlsfileasasecurelocation,youcanavoidthis

Page3

XenaNetworksApS

201008

securitywarningthenexttimeyouopentheExcelworkbook,byfollowingthefollowingsteps:

4.

TheRFC2544worksheetshouldnowbeopen,andenabledforrunningtheRFC2544testsuite, andyourExcelscreenviewshouldlooklikethis:

Page4

XenaNetworksApS

201008

Page5

XenaNetworksApS

201008

RunningtheRFC2544test
WorksheetConnectsetup
Beforeyoucanbeginrunningtests(seeFigure1): PhysicallyconnectyourPCtoaXenachassisusinganEthernetconnection. SetupXenachassisandportconnectionsintheExcelworksheetConnect EstablishaconnectiontoaXenachassisfromtheExcelworksheetConnect ConnecttheXenatestportstoaDUT/SUT.

Figure1Connect Specifythetestportconfigurations(seeFigure2: SettheIPaddressofthetestport,iftestingistobeperformedatL3 Fortrispeedports,setthespeedmodetoAUTO(default),orforced10/100/1000Mbit/s

Figure2TestPortConfiguration

WorksheetTestCfgsetup
Usedefaultsettings,ormanuallyspecifythetestparametersfortheRFC2544tests(seeFigure3): Setthepacketsize Setgloballearningpacketsettings Setthetrialdurationperiod,pertest Settherateswhicharetobetestedfrommintomax,specifythestepvalue,andsetCustom TestPlan=No).Or,selectCustomTestPlan=Yes,andspecifytherangeofratestobetested foreachindividualpacketsizeintheTestPlanworksheet.

Page6

XenaNetworksApS

201008

Figure3TestConfiguration

Page7

XenaNetworksApS

201008

WorksheetTestPlansetup
AnexampletestplanisshowninFigure4,whereIEEEstandardpacketsizesaresetuptobetested.

Figure4CustomTestPlan

WorksheetTestPairssetup
Thefinaltestconfigurationstepistospecifytheporttestpairs.Atestpairdefinesunidirectionaltraffic flowfromasourcetoadestinationtestport.Anexampleofabidirectionaltestbetweentestport0and testport1isshowninFigure5.TestpairscanonlybedefinedbetweenEAST/WEST,whereEAST/WEST aregroupsoftestportsasdefinedbytheuseronsheetConnect

Figure5TestPairDefinitions Specifyforeachtestpairthecontentanddefinitionofthepacketheaders.Sixpredefinedheadertypes canbeselected:Ethernet,EthernetwithVLANtag,EthernetwithstackedVLANtag(QinQ),Ethernet withIPv4,EthernetwithVLANtagandIPv4,andEthernetwithstackedVLANtag(QinQ)andIPv4. Thepredefinedheaderdefinitionsarespecifiedintheheadertemplatesection(seeFigure6),andare madeupfromacombinationofabsolutehexnumbersandfieldmnemonicswhichareautomatically convertedintotheircorrespondingabsolutevaluewhichisshownnexttotheheadertemplateselection field.

Figure6HeaderTemplates

Page8

XenaNetworksApS

201008

RunWorksheetRun.Throughput/Loss/Latency/Backtoback
Finally,tostartthetests,pushtheSTARTorSTARTALLbuttonineithertheRun.Throughput,Run.Loss, Run.Latency,orRun.Backtobacksheet(seeFigure7).

Figure7Startthetesting

ViewTestResultsSummaryReportsandCharts
Iftestingcompletessuccessfully,reviewresultsintheResultsandChartssheets.Thesheetarealways automaticallyupdatedbefore/afterthatuserstartatest(s).

Figure8SampleTestReport

Page9

XenaNetworksApS

201008

Figure9SampleTestResultChart

Page10

Potrebbero piacerti anche