Upgrade to Pro — share decks privately, control downloads, hide ads and more …

ByteBlower 4100 setting

ChenChih
October 23, 2017

ByteBlower 4100 setting

THis is a easy tutorialand setting of Excentis byteblower 4100

ChenChih

October 23, 2017
Tweet

More Decks by ChenChih

Other Decks in Technology

Transcript

  1. Topic • Part 1: Sending a normal traffic(GUI) • Part

    2: RF2544 throughput setting API(TCL) Note: May 2017 will release RFC2544 GUI version
  2. 3. Port Setting(2/3) • Change the setting as below (Name

    of the interface, mac, ip address, NAT)
  3. 4. Frame(1/2) • ByteBlower used Frame size without CRC. CRC

    is 4 byte. Note: GUI : Without CRC RFC2544-API Tcl : with CRC
  4. 5. Frame blasting(2/2) • (1)Rename the name for flow temp

    • (2) Add frame • (3) Edit the size of the frame
  5. 6. Flow • Add two flow, US and DS •

    Rename and select the correct Flow template
  6. 8 Batch To run Multiple scenario • Select batch and

    add new to create new batch • Create 3 action, and select 3 scenario
  7. API-TCL Script install • 1) Install ByteBlower-API-Tcl-windows-x86- installer.exe this tool

    • 2) Download API TCL Script: TCL script location: – http://jira.hc.hitrontech.com:8080/browse/SCS-17 • 3) Put the scipt in the example directory of the ByteBlower-API. – C:\Program Files (x86)\Excentis\ByteBlowerTcl\examples
  8. RFC-2544 • Back to back frames (b2b frames) – b2b.tcl

    – b2b.algo.tcl • Throughput – throughput.tcl – Throughput.algo.tcl • Latency – latency.tcl – latency.algo.tcl • FrameLoss – frameloss.tcl – Frameloss.algo.tcl
  9. Modify the script Variable description • Port setting – set

    physicalPort1 trunk-1-X – set physicalPort2 trunk-1-X • Ip setting – set srcPerformDhcp (1 for static , 0 for dhcp) – set srcIpAddress1 "192.168.140.X" – set srcIpAddress1 "192.168.140.X" – set srcNetmask1 "255.255.255.0"
  10. Modify the script Variable description • Frame Size setting –

    set frameSize • This variable configures the initial framerate. It controls how fast the packets are transmitted by the ByteBlower. Ex: 1518 – set initialFrameRate • Initial frame rate (in fps) to use in the first iteration of the test. Ex:10000 – set factor • This variable is configures how quick the test changes the frame rates. On each iteration of the test, the rate is changed with this factor. Ex: 0.2, 0.1 – set acceptableLoss • Percentage of (occasional) loss that is accepted to be fine. Ex: 0.01 – set testTime • Duration of the transmitted stream (for each iteration) – set maxTestIterations • After reaching this number of iterations, the test will stop. – set timetowait • This variable configures the time between iterations. On each iteration the ByteBlower sends a number of packets. After these packets, it will wait for some time.
  11. Modify the script Throughtput.tcl(RG mode) • Port setting DS US

    set physicalPort1 trunk-1-1 set physicalPort2 trunk-1-2 set physicalPort1 trunk-1-2 set physicalPort2 trunk-1-1
  12. Modify the script Throughtput.tcl(RG mode) DS US set srcPerformDhcp1 0

    # - else use static IPv4 Configuration set destIpAddress1 "192.168.140.110" set destNetmask1 "255.255.255.0" set destIpGW1 "192.168.140.249" # --- Back-To-Back Destination Port Layer3 Configuration # - Set to 1 if you want to use DHCP set destPerformDhcp1 0 # - else use static IPv4 Configuration set srcIpAddress1 "192.168.0.110" set srcNetmask1 "255.255.255.0" set srcIpGW1 "192.168.0.1" set srcPerformDhcp1 0 # - else use static IPv4 Configuration set srcIpAddress1 "192.168.0.110" set srcNetmask1 "255.255.255.0" set srcIpGW1 "192.168.0.1" # --- Back-To-Back Destination Port Layer3 Configuration # - Set to 1 if you want to use DHCP set destPerformDhcp1 0 # - else use static IPv4 Configuration set destIpAddress1 "192.168.140.110" set destNetmask1 "255.255.255.0" set destIpGW1 "192.168.140.249" • Ip Setting for wan and lan
  13. NAT • For US used 2 • For DS used

    1 • For No Nat used 0
  14. Modify the script Throughtput.tcl(RG mode) DS US set frameSize 1514

    set initialFrameRate 10000 set factor 0.2 set acceptableLoss 0.1 set testTime 4 set maxTestIterations 300 set timetowait 5000 set interfaceLimit 999960000 set NAT 1 set frameSize 1514 set initialFrameRate 10000 set factor 0.2 set acceptableLoss 0.1 set testTime 4 set maxTestIterations 300 set timetowait 5000 set interfaceLimit 999960000 set NAT 2 • Frame size and NAT
  15. Modify the script Throughtput.tcl(RG mode) • Set NAT – Add

    set Nat 1 to enable • NAT 1 enable, 0 disable – Add $NAT variable
  16. US A: 1+Factor B:FrameRate+A C=A X B C=Iteration 1 Iteration

    1:12000 Iteration 2:14400 Iteration 3:17280 Iteration 4-1:20736 ==>loss Iteration 4-2:22809 ==>20736/10=2073.6==>2073.6+20736=22809 New frame: I3, 345.6 ==>(I4-I3)/10 Iteration 5:17625.6 ==>(I3+345.6)or (17280+345.6) Iteration 6:17971.2==>(I5+345.6) or (17280+345.6) new frame I5, 34.56==>(l6-l5)/10 or (17971.2- 17971.2)/10 Iteration 7:17971.2==>(17625.6+34.56) new frame: I5, 3.456==>(I7-l5)/10 or (17971.2- 17625.6)/10
  17. DS