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.

../../../../../_images/topology1.svg

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+up
Show 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 balancing
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: down
Speed: Unknown
Duplex: Unknown
Link Failure Count: 0
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 1
Show 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=349 ms

--- 192.168.100.20 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 349.230/349.230/349.230/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: 0
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 10
Expect the following output on DUT0:
Connecting to host 192.168.100.20, port 5001
[  5] local 192.168.100.10 port 36418 connected to 192.168.100.20 port 5001
[  7] local 192.168.100.10 port 36430 connected to 192.168.100.20 port 5001
[  9] local 192.168.100.10 port 36436 connected to 192.168.100.20 port 5001
[ 11] local 192.168.100.10 port 36444 connected to 192.168.100.20 port 5001
[ 13] local 192.168.100.10 port 36450 connected to 192.168.100.20 port 5001
[ 15] local 192.168.100.10 port 36452 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 36478 connected to 192.168.100.20 port 5001
[ 21] local 192.168.100.10 port 36482 connected to 192.168.100.20 port 5001
[ 23] local 192.168.100.10 port 36488 connected to 192.168.100.20 port 5001
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  8.99 MBytes  75.4 Mbits/sec   19   58.0 KBytes
[  7]   0.00-1.00   sec  7.20 MBytes  60.4 Mbits/sec   25   53.7 KBytes
[  9]   0.00-1.00   sec  25.6 MBytes   215 Mbits/sec   17    158 KBytes
[ 11]   0.00-1.00   sec  18.2 MBytes   153 Mbits/sec    3    181 KBytes
[ 13]   0.00-1.00   sec  7.81 MBytes  65.5 Mbits/sec   16   43.8 KBytes
[ 15]   0.00-1.00   sec  14.8 MBytes   124 Mbits/sec   19   82.0 KBytes
[ 17]   0.00-1.00   sec  8.19 MBytes  68.7 Mbits/sec   12   72.1 KBytes
[ 19]   0.00-1.00   sec  9.29 MBytes  77.9 Mbits/sec   23   33.9 KBytes
[ 21]   0.00-1.00   sec  5.59 MBytes  46.8 Mbits/sec   19   49.5 KBytes
[ 23]   0.00-1.00   sec  12.2 MBytes   102 Mbits/sec    5    140 KBytes
[SUM]   0.00-1.00   sec   118 MBytes   988 Mbits/sec  158
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   1.00-2.00   sec  6.65 MBytes  55.8 Mbits/sec   13   48.1 KBytes
[  7]   1.00-2.00   sec  5.59 MBytes  46.9 Mbits/sec   22   24.0 KBytes
[  9]   1.00-2.00   sec  19.0 MBytes   159 Mbits/sec    4    195 KBytes
[ 11]   1.00-2.00   sec  23.6 MBytes   198 Mbits/sec   11    140 KBytes
[ 13]   1.00-2.00   sec  5.41 MBytes  45.3 Mbits/sec   17   32.5 KBytes
[ 15]   1.00-2.00   sec  13.7 MBytes   115 Mbits/sec    6    137 KBytes
[ 17]   1.00-2.00   sec  5.47 MBytes  45.9 Mbits/sec   28   35.4 KBytes
[ 19]   1.00-2.00   sec  5.03 MBytes  42.2 Mbits/sec   14   24.0 KBytes
[ 21]   1.00-2.00   sec  10.9 MBytes  91.2 Mbits/sec    5   72.1 KBytes
[ 23]   1.00-2.00   sec  17.2 MBytes   144 Mbits/sec   20    126 KBytes
[SUM]   1.00-2.00   sec   113 MBytes   944 Mbits/sec  140
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   2.00-3.00   sec  8.39 MBytes  70.4 Mbits/sec   16   62.2 KBytes
[  7]   2.00-3.00   sec  6.96 MBytes  58.4 Mbits/sec   12   73.5 KBytes
[  9]   2.00-3.00   sec  19.1 MBytes   160 Mbits/sec    5    170 KBytes
[ 11]   2.00-3.00   sec  18.4 MBytes   154 Mbits/sec    3    126 KBytes
[ 13]   2.00-3.00   sec  6.65 MBytes  55.8 Mbits/sec   15   45.2 KBytes
[ 15]   2.00-3.00   sec  14.7 MBytes   124 Mbits/sec   13   97.6 KBytes
[ 17]   2.00-3.00   sec  8.39 MBytes  70.4 Mbits/sec    8   79.2 KBytes
[ 19]   2.00-3.00   sec  5.16 MBytes  43.3 Mbits/sec    9   52.3 KBytes
[ 21]   2.00-3.00   sec  8.33 MBytes  69.8 Mbits/sec    7   65.0 KBytes
[ 23]   2.00-3.00   sec  16.7 MBytes   140 Mbits/sec   11    116 KBytes
[SUM]   2.00-3.00   sec   113 MBytes   946 Mbits/sec   99
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   3.00-4.00   sec  6.84 MBytes  57.4 Mbits/sec   15   72.1 KBytes
[  7]   3.00-4.00   sec  7.08 MBytes  59.4 Mbits/sec   18   63.6 KBytes
[  9]   3.00-4.00   sec  21.8 MBytes   183 Mbits/sec    7    133 KBytes
[ 11]   3.00-4.00   sec  12.4 MBytes   104 Mbits/sec   11   97.6 KBytes
[ 13]   3.00-4.00   sec  7.89 MBytes  66.2 Mbits/sec   18   69.3 KBytes
[ 15]   3.00-4.00   sec  18.4 MBytes   154 Mbits/sec    0    195 KBytes
[ 17]   3.00-4.00   sec  7.64 MBytes  64.1 Mbits/sec   24   38.2 KBytes
[ 19]   3.00-4.00   sec  6.28 MBytes  52.7 Mbits/sec   10   49.5 KBytes
[ 21]   3.00-4.00   sec  7.52 MBytes  63.1 Mbits/sec   16   74.9 KBytes
[ 23]   3.00-4.00   sec  15.4 MBytes   129 Mbits/sec    5    109 KBytes
[SUM]   3.00-4.00   sec   111 MBytes   934 Mbits/sec  124
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   4.00-5.00   sec  7.33 MBytes  61.5 Mbits/sec   26   56.6 KBytes
[  7]   4.00-5.00   sec  5.90 MBytes  49.5 Mbits/sec   19   41.0 KBytes
[  9]   4.00-5.00   sec  17.5 MBytes   146 Mbits/sec    7    123 KBytes
[ 11]   4.00-5.00   sec  12.4 MBytes   104 Mbits/sec   14    119 KBytes
[ 13]   4.00-5.00   sec  6.52 MBytes  54.7 Mbits/sec   22   45.2 KBytes
[ 15]   4.00-5.00   sec  23.4 MBytes   196 Mbits/sec    8    216 KBytes
[ 17]   4.00-5.00   sec  6.90 MBytes  57.8 Mbits/sec   20   58.0 KBytes
[ 19]   4.00-5.00   sec  7.83 MBytes  65.7 Mbits/sec   17   53.7 KBytes
[ 21]   4.00-5.00   sec  8.95 MBytes  75.0 Mbits/sec   46   62.2 KBytes
[ 23]   4.00-5.00   sec  16.1 MBytes   135 Mbits/sec    4    110 KBytes
[SUM]   4.00-5.00   sec   113 MBytes   946 Mbits/sec  183
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-5.00   sec  38.2 MBytes  64.1 Mbits/sec   89             sender
[  5]   0.00-5.01   sec  37.8 MBytes  63.3 Mbits/sec                  receiver
[  7]   0.00-5.00   sec  32.7 MBytes  54.9 Mbits/sec   96             sender
[  7]   0.00-5.01   sec  32.3 MBytes  54.2 Mbits/sec                  receiver
[  9]   0.00-5.00   sec   103 MBytes   173 Mbits/sec   40             sender
[  9]   0.00-5.01   sec   102 MBytes   171 Mbits/sec                  receiver
[ 11]   0.00-5.00   sec  85.1 MBytes   143 Mbits/sec   42             sender
[ 11]   0.00-5.01   sec  83.9 MBytes   140 Mbits/sec                  receiver
[ 13]   0.00-5.00   sec  34.3 MBytes  57.5 Mbits/sec   88             sender
[ 13]   0.00-5.01   sec  33.8 MBytes  56.7 Mbits/sec                  receiver
[ 15]   0.00-5.00   sec  84.9 MBytes   142 Mbits/sec   46             sender
[ 15]   0.00-5.01   sec  83.9 MBytes   141 Mbits/sec                  receiver
[ 17]   0.00-5.00   sec  36.6 MBytes  61.4 Mbits/sec   92             sender
[ 17]   0.00-5.01   sec  36.3 MBytes  60.7 Mbits/sec                  receiver
[ 19]   0.00-5.00   sec  33.6 MBytes  56.3 Mbits/sec   73             sender
[ 19]   0.00-5.01   sec  33.1 MBytes  55.5 Mbits/sec                  receiver
[ 21]   0.00-5.00   sec  41.3 MBytes  69.2 Mbits/sec   93             sender
[ 21]   0.00-5.01   sec  40.6 MBytes  68.0 Mbits/sec                  receiver
[ 23]   0.00-5.00   sec  77.6 MBytes   130 Mbits/sec   45             sender
[ 23]   0.00-5.01   sec  76.7 MBytes   128 Mbits/sec                  receiver
[SUM]   0.00-5.00   sec   567 MBytes   952 Mbits/sec  704             sender
[SUM]   0.00-5.01   sec   560 MBytes   939 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        154664  10257610          0      155703  235685964          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      251429  380639126          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+up
Show 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 balancing
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 5: Ping the IP address 192.168.100.20 from DUT0:

admin@DUT0$ ping 192.168.100.20 count 1 size 56 timeout 1
Show 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.216/355.216/355.216/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 10
Expect the following output on DUT0:
Connecting to host 192.168.100.20, port 5001
[  5] local 192.168.100.10 port 49648 connected to 192.168.100.20 port 5001
[  7] local 192.168.100.10 port 49650 connected to 192.168.100.20 port 5001
[  9] local 192.168.100.10 port 49664 connected to 192.168.100.20 port 5001
[ 11] local 192.168.100.10 port 49666 connected to 192.168.100.20 port 5001
[ 13] local 192.168.100.10 port 49682 connected to 192.168.100.20 port 5001
[ 15] local 192.168.100.10 port 49688 connected to 192.168.100.20 port 5001
[ 17] local 192.168.100.10 port 49692 connected to 192.168.100.20 port 5001
[ 19] local 192.168.100.10 port 49694 connected to 192.168.100.20 port 5001
[ 21] local 192.168.100.10 port 49696 connected to 192.168.100.20 port 5001
[ 23] local 192.168.100.10 port 49708 connected to 192.168.100.20 port 5001
[ ID] Interval           Transfer     Bitrate         Retr  Cwnd
[  5]   0.00-1.00   sec  14.5 MBytes   122 Mbits/sec   27   66.5 KBytes
[  7]   0.00-1.00   sec  11.9 MBytes  99.6 Mbits/sec   53   42.4 KBytes
[  9]   0.00-1.00   sec  14.0 MBytes   117 Mbits/sec   39   59.4 KBytes
[ 11]   0.00-1.00   sec  13.0 MBytes   109 Mbits/sec   46   56.6 KBytes
[ 13]   0.00-1.00   sec  10.5 MBytes  88.5 Mbits/sec   32   46.7 KBytes
[ 15]   0.00-1.00   sec  8.19 MBytes  68.7 Mbits/sec   48   28.3 KBytes
[ 17]   0.00-1.00   sec  9.64 MBytes  80.8 Mbits/sec   60   39.6 KBytes
[ 19]   0.00-1.00   sec  17.9 MBytes   150 Mbits/sec   19   91.9 KBytes
[ 21]   0.00-1.00   sec  8.44 MBytes  70.8 Mbits/sec   44   50.9 KBytes
[ 23]   0.00-1.00   sec  7.16 MBytes  60.1 Mbits/sec   52   14.1 KBytes
[SUM]   0.00-1.00   sec   115 MBytes   966 Mbits/sec  420
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   1.00-2.00   sec  13.6 MBytes   114 Mbits/sec   11   74.9 KBytes
[  7]   1.00-2.00   sec  9.26 MBytes  77.7 Mbits/sec   40   46.7 KBytes
[  9]   1.00-2.00   sec  10.7 MBytes  89.7 Mbits/sec   33   46.7 KBytes
[ 11]   1.00-2.00   sec  15.2 MBytes   128 Mbits/sec   15   79.2 KBytes
[ 13]   1.00-2.00   sec  9.82 MBytes  82.4 Mbits/sec   21   62.2 KBytes
[ 15]   1.00-2.00   sec  10.1 MBytes  85.0 Mbits/sec   25   83.4 KBytes
[ 17]   1.00-2.00   sec  10.0 MBytes  83.9 Mbits/sec   27   62.2 KBytes
[ 19]   1.00-2.00   sec  13.9 MBytes   116 Mbits/sec   18    102 KBytes
[ 21]   1.00-2.00   sec  7.95 MBytes  66.7 Mbits/sec   29   35.4 KBytes
[ 23]   1.00-2.00   sec  11.7 MBytes  98.0 Mbits/sec    3   94.7 KBytes
[SUM]   1.00-2.00   sec   112 MBytes   941 Mbits/sec  222
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   2.00-3.00   sec  16.5 MBytes   139 Mbits/sec   14   94.7 KBytes
[  7]   2.00-3.00   sec  9.94 MBytes  83.4 Mbits/sec   23   55.1 KBytes
[  9]   2.00-3.00   sec  10.5 MBytes  88.1 Mbits/sec   32   60.8 KBytes
[ 11]   2.00-3.00   sec  11.9 MBytes  99.6 Mbits/sec   20   63.6 KBytes
[ 13]   2.00-3.00   sec  8.89 MBytes  74.5 Mbits/sec   40   29.7 KBytes
[ 15]   2.00-3.00   sec  9.63 MBytes  80.8 Mbits/sec   61   39.6 KBytes
[ 17]   2.00-3.00   sec  11.2 MBytes  94.4 Mbits/sec   26   38.2 KBytes
[ 19]   2.00-3.00   sec  14.9 MBytes   125 Mbits/sec   22   50.9 KBytes
[ 21]   2.00-3.00   sec  8.26 MBytes  69.3 Mbits/sec   26   35.4 KBytes
[ 23]   2.00-3.00   sec  10.4 MBytes  87.6 Mbits/sec   30   59.4 KBytes
[SUM]   2.00-3.00   sec   112 MBytes   941 Mbits/sec  294
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   3.00-4.00   sec  13.7 MBytes   115 Mbits/sec   20   55.1 KBytes
[  7]   3.00-4.00   sec  12.4 MBytes   104 Mbits/sec   31   42.4 KBytes
[  9]   3.00-4.00   sec  9.82 MBytes  82.4 Mbits/sec   27   45.2 KBytes
[ 11]   3.00-4.00   sec  15.2 MBytes   127 Mbits/sec   25   99.0 KBytes
[ 13]   3.00-4.00   sec  10.9 MBytes  91.2 Mbits/sec   15   74.9 KBytes
[ 15]   3.00-4.00   sec  9.20 MBytes  77.1 Mbits/sec   31   35.4 KBytes
[ 17]   3.00-4.00   sec  8.14 MBytes  68.3 Mbits/sec   27   45.2 KBytes
[ 19]   3.00-4.00   sec  13.1 MBytes   110 Mbits/sec   16   74.9 KBytes
[ 21]   3.00-4.00   sec  8.82 MBytes  74.0 Mbits/sec   37   59.4 KBytes
[ 23]   3.00-4.00   sec  10.6 MBytes  89.1 Mbits/sec   39   45.2 KBytes
[SUM]   3.00-4.00   sec   112 MBytes   939 Mbits/sec  268
- - - - - - - - - - - - - - - - - - - - - - - - -
[  5]   4.00-5.00   sec  12.9 MBytes   108 Mbits/sec   21   66.5 KBytes
[  7]   4.00-5.00   sec  11.7 MBytes  98.5 Mbits/sec   13   48.1 KBytes
[  9]   4.00-5.00   sec  11.6 MBytes  97.0 Mbits/sec   12   52.3 KBytes
[ 11]   4.00-5.00   sec  11.8 MBytes  99.0 Mbits/sec   36   60.8 KBytes
[ 13]   4.00-5.00   sec  13.5 MBytes   114 Mbits/sec   20   74.9 KBytes
[ 15]   4.00-5.00   sec  8.45 MBytes  70.9 Mbits/sec   30   35.4 KBytes
[ 17]   4.00-5.00   sec  9.32 MBytes  78.2 Mbits/sec   23   39.6 KBytes
[ 19]   4.00-5.00   sec  14.6 MBytes   122 Mbits/sec   15   53.7 KBytes
[ 21]   4.00-5.00   sec  9.13 MBytes  76.6 Mbits/sec   17   35.4 KBytes
[ 23]   4.00-5.00   sec  9.20 MBytes  77.1 Mbits/sec   29   50.9 KBytes
[SUM]   4.00-5.00   sec   112 MBytes   942 Mbits/sec  216
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Retr
[  5]   0.00-5.00   sec  71.3 MBytes   120 Mbits/sec   93             sender
[  5]   0.00-5.01   sec  70.7 MBytes   118 Mbits/sec                  receiver
[  7]   0.00-5.00   sec  55.2 MBytes  92.7 Mbits/sec  160             sender
[  7]   0.00-5.01   sec  54.8 MBytes  91.8 Mbits/sec                  receiver
[  9]   0.00-5.00   sec  56.5 MBytes  94.9 Mbits/sec  143             sender
[  9]   0.00-5.01   sec  56.1 MBytes  93.9 Mbits/sec                  receiver
[ 11]   0.00-5.00   sec  67.0 MBytes   112 Mbits/sec  142             sender
[ 11]   0.00-5.01   sec  66.5 MBytes   111 Mbits/sec                  receiver
[ 13]   0.00-5.00   sec  53.7 MBytes  90.1 Mbits/sec  128             sender
[ 13]   0.00-5.01   sec  53.2 MBytes  89.1 Mbits/sec                  receiver
[ 15]   0.00-5.00   sec  45.6 MBytes  76.5 Mbits/sec  195             sender
[ 15]   0.00-5.01   sec  45.0 MBytes  75.5 Mbits/sec                  receiver
[ 17]   0.00-5.00   sec  48.4 MBytes  81.1 Mbits/sec  163             sender
[ 17]   0.00-5.01   sec  47.9 MBytes  80.2 Mbits/sec                  receiver
[ 19]   0.00-5.00   sec  74.4 MBytes   125 Mbits/sec   90             sender
[ 19]   0.00-5.01   sec  73.8 MBytes   124 Mbits/sec                  receiver
[ 21]   0.00-5.00   sec  42.6 MBytes  71.5 Mbits/sec  153             sender
[ 21]   0.00-5.01   sec  42.1 MBytes  70.6 Mbits/sec                  receiver
[ 23]   0.00-5.00   sec  49.1 MBytes  82.4 Mbits/sec  153             sender
[ 23]   0.00-5.01   sec  48.6 MBytes  81.5 Mbits/sec                  receiver
[SUM]   0.00-5.00   sec   564 MBytes   946 Mbits/sec  1420             sender
[SUM]   0.00-5.01   sec   559 MBytes   936 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        141637   9434279          0      191893  290490542          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      214438  324597789          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