• 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
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"
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.
# - 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
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