Round-Robin
These scenarios cover some aspects related to link-aggregation (combining multiple network connections simultaneously to increase throughput, provide redundancy, or both). In OSDx, this can be achieved through bonding interfaces.
Test Round-Robin
Description
A bonding interface is configured in DUT0 using the round-robin mode. This mode can be used to achieve load-balancing.
Scenario
Example 1
Step 1: Set the following configuration in DUT0 :
set interfaces bonding bond0 address 192.168.100.10/24 set interfaces bonding bond0 miimon 100 set interfaces bonding bond0 mode round-robin set interfaces ethernet eth0p0 bond-group bond0 set interfaces ethernet eth1 bond-group bond0 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 2: Set the following configuration in DUT1 :
set interfaces bridge br0 address 192.168.100.20/24 set interfaces bridge br0 stp version rstp set interfaces ethernet eth0 bridge-group bridge br0 set interfaces ethernet eth2 bridge-group bridge br0 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 3: Run command interfaces bonding show at DUT0 and check if output matches the following regular expressions:
bond0\s+192.168.100\.10\/24\s+up\s+upShow output
--------------------------------------------------------------- Name IP Address Admin Oper Vrf Description --------------------------------------------------------------- bond0 192.168.100.10/24 up up fe80::2a0:26ff:fe16:16/64
Step 4: Run command interfaces bonding bond0 show ports at DUT0 and check if output contains the following tokens:
Bonding Mode: load balancing (round-robin)Show output
Ethernet Channel Bonding Driver: v6.12.20 Bonding Mode: load balancing (round-robin) MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 Peer Notification Delay (ms): 0 Slave Interface: eth1 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:a0:26:16:00:16 Slave queue ID: 0 Slave Interface: eth0p0 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:a0:26:16:00:15 Slave queue ID: 0
Step 5: Ping IP address 192.168.100.20 from DUT0:
admin@DUT0$ ping 192.168.100.20 count 1 size 56 timeout 1Show output
PING 192.168.100.20 (192.168.100.20) 56(84) bytes of data. 64 bytes from 192.168.100.20: icmp_seq=1 ttl=64 time=0.682 ms --- 192.168.100.20 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.682/0.682/0.682/0.000 ms
Step 6: Run command interfaces ethernet clear at DUT0.
Step 7: Initiate a bandwidth test from DUT0 to DUT1
admin@DUT1$ monitor test performance server port 5001 admin@DUT0$ monitor test performance client 192.168.100.20 duration 5 port 5001 parallel 10Expect this output in
DUT0:Connecting to host 192.168.100.20, port 5001 [ 5] local 192.168.100.10 port 48086 connected to 192.168.100.20 port 5001 [ 7] local 192.168.100.10 port 48094 connected to 192.168.100.20 port 5001 [ 9] local 192.168.100.10 port 48100 connected to 192.168.100.20 port 5001 [ 11] local 192.168.100.10 port 48116 connected to 192.168.100.20 port 5001 [ 13] local 192.168.100.10 port 48130 connected to 192.168.100.20 port 5001 [ 15] local 192.168.100.10 port 48144 connected to 192.168.100.20 port 5001 [ 17] local 192.168.100.10 port 48156 connected to 192.168.100.20 port 5001 [ 19] local 192.168.100.10 port 48170 connected to 192.168.100.20 port 5001 [ 21] local 192.168.100.10 port 48178 connected to 192.168.100.20 port 5001 [ 23] local 192.168.100.10 port 48194 connected to 192.168.100.20 port 5001 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 10.6 MBytes 88.6 Mbits/sec 66 84.8 KBytes [ 7] 0.00-1.00 sec 7.67 MBytes 64.4 Mbits/sec 50 21.2 KBytes [ 9] 0.00-1.00 sec 3.45 MBytes 28.9 Mbits/sec 23 32.5 KBytes [ 11] 0.00-1.00 sec 3.79 MBytes 31.8 Mbits/sec 27 32.5 KBytes [ 13] 0.00-1.00 sec 2.87 MBytes 24.1 Mbits/sec 24 22.6 KBytes [ 15] 0.00-1.00 sec 3.79 MBytes 31.8 Mbits/sec 21 59.4 KBytes [ 17] 0.00-1.00 sec 5.19 MBytes 43.5 Mbits/sec 16 60.8 KBytes [ 19] 0.00-1.00 sec 5.21 MBytes 43.7 Mbits/sec 24 39.6 KBytes [ 21] 0.00-1.00 sec 3.77 MBytes 31.6 Mbits/sec 32 22.6 KBytes [ 23] 0.00-1.00 sec 4.62 MBytes 38.7 Mbits/sec 23 26.9 KBytes [SUM] 0.00-1.00 sec 50.9 MBytes 427 Mbits/sec 306 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 1.00-2.00 sec 6.77 MBytes 56.8 Mbits/sec 72 28.3 KBytes [ 7] 1.00-2.00 sec 3.36 MBytes 28.1 Mbits/sec 27 26.9 KBytes [ 9] 1.00-2.00 sec 4.60 MBytes 38.6 Mbits/sec 25 32.5 KBytes [ 11] 1.00-2.00 sec 4.54 MBytes 38.1 Mbits/sec 44 42.4 KBytes [ 13] 1.00-2.00 sec 3.11 MBytes 26.1 Mbits/sec 23 53.7 KBytes [ 15] 1.00-2.00 sec 6.15 MBytes 51.6 Mbits/sec 40 43.8 KBytes [ 17] 1.00-2.00 sec 6.03 MBytes 50.6 Mbits/sec 96 28.3 KBytes [ 19] 1.00-2.00 sec 5.16 MBytes 43.3 Mbits/sec 28 46.7 KBytes [ 21] 1.00-2.00 sec 4.04 MBytes 33.9 Mbits/sec 33 45.2 KBytes [ 23] 1.00-2.00 sec 4.72 MBytes 39.6 Mbits/sec 30 46.7 KBytes [SUM] 1.00-2.00 sec 48.5 MBytes 407 Mbits/sec 418 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 2.00-3.00 sec 4.47 MBytes 37.5 Mbits/sec 12 41.0 KBytes [ 7] 2.00-3.00 sec 7.89 MBytes 66.2 Mbits/sec 18 77.8 KBytes [ 9] 2.00-3.00 sec 4.85 MBytes 40.7 Mbits/sec 21 50.9 KBytes [ 11] 2.00-3.00 sec 4.78 MBytes 40.1 Mbits/sec 18 33.9 KBytes [ 13] 2.00-3.00 sec 4.23 MBytes 35.4 Mbits/sec 28 35.4 KBytes [ 15] 2.00-3.00 sec 4.47 MBytes 37.5 Mbits/sec 24 26.9 KBytes [ 17] 2.00-3.00 sec 4.60 MBytes 38.6 Mbits/sec 19 33.9 KBytes [ 19] 2.00-3.00 sec 4.47 MBytes 37.5 Mbits/sec 16 31.1 KBytes [ 21] 2.00-3.00 sec 5.03 MBytes 42.2 Mbits/sec 24 42.4 KBytes [ 23] 2.00-3.00 sec 4.29 MBytes 36.0 Mbits/sec 29 33.9 KBytes [SUM] 2.00-3.00 sec 49.1 MBytes 412 Mbits/sec 209 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 3.00-4.00 sec 4.85 MBytes 40.7 Mbits/sec 9 62.2 KBytes [ 7] 3.00-4.00 sec 6.96 MBytes 58.4 Mbits/sec 22 26.9 KBytes [ 9] 3.00-4.00 sec 5.41 MBytes 45.4 Mbits/sec 36 36.8 KBytes [ 11] 3.00-4.00 sec 3.91 MBytes 32.8 Mbits/sec 21 36.8 KBytes [ 13] 3.00-4.00 sec 4.54 MBytes 38.1 Mbits/sec 22 21.2 KBytes [ 15] 3.00-4.00 sec 4.29 MBytes 36.0 Mbits/sec 13 36.8 KBytes [ 17] 3.00-4.00 sec 4.23 MBytes 35.4 Mbits/sec 18 36.8 KBytes [ 19] 3.00-4.00 sec 3.36 MBytes 28.1 Mbits/sec 20 21.2 KBytes [ 21] 3.00-4.00 sec 4.60 MBytes 38.6 Mbits/sec 24 56.6 KBytes [ 23] 3.00-4.00 sec 4.54 MBytes 38.1 Mbits/sec 19 32.5 KBytes [SUM] 3.00-4.00 sec 46.7 MBytes 391 Mbits/sec 204 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 4.00-5.00 sec 12.4 MBytes 104 Mbits/sec 10 76.4 KBytes [ 7] 4.00-5.00 sec 8.26 MBytes 69.3 Mbits/sec 23 53.7 KBytes [ 9] 4.00-5.00 sec 12.0 MBytes 101 Mbits/sec 5 134 KBytes [ 11] 4.00-5.00 sec 9.63 MBytes 80.8 Mbits/sec 27 70.7 KBytes [ 13] 4.00-5.00 sec 8.33 MBytes 69.8 Mbits/sec 15 65.0 KBytes [ 15] 4.00-5.00 sec 6.90 MBytes 57.9 Mbits/sec 11 94.7 KBytes [ 17] 4.00-5.00 sec 8.02 MBytes 67.2 Mbits/sec 6 72.1 KBytes [ 19] 4.00-5.00 sec 5.97 MBytes 50.0 Mbits/sec 10 72.1 KBytes [ 21] 4.00-5.00 sec 8.20 MBytes 68.8 Mbits/sec 13 99.0 KBytes [ 23] 4.00-5.00 sec 8.58 MBytes 71.9 Mbits/sec 13 105 KBytes [SUM] 4.00-5.00 sec 88.3 MBytes 741 Mbits/sec 133 - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-5.00 sec 39.1 MBytes 65.6 Mbits/sec 169 sender [ 5] 0.00-5.01 sec 38.3 MBytes 64.2 Mbits/sec receiver [ 7] 0.00-5.00 sec 34.1 MBytes 57.3 Mbits/sec 140 sender [ 7] 0.00-5.01 sec 33.3 MBytes 55.7 Mbits/sec receiver [ 9] 0.00-5.00 sec 30.3 MBytes 50.8 Mbits/sec 110 sender [ 9] 0.00-5.01 sec 29.5 MBytes 49.4 Mbits/sec receiver [ 11] 0.00-5.00 sec 26.7 MBytes 44.7 Mbits/sec 137 sender [ 11] 0.00-5.01 sec 26.0 MBytes 43.6 Mbits/sec receiver [ 13] 0.00-5.00 sec 23.1 MBytes 38.7 Mbits/sec 112 sender [ 13] 0.00-5.01 sec 22.5 MBytes 37.7 Mbits/sec receiver [ 15] 0.00-5.00 sec 25.6 MBytes 42.9 Mbits/sec 109 sender [ 15] 0.00-5.01 sec 25.1 MBytes 42.1 Mbits/sec receiver [ 17] 0.00-5.00 sec 28.1 MBytes 47.1 Mbits/sec 155 sender [ 17] 0.00-5.01 sec 27.5 MBytes 46.0 Mbits/sec receiver [ 19] 0.00-5.00 sec 24.2 MBytes 40.5 Mbits/sec 98 sender [ 19] 0.00-5.01 sec 23.8 MBytes 39.8 Mbits/sec receiver [ 21] 0.00-5.00 sec 25.6 MBytes 43.0 Mbits/sec 126 sender [ 21] 0.00-5.01 sec 25.2 MBytes 42.2 Mbits/sec receiver [ 23] 0.00-5.00 sec 26.7 MBytes 44.9 Mbits/sec 114 sender [ 23] 0.00-5.01 sec 26.3 MBytes 44.1 Mbits/sec receiver [SUM] 0.00-5.00 sec 283 MBytes 476 Mbits/sec 1270 sender [SUM] 0.00-5.01 sec 278 MBytes 465 Mbits/sec receiver iperf Done.
Step 8: Run command interfaces ethernet show counters at DUT0 and check if output matches the following regular expressions:
eth1 \s+up\s+\d+\s+\d+\s+0\s+\d{2,} eth0p0 \s+up\s+\d+\s+\d+\s+0\s+\d{2,}Show output
------------------------------------------------------------------------------- Name Oper Rx Packets Rx Bytes Rx Errors Tx Packets Tx Bytes Tx Errors ------------------------------------------------------------------------------- eth0p0 up 34353 2336430 0 101877 154199645 0 eth0p1 down 0 0 0 0 0 0 eth0p2 down 0 0 0 0 0 0 eth0p3 down 0 0 0 0 0 0 eth0p4 down 0 0 0 0 0 0 eth0p5 down 0 0 0 0 0 0 eth0p6 down 0 0 0 0 0 0 eth0p7 down 0 0 0 0 0 0 eth1 up 36628 2486146 0 101638 153831008 0 eth2 down 0 0 0 0 0 0
Example 2
Step 1: Set the following configuration in DUT0 :
set interfaces bonding bond0 address 192.168.100.10/24 set interfaces bonding bond0 miimon 100 set interfaces bonding bond0 mode round-robin set interfaces ethernet eth0p0 bond-group bond0 set interfaces ethernet eth0p1 bond-group bond0 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 2: Set the following configuration in DUT1 :
set interfaces bridge br0 address 192.168.100.20/24 set interfaces bridge br0 stp version rstp set interfaces ethernet eth2 bridge-group bridge br0 set interfaces ethernet eth3 bridge-group bridge br0 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 3: Run command interfaces bonding show at DUT0 and check if output matches the following regular expressions:
bond0\s+192.168.100\.10\/24\s+up\s+upShow output
-------------------------------------------------------------- Name IP Address Admin Oper Vrf Description -------------------------------------------------------------- bond0 192.168.100.10/24 up up fe80::a0:26ff:fe16:15/64
Step 4: Run command interfaces bonding bond0 show ports at DUT0 and check if output contains the following tokens:
Bonding Mode: load balancing (round-robin)Show output
Ethernet Channel Bonding Driver: v6.12.20 Bonding Mode: load balancing (round-robin) MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 Peer Notification Delay (ms): 0 Slave Interface: eth0p1 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 02:a0:26:16:00:15 Slave queue ID: 0 Slave Interface: eth0p0 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:a0:26:16:00:15 Slave queue ID: 0
Step 5: Ping IP address 192.168.100.20 from DUT0:
admin@DUT0$ ping 192.168.100.20 count 1 size 56 timeout 1Show output
PING 192.168.100.20 (192.168.100.20) 56(84) bytes of data. 64 bytes from 192.168.100.20: icmp_seq=1 ttl=64 time=0.611 ms --- 192.168.100.20 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.611/0.611/0.611/0.000 ms
Step 6: Run command interfaces ethernet clear at DUT0.
Step 7: Initiate a bandwidth test from DUT0 to DUT1
admin@DUT1$ monitor test performance server port 5001 admin@DUT0$ monitor test performance client 192.168.100.20 duration 5 port 5001 parallel 10Expect this output in
DUT0:Connecting to host 192.168.100.20, port 5001 [ 5] local 192.168.100.10 port 39738 connected to 192.168.100.20 port 5001 [ 7] local 192.168.100.10 port 39752 connected to 192.168.100.20 port 5001 [ 9] local 192.168.100.10 port 39760 connected to 192.168.100.20 port 5001 [ 11] local 192.168.100.10 port 39770 connected to 192.168.100.20 port 5001 [ 13] local 192.168.100.10 port 39774 connected to 192.168.100.20 port 5001 [ 15] local 192.168.100.10 port 39780 connected to 192.168.100.20 port 5001 [ 17] local 192.168.100.10 port 39792 connected to 192.168.100.20 port 5001 [ 19] local 192.168.100.10 port 39798 connected to 192.168.100.20 port 5001 [ 21] local 192.168.100.10 port 39800 connected to 192.168.100.20 port 5001 [ 23] local 192.168.100.10 port 39808 connected to 192.168.100.20 port 5001 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 10.0 MBytes 83.9 Mbits/sec 73 48.1 KBytes [ 7] 0.00-1.00 sec 6.43 MBytes 53.9 Mbits/sec 37 41.0 KBytes [ 9] 0.00-1.00 sec 42.4 MBytes 355 Mbits/sec 341 86.3 KBytes [ 11] 0.00-1.00 sec 6.36 MBytes 53.4 Mbits/sec 48 25.5 KBytes [ 13] 0.00-1.00 sec 5.57 MBytes 46.7 Mbits/sec 32 46.7 KBytes [ 15] 0.00-1.00 sec 5.41 MBytes 45.3 Mbits/sec 44 41.0 KBytes [ 17] 0.00-1.00 sec 5.85 MBytes 49.1 Mbits/sec 59 24.0 KBytes [ 19] 0.00-1.00 sec 5.91 MBytes 49.6 Mbits/sec 45 52.3 KBytes [ 21] 0.00-1.00 sec 6.65 MBytes 55.8 Mbits/sec 42 41.0 KBytes [ 23] 0.00-1.00 sec 10.5 MBytes 88.2 Mbits/sec 51 48.1 KBytes [SUM] 0.00-1.00 sec 105 MBytes 881 Mbits/sec 772 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 1.00-2.00 sec 4.72 MBytes 39.6 Mbits/sec 15 55.1 KBytes [ 7] 1.00-2.00 sec 6.52 MBytes 54.7 Mbits/sec 7 69.3 KBytes [ 9] 1.00-2.00 sec 7.50 MBytes 62.9 Mbits/sec 22 19.8 KBytes [ 11] 1.00-2.00 sec 4.85 MBytes 40.7 Mbits/sec 15 38.2 KBytes [ 13] 1.00-2.00 sec 5.90 MBytes 49.5 Mbits/sec 22 36.8 KBytes [ 15] 1.00-2.00 sec 7.58 MBytes 63.6 Mbits/sec 14 59.4 KBytes [ 17] 1.00-2.00 sec 6.77 MBytes 56.8 Mbits/sec 8 73.5 KBytes [ 19] 1.00-2.00 sec 6.21 MBytes 52.1 Mbits/sec 25 25.5 KBytes [ 21] 1.00-2.00 sec 7.77 MBytes 65.2 Mbits/sec 17 55.1 KBytes [ 23] 1.00-2.00 sec 5.22 MBytes 43.8 Mbits/sec 22 50.9 KBytes [SUM] 1.00-2.00 sec 63.1 MBytes 529 Mbits/sec 167 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 2.00-3.00 sec 7.39 MBytes 62.0 Mbits/sec 7 56.6 KBytes [ 7] 2.00-3.00 sec 7.89 MBytes 66.2 Mbits/sec 19 43.8 KBytes [ 9] 2.00-3.00 sec 5.00 MBytes 41.9 Mbits/sec 12 56.6 KBytes [ 11] 2.00-3.00 sec 6.15 MBytes 51.6 Mbits/sec 23 76.4 KBytes [ 13] 2.00-3.00 sec 6.03 MBytes 50.6 Mbits/sec 20 56.6 KBytes [ 15] 2.00-3.00 sec 4.97 MBytes 41.7 Mbits/sec 29 33.9 KBytes [ 17] 2.00-3.00 sec 5.59 MBytes 46.9 Mbits/sec 29 46.7 KBytes [ 19] 2.00-3.00 sec 5.84 MBytes 49.0 Mbits/sec 29 49.5 KBytes [ 21] 2.00-3.00 sec 5.47 MBytes 45.9 Mbits/sec 54 62.2 KBytes [ 23] 2.00-3.00 sec 6.77 MBytes 56.8 Mbits/sec 16 59.4 KBytes [SUM] 2.00-3.00 sec 61.1 MBytes 513 Mbits/sec 238 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 3.00-4.00 sec 7.21 MBytes 60.5 Mbits/sec 18 79.2 KBytes [ 7] 3.00-4.00 sec 5.78 MBytes 48.5 Mbits/sec 16 53.7 KBytes [ 9] 3.00-4.00 sec 5.00 MBytes 41.9 Mbits/sec 26 35.4 KBytes [ 11] 3.00-4.00 sec 6.65 MBytes 55.8 Mbits/sec 22 41.0 KBytes [ 13] 3.00-4.00 sec 8.26 MBytes 69.3 Mbits/sec 18 72.1 KBytes [ 15] 3.00-4.00 sec 7.27 MBytes 61.0 Mbits/sec 28 53.7 KBytes [ 17] 3.00-4.00 sec 6.71 MBytes 56.3 Mbits/sec 7 53.7 KBytes [ 19] 3.00-4.00 sec 7.27 MBytes 61.0 Mbits/sec 12 86.3 KBytes [ 21] 3.00-4.00 sec 6.34 MBytes 53.2 Mbits/sec 27 63.6 KBytes [ 23] 3.00-4.00 sec 4.60 MBytes 38.6 Mbits/sec 24 33.9 KBytes [SUM] 3.00-4.00 sec 65.1 MBytes 546 Mbits/sec 198 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 4.00-5.00 sec 6.52 MBytes 54.7 Mbits/sec 32 62.2 KBytes [ 7] 4.00-5.00 sec 6.84 MBytes 57.3 Mbits/sec 21 32.5 KBytes [ 9] 4.00-5.00 sec 5.00 MBytes 41.9 Mbits/sec 12 62.2 KBytes [ 11] 4.00-5.00 sec 6.09 MBytes 51.1 Mbits/sec 28 53.7 KBytes [ 13] 4.00-5.00 sec 7.52 MBytes 63.1 Mbits/sec 17 65.0 KBytes [ 15] 4.00-5.00 sec 5.28 MBytes 44.3 Mbits/sec 23 17.0 KBytes [ 17] 4.00-5.00 sec 5.97 MBytes 50.0 Mbits/sec 22 46.7 KBytes [ 19] 4.00-5.00 sec 7.02 MBytes 58.9 Mbits/sec 15 39.6 KBytes [ 21] 4.00-5.00 sec 6.90 MBytes 57.9 Mbits/sec 23 43.8 KBytes [ 23] 4.00-5.00 sec 4.47 MBytes 37.5 Mbits/sec 16 31.1 KBytes [SUM] 4.00-5.00 sec 61.6 MBytes 517 Mbits/sec 209 - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-5.00 sec 35.8 MBytes 60.1 Mbits/sec 145 sender [ 5] 0.00-5.01 sec 35.4 MBytes 59.4 Mbits/sec receiver [ 7] 0.00-5.00 sec 33.5 MBytes 56.1 Mbits/sec 100 sender [ 7] 0.00-5.01 sec 32.9 MBytes 55.1 Mbits/sec receiver [ 9] 0.00-5.00 sec 64.9 MBytes 109 Mbits/sec 413 sender [ 9] 0.00-5.01 sec 61.5 MBytes 103 Mbits/sec receiver [ 11] 0.00-5.00 sec 30.1 MBytes 50.5 Mbits/sec 136 sender [ 11] 0.00-5.01 sec 29.7 MBytes 49.8 Mbits/sec receiver [ 13] 0.00-5.00 sec 33.3 MBytes 55.8 Mbits/sec 109 sender [ 13] 0.00-5.01 sec 32.9 MBytes 55.1 Mbits/sec receiver [ 15] 0.00-5.00 sec 30.5 MBytes 51.2 Mbits/sec 138 sender [ 15] 0.00-5.01 sec 30.1 MBytes 50.4 Mbits/sec receiver [ 17] 0.00-5.00 sec 30.9 MBytes 51.8 Mbits/sec 125 sender [ 17] 0.00-5.01 sec 30.5 MBytes 51.1 Mbits/sec receiver [ 19] 0.00-5.00 sec 32.3 MBytes 54.1 Mbits/sec 126 sender [ 19] 0.00-5.01 sec 31.8 MBytes 53.2 Mbits/sec receiver [ 21] 0.00-5.00 sec 33.1 MBytes 55.6 Mbits/sec 163 sender [ 21] 0.00-5.01 sec 32.7 MBytes 54.7 Mbits/sec receiver [ 23] 0.00-5.00 sec 31.6 MBytes 53.0 Mbits/sec 129 sender [ 23] 0.00-5.01 sec 31.1 MBytes 52.1 Mbits/sec receiver [SUM] 0.00-5.00 sec 356 MBytes 597 Mbits/sec 1584 sender [SUM] 0.00-5.01 sec 349 MBytes 584 Mbits/sec receiver iperf Done.
Step 8: Run command interfaces ethernet show counters at DUT0 and check if output matches the following regular expressions:
eth0p0 \s+up\s+\d+\s+\d+\s+0\s+\d{2,} eth0p1 \s+up\s+\d+\s+\d+\s+0\s+\d{2,}Show output
------------------------------------------------------------------------------- Name Oper Rx Packets Rx Bytes Rx Errors Tx Packets Tx Bytes Tx Errors ------------------------------------------------------------------------------- eth0p0 up 42910 2905405 0 128040 193813989 0 eth0p1 up 40122 2722332 0 126320 191215912 0 eth0p2 down 0 0 0 0 0 0 eth0p3 down 0 0 0 0 0 0 eth0p4 down 0 0 0 0 0 0 eth0p5 down 0 0 0 0 0 0 eth0p6 down 0 0 0 0 0 0 eth0p7 down 0 0 0 0 0 0 eth1 down 0 0 0 0 0 0 eth2 down 0 0 0 0 0 0