Static
These scenarios cover some aspects related to link-aggregation (combining multiple network connections simultaneously to increase throughput, provide redundancy, or both). On OSDx, this can be achieved using bonding interfaces.
Test Static Transmit Load Balance
Description
A bonding interface is configured in DUT0 using the transmit load balance in static mode. This mode can be used to achieve load-balancing in transmission. In this scenario, transmission load balancing is performed via a hash policy.
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 disable-dynamic-lb set interfaces bonding bond0 hash-policy layer3+4 set interfaces bonding bond0 miimon 100 set interfaces bonding bond0 mode transmit-load-balance 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 eth1 bridge-group bridge br0 set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 3: Run the command interfaces bonding show on DUT0 and check whether the 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:fe18:c9/64
Step 4: Run the command interfaces bonding bond0 show ports on DUT0 and check whether the output contains the following tokens:
Bonding Mode: transmit load balancingShow output
Ethernet Channel Bonding Driver: v6.12.49 Bonding Mode: transmit load balancing Transmit Hash Policy: layer3+4 (1) Primary Slave: None Currently Active Slave: eth0p0 MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 Peer Notification Delay (ms): 0 Slave Interface: eth0p0 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:a0:26:18:00:c9 Slave queue ID: 0 Slave Interface: eth1 MII Status: down Speed: Unknown Duplex: Unknown Link Failure Count: 1 Permanent HW addr: 00:a0:26:18:00:ca Slave queue ID: 0
Step 5: Ping the 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=333 ms --- 192.168.100.20 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 332.731/332.731/332.731/0.000 ms
Step 6: Run the command interfaces bonding bond0 show ports on DUT0 and check whether the output contains the following tokens:
Transmit Hash Policy: layer3+4 (1)Show output
Ethernet Channel Bonding Driver: v6.12.49 Bonding Mode: transmit load balancing Transmit Hash Policy: layer3+4 (1) Primary Slave: None Currently Active Slave: eth0p0 MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 Peer Notification Delay (ms): 0 Slave Interface: eth0p0 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:a0:26:18:00:c9 Slave queue ID: 0 Slave Interface: eth1 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 1 Permanent HW addr: 00:a0:26:18:00:ca Slave queue ID: 0
Step 7: Run the command interfaces ethernet clear on DUT0.
Step 8: 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 the following output on
DUT0:Connecting to host 192.168.100.20, port 5001 [ 5] local 192.168.100.10 port 36386 connected to 192.168.100.20 port 5001 [ 7] local 192.168.100.10 port 36398 connected to 192.168.100.20 port 5001 [ 9] local 192.168.100.10 port 36414 connected to 192.168.100.20 port 5001 [ 11] local 192.168.100.10 port 36428 connected to 192.168.100.20 port 5001 [ 13] local 192.168.100.10 port 36436 connected to 192.168.100.20 port 5001 [ 15] local 192.168.100.10 port 36450 connected to 192.168.100.20 port 5001 [ 17] local 192.168.100.10 port 36466 connected to 192.168.100.20 port 5001 [ 19] local 192.168.100.10 port 36476 connected to 192.168.100.20 port 5001 [ 21] local 192.168.100.10 port 36484 connected to 192.168.100.20 port 5001 [ 23] local 192.168.100.10 port 36490 connected to 192.168.100.20 port 5001 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 8.70 MBytes 72.9 Mbits/sec 33 72.1 KBytes [ 7] 0.00-1.00 sec 8.57 MBytes 71.9 Mbits/sec 37 73.5 KBytes [ 9] 0.00-1.00 sec 7.98 MBytes 66.9 Mbits/sec 20 67.9 KBytes [ 11] 0.00-1.00 sec 11.5 MBytes 96.9 Mbits/sec 12 86.3 KBytes [ 13] 0.00-1.00 sec 14.6 MBytes 122 Mbits/sec 4 133 KBytes [ 15] 0.00-1.00 sec 6.50 MBytes 54.5 Mbits/sec 20 77.8 KBytes [ 17] 0.00-1.00 sec 7.25 MBytes 60.8 Mbits/sec 24 49.5 KBytes [ 19] 0.00-1.00 sec 15.3 MBytes 128 Mbits/sec 19 96.2 KBytes [ 21] 0.00-1.00 sec 30.6 MBytes 257 Mbits/sec 8 240 KBytes [ 23] 0.00-1.00 sec 7.38 MBytes 61.9 Mbits/sec 35 29.7 KBytes [SUM] 0.00-1.00 sec 118 MBytes 993 Mbits/sec 212 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 1.00-2.00 sec 7.08 MBytes 59.4 Mbits/sec 12 62.2 KBytes [ 7] 1.00-2.00 sec 9.69 MBytes 81.3 Mbits/sec 6 77.8 KBytes [ 9] 1.00-2.00 sec 6.15 MBytes 51.6 Mbits/sec 19 35.4 KBytes [ 11] 1.00-2.00 sec 10.6 MBytes 89.1 Mbits/sec 5 110 KBytes [ 13] 1.00-2.00 sec 16.8 MBytes 141 Mbits/sec 3 175 KBytes [ 15] 1.00-2.00 sec 7.46 MBytes 62.6 Mbits/sec 17 50.9 KBytes [ 17] 1.00-2.00 sec 6.90 MBytes 57.9 Mbits/sec 20 65.0 KBytes [ 19] 1.00-2.00 sec 13.5 MBytes 114 Mbits/sec 6 100 KBytes [ 21] 1.00-2.00 sec 27.3 MBytes 229 Mbits/sec 7 173 KBytes [ 23] 1.00-2.00 sec 6.15 MBytes 51.6 Mbits/sec 9 73.5 KBytes [SUM] 1.00-2.00 sec 112 MBytes 937 Mbits/sec 104 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 2.00-3.00 sec 6.09 MBytes 51.1 Mbits/sec 26 32.5 KBytes [ 7] 2.00-3.00 sec 8.45 MBytes 70.9 Mbits/sec 23 65.0 KBytes [ 9] 2.00-3.00 sec 8.39 MBytes 70.4 Mbits/sec 4 66.5 KBytes [ 11] 2.00-3.00 sec 13.4 MBytes 112 Mbits/sec 14 115 KBytes [ 13] 2.00-3.00 sec 18.8 MBytes 158 Mbits/sec 7 148 KBytes [ 15] 2.00-3.00 sec 7.39 MBytes 62.0 Mbits/sec 15 86.3 KBytes [ 17] 2.00-3.00 sec 7.89 MBytes 66.2 Mbits/sec 35 65.0 KBytes [ 19] 2.00-3.00 sec 14.1 MBytes 118 Mbits/sec 10 105 KBytes [ 21] 2.00-3.00 sec 23.6 MBytes 198 Mbits/sec 2 189 KBytes [ 23] 2.00-3.00 sec 5.03 MBytes 42.2 Mbits/sec 31 36.8 KBytes [SUM] 2.00-3.00 sec 113 MBytes 949 Mbits/sec 167 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 3.00-4.00 sec 7.33 MBytes 61.5 Mbits/sec 10 41.0 KBytes [ 7] 3.00-4.00 sec 7.27 MBytes 61.0 Mbits/sec 24 45.2 KBytes [ 9] 3.00-4.00 sec 6.90 MBytes 57.9 Mbits/sec 27 29.7 KBytes [ 11] 3.00-4.00 sec 15.1 MBytes 127 Mbits/sec 14 112 KBytes [ 13] 3.00-4.00 sec 15.8 MBytes 132 Mbits/sec 17 147 KBytes [ 15] 3.00-4.00 sec 8.39 MBytes 70.4 Mbits/sec 6 55.1 KBytes [ 17] 3.00-4.00 sec 8.02 MBytes 67.2 Mbits/sec 24 67.9 KBytes [ 19] 3.00-4.00 sec 14.2 MBytes 119 Mbits/sec 8 113 KBytes [ 21] 3.00-4.00 sec 23.6 MBytes 198 Mbits/sec 3 147 KBytes [ 23] 3.00-4.00 sec 4.91 MBytes 41.2 Mbits/sec 15 59.4 KBytes [SUM] 3.00-4.00 sec 111 MBytes 935 Mbits/sec 148 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 4.00-5.00 sec 6.21 MBytes 52.1 Mbits/sec 18 58.0 KBytes [ 7] 4.00-5.00 sec 8.45 MBytes 70.9 Mbits/sec 16 109 KBytes [ 9] 4.00-5.00 sec 7.33 MBytes 61.5 Mbits/sec 10 84.8 KBytes [ 11] 4.00-5.00 sec 16.5 MBytes 139 Mbits/sec 6 160 KBytes [ 13] 4.00-5.00 sec 21.7 MBytes 182 Mbits/sec 4 174 KBytes [ 15] 4.00-5.00 sec 8.45 MBytes 70.9 Mbits/sec 18 50.9 KBytes [ 17] 4.00-5.00 sec 7.71 MBytes 64.6 Mbits/sec 12 33.9 KBytes [ 19] 4.00-5.00 sec 13.2 MBytes 111 Mbits/sec 8 91.9 KBytes [ 21] 4.00-5.00 sec 16.7 MBytes 140 Mbits/sec 7 93.3 KBytes [ 23] 4.00-5.00 sec 6.65 MBytes 55.8 Mbits/sec 22 52.3 KBytes [SUM] 4.00-5.00 sec 113 MBytes 947 Mbits/sec 121 - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-5.00 sec 35.4 MBytes 59.4 Mbits/sec 99 sender [ 5] 0.00-5.01 sec 35.1 MBytes 58.7 Mbits/sec receiver [ 7] 0.00-5.00 sec 42.4 MBytes 71.2 Mbits/sec 106 sender [ 7] 0.00-5.01 sec 41.9 MBytes 70.2 Mbits/sec receiver [ 9] 0.00-5.00 sec 36.7 MBytes 61.7 Mbits/sec 80 sender [ 9] 0.00-5.01 sec 36.3 MBytes 60.8 Mbits/sec receiver [ 11] 0.00-5.00 sec 67.2 MBytes 113 Mbits/sec 51 sender [ 11] 0.00-5.01 sec 66.3 MBytes 111 Mbits/sec receiver [ 13] 0.00-5.00 sec 87.7 MBytes 147 Mbits/sec 35 sender [ 13] 0.00-5.01 sec 86.6 MBytes 145 Mbits/sec receiver [ 15] 0.00-5.00 sec 38.2 MBytes 64.1 Mbits/sec 76 sender [ 15] 0.00-5.01 sec 37.7 MBytes 63.1 Mbits/sec receiver [ 17] 0.00-5.00 sec 37.8 MBytes 63.3 Mbits/sec 115 sender [ 17] 0.00-5.01 sec 37.2 MBytes 62.3 Mbits/sec receiver [ 19] 0.00-5.00 sec 70.4 MBytes 118 Mbits/sec 51 sender [ 19] 0.00-5.01 sec 69.2 MBytes 116 Mbits/sec receiver [ 21] 0.00-5.00 sec 122 MBytes 204 Mbits/sec 27 sender [ 21] 0.00-5.01 sec 120 MBytes 201 Mbits/sec receiver [ 23] 0.00-5.00 sec 30.1 MBytes 50.5 Mbits/sec 112 sender [ 23] 0.00-5.01 sec 29.7 MBytes 49.8 Mbits/sec receiver [SUM] 0.00-5.00 sec 568 MBytes 952 Mbits/sec 752 sender [SUM] 0.00-5.01 sec 560 MBytes 938 Mbits/sec receiver iperf Done.
Step 9: Run the command interfaces ethernet show counters on DUT0 and check whether the output matches the following regular expressions:
eth1 \s+up\s+\d+\s+\d+\s+0\s+\d{4,} eth0p0 \s+up\s+\d+\s+\d+\s+0\s+\d{4,}Show output
------------------------------------------------------------------------------- Name Oper Rx Packets Rx Bytes Rx Errors Tx Packets Tx Bytes Tx Errors ------------------------------------------------------------------------------- eth0p0 up 149857 9939851 0 158633 240128312 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 0 0 0 248461 376110549 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 disable-dynamic-lb set interfaces bonding bond0 hash-policy layer3+4 set interfaces bonding bond0 miimon 100 set interfaces bonding bond0 mode transmit-load-balance set interfaces ethernet eth0p0 bond-group bond0 set interfaces ethernet eth0p4 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 eth1 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 the command interfaces bonding show on DUT0 and check whether the 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:fe18:c9/64
Step 4: Run the command interfaces bonding bond0 show ports on DUT0 and check whether the output contains the following tokens:
Bonding Mode: transmit load balancingShow output
Ethernet Channel Bonding Driver: v6.12.49 Bonding Mode: transmit load balancing Transmit Hash Policy: layer3+4 (1) Primary Slave: None Currently Active Slave: eth0p0 MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 Peer Notification Delay (ms): 0 Slave Interface: eth0p0 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:a0:26:18:00:c9 Slave queue ID: 0 Slave Interface: eth0p4 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 02:a0:26:18:00:cc Slave queue ID: 0
Step 5: Ping the 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=355 ms --- 192.168.100.20 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 355.436/355.436/355.436/0.000 ms
Step 6: Run the command interfaces bonding bond0 show ports on DUT0 and check whether the output contains the following tokens:
Transmit Hash Policy: layer3+4 (1)Show output
Ethernet Channel Bonding Driver: v6.12.49 Bonding Mode: transmit load balancing Transmit Hash Policy: layer3+4 (1) Primary Slave: None Currently Active Slave: eth0p0 MII Status: up MII Polling Interval (ms): 100 Up Delay (ms): 0 Down Delay (ms): 0 Peer Notification Delay (ms): 0 Slave Interface: eth0p0 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 00:a0:26:18:00:c9 Slave queue ID: 0 Slave Interface: eth0p4 MII Status: up Speed: 1000 Mbps Duplex: full Link Failure Count: 0 Permanent HW addr: 02:a0:26:18:00:cc Slave queue ID: 0
Step 7: Run the command interfaces ethernet clear on DUT0.
Step 8: 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 the following output on
DUT0:Connecting to host 192.168.100.20, port 5001 [ 5] local 192.168.100.10 port 57136 connected to 192.168.100.20 port 5001 [ 7] local 192.168.100.10 port 57144 connected to 192.168.100.20 port 5001 [ 9] local 192.168.100.10 port 57146 connected to 192.168.100.20 port 5001 [ 11] local 192.168.100.10 port 57152 connected to 192.168.100.20 port 5001 [ 13] local 192.168.100.10 port 57168 connected to 192.168.100.20 port 5001 [ 15] local 192.168.100.10 port 57176 connected to 192.168.100.20 port 5001 [ 17] local 192.168.100.10 port 57180 connected to 192.168.100.20 port 5001 [ 19] local 192.168.100.10 port 57184 connected to 192.168.100.20 port 5001 [ 21] local 192.168.100.10 port 57188 connected to 192.168.100.20 port 5001 [ 23] local 192.168.100.10 port 57190 connected to 192.168.100.20 port 5001 [ ID] Interval Transfer Bitrate Retr Cwnd [ 5] 0.00-1.00 sec 9.69 MBytes 81.3 Mbits/sec 50 32.5 KBytes [ 7] 0.00-1.00 sec 9.48 MBytes 79.5 Mbits/sec 42 46.7 KBytes [ 9] 0.00-1.00 sec 19.2 MBytes 161 Mbits/sec 5 106 KBytes [ 11] 0.00-1.00 sec 11.9 MBytes 99.9 Mbits/sec 35 50.9 KBytes [ 13] 0.00-1.00 sec 10.1 MBytes 84.6 Mbits/sec 43 45.2 KBytes [ 15] 0.00-1.00 sec 9.27 MBytes 77.8 Mbits/sec 39 66.5 KBytes [ 17] 0.00-1.00 sec 10.8 MBytes 90.8 Mbits/sec 40 38.2 KBytes [ 19] 0.00-1.00 sec 8.47 MBytes 71.0 Mbits/sec 45 42.4 KBytes [ 21] 0.00-1.00 sec 11.1 MBytes 92.9 Mbits/sec 37 35.4 KBytes [ 23] 0.00-1.00 sec 16.0 MBytes 134 Mbits/sec 13 73.5 KBytes [SUM] 0.00-1.00 sec 116 MBytes 973 Mbits/sec 349 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 1.00-2.00 sec 10.9 MBytes 91.2 Mbits/sec 38 39.6 KBytes [ 7] 1.00-2.00 sec 9.88 MBytes 82.9 Mbits/sec 49 38.2 KBytes [ 9] 1.00-2.00 sec 18.2 MBytes 153 Mbits/sec 22 82.0 KBytes [ 11] 1.00-2.00 sec 9.69 MBytes 81.3 Mbits/sec 50 39.6 KBytes [ 13] 1.00-2.00 sec 11.2 MBytes 94.3 Mbits/sec 37 39.6 KBytes [ 15] 1.00-2.00 sec 9.69 MBytes 81.3 Mbits/sec 39 65.0 KBytes [ 17] 1.00-2.00 sec 8.58 MBytes 71.9 Mbits/sec 37 43.8 KBytes [ 19] 1.00-2.00 sec 8.64 MBytes 72.5 Mbits/sec 45 43.8 KBytes [ 21] 1.00-2.00 sec 7.46 MBytes 62.5 Mbits/sec 52 33.9 KBytes [ 23] 1.00-2.00 sec 17.5 MBytes 146 Mbits/sec 19 91.9 KBytes [SUM] 1.00-2.00 sec 112 MBytes 937 Mbits/sec 388 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 2.00-3.00 sec 11.3 MBytes 94.9 Mbits/sec 18 38.2 KBytes [ 7] 2.00-3.00 sec 10.1 MBytes 84.5 Mbits/sec 21 26.9 KBytes [ 9] 2.00-3.00 sec 15.3 MBytes 128 Mbits/sec 17 46.7 KBytes [ 11] 2.00-3.00 sec 10.4 MBytes 87.6 Mbits/sec 24 50.9 KBytes [ 13] 2.00-3.00 sec 6.90 MBytes 57.9 Mbits/sec 41 31.1 KBytes [ 15] 2.00-3.00 sec 7.08 MBytes 59.4 Mbits/sec 37 22.6 KBytes [ 17] 2.00-3.00 sec 9.51 MBytes 79.8 Mbits/sec 26 26.9 KBytes [ 19] 2.00-3.00 sec 11.0 MBytes 92.3 Mbits/sec 19 43.8 KBytes [ 21] 2.00-3.00 sec 8.58 MBytes 71.9 Mbits/sec 32 41.0 KBytes [ 23] 2.00-3.00 sec 21.8 MBytes 183 Mbits/sec 12 89.1 KBytes [SUM] 2.00-3.00 sec 112 MBytes 939 Mbits/sec 247 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 3.00-4.00 sec 8.95 MBytes 75.1 Mbits/sec 23 52.3 KBytes [ 7] 3.00-4.00 sec 10.1 MBytes 85.0 Mbits/sec 22 31.1 KBytes [ 9] 3.00-4.00 sec 15.5 MBytes 130 Mbits/sec 10 76.4 KBytes [ 11] 3.00-4.00 sec 8.39 MBytes 70.4 Mbits/sec 53 31.1 KBytes [ 13] 3.00-4.00 sec 10.1 MBytes 85.0 Mbits/sec 31 53.7 KBytes [ 15] 3.00-4.00 sec 10.8 MBytes 90.2 Mbits/sec 28 73.5 KBytes [ 17] 3.00-4.00 sec 9.32 MBytes 78.2 Mbits/sec 27 46.7 KBytes [ 19] 3.00-4.00 sec 9.07 MBytes 76.1 Mbits/sec 40 22.6 KBytes [ 21] 3.00-4.00 sec 12.7 MBytes 106 Mbits/sec 43 41.0 KBytes [ 23] 3.00-4.00 sec 17.5 MBytes 146 Mbits/sec 12 69.3 KBytes [SUM] 3.00-4.00 sec 112 MBytes 943 Mbits/sec 289 - - - - - - - - - - - - - - - - - - - - - - - - - [ 5] 4.00-5.00 sec 7.95 MBytes 66.7 Mbits/sec 45 35.4 KBytes [ 7] 4.00-5.00 sec 10.0 MBytes 83.9 Mbits/sec 37 33.9 KBytes [ 9] 4.00-5.00 sec 13.8 MBytes 116 Mbits/sec 25 67.9 KBytes [ 11] 4.00-5.00 sec 10.0 MBytes 83.9 Mbits/sec 27 41.0 KBytes [ 13] 4.00-5.00 sec 11.7 MBytes 98.0 Mbits/sec 54 58.0 KBytes [ 15] 4.00-5.00 sec 10.0 MBytes 83.9 Mbits/sec 41 28.3 KBytes [ 17] 4.00-5.00 sec 8.64 MBytes 72.5 Mbits/sec 50 29.7 KBytes [ 19] 4.00-5.00 sec 7.33 MBytes 61.5 Mbits/sec 44 67.9 KBytes [ 21] 4.00-5.00 sec 11.9 MBytes 100 Mbits/sec 46 60.8 KBytes [ 23] 4.00-5.00 sec 20.0 MBytes 168 Mbits/sec 15 83.4 KBytes [SUM] 4.00-5.00 sec 111 MBytes 934 Mbits/sec 384 - - - - - - - - - - - - - - - - - - - - - - - - - [ ID] Interval Transfer Bitrate Retr [ 5] 0.00-5.00 sec 48.8 MBytes 81.8 Mbits/sec 174 sender [ 5] 0.00-5.01 sec 48.4 MBytes 81.0 Mbits/sec receiver [ 7] 0.00-5.00 sec 49.6 MBytes 83.1 Mbits/sec 171 sender [ 7] 0.00-5.01 sec 49.1 MBytes 82.3 Mbits/sec receiver [ 9] 0.00-5.00 sec 82.0 MBytes 138 Mbits/sec 79 sender [ 9] 0.00-5.01 sec 81.6 MBytes 137 Mbits/sec receiver [ 11] 0.00-5.00 sec 50.4 MBytes 84.6 Mbits/sec 189 sender [ 11] 0.00-5.01 sec 50.0 MBytes 83.8 Mbits/sec receiver [ 13] 0.00-5.00 sec 50.0 MBytes 84.0 Mbits/sec 206 sender [ 13] 0.00-5.01 sec 49.6 MBytes 83.2 Mbits/sec receiver [ 15] 0.00-5.00 sec 46.8 MBytes 78.5 Mbits/sec 184 sender [ 15] 0.00-5.01 sec 46.4 MBytes 77.8 Mbits/sec receiver [ 17] 0.00-5.00 sec 46.9 MBytes 78.6 Mbits/sec 180 sender [ 17] 0.00-5.01 sec 46.5 MBytes 78.0 Mbits/sec receiver [ 19] 0.00-5.00 sec 44.5 MBytes 74.7 Mbits/sec 193 sender [ 19] 0.00-5.01 sec 44.2 MBytes 74.1 Mbits/sec receiver [ 21] 0.00-5.00 sec 51.7 MBytes 86.8 Mbits/sec 210 sender [ 21] 0.00-5.01 sec 51.3 MBytes 85.9 Mbits/sec receiver [ 23] 0.00-5.00 sec 92.7 MBytes 156 Mbits/sec 71 sender [ 23] 0.00-5.01 sec 92.1 MBytes 154 Mbits/sec receiver [SUM] 0.00-5.00 sec 563 MBytes 945 Mbits/sec 1657 sender [SUM] 0.00-5.01 sec 559 MBytes 937 Mbits/sec receiver iperf Done.
Step 9: Run the command interfaces ethernet show counters on DUT0 and check whether the output matches the following regular expressions:
eth0p0 \s+up\s+\d+\s+\d+\s+0\s+\d{4,} eth0p4 \s+up\s+\d+\s+\d+\s+0\s+\d{4,}Show output
------------------------------------------------------------------------------- Name Oper Rx Packets Rx Bytes Rx Errors Tx Packets Tx Bytes Tx Errors ------------------------------------------------------------------------------- eth0p0 up 145715 9708621 0 126028 190777611 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 up 0 0 0 281011 425403438 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