i have configured a 2-ports on mu unifi switch as Agregating with 2 nics on my proxmox server as bond I can see the output of bond 1 to be 2bps but on iperf I get 1 gbps
ethtool output
root@NFPVE02:~# ethtool bond1
Settings for bond1:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 2000Mb/s
Duplex: Full
Auto-negotiation: off
Port: Other
PHYAD: 0
Transceiver: internal
Link detected: yes
root@NFPVE02:~#
unifi switch

iperf output
Connecting to host 10.0.0.11 , port 5201
[ 5] local 172.27.87.192 port 38850 connected to 10.0.0.11 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 114 MBytes 957 Mbits/sec 0 3.22 MBytes
[ 5] 1.00-2.00 sec 112 MBytes 937 Mbits/sec 0 3.22 MBytes
[ 5] 2.00-3.00 sec 112 MBytes 936 Mbits/sec 0 3.22 MBytes
[ 5] 3.00-4.00 sec 111 MBytes 929 Mbits/sec 0 3.22 MBytes
[ 5] 4.00-5.00 sec 112 MBytes 938 Mbits/sec 0 3.22 MBytes
[ 5] 5.00-6.00 sec 112 MBytes 941 Mbits/sec 0 3.22 MBytes
[ 5] 6.00-7.00 sec 112 MBytes 936 Mbits/sec 0 3.22 MBytes
[ 5] 7.00-8.00 sec 110 MBytes 927 Mbits/sec 0 3.22 MBytes
[ 5] 8.00-9.00 sec 112 MBytes 940 Mbits/sec 0 3.22 MBytes
[ 5] 9.00-10.00 sec 112 MBytes 938 Mbits/sec 0 3.22 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.09 GBytes 938 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 1.09 GBytes 935 Mbits/sec receiver
iperf Done.
ethtool output
root@NFPVE02:~# ethtool bond1
Settings for bond1:
Supported ports: [ ]
Supported link modes: Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes: Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 2000Mb/s
Duplex: Full
Auto-negotiation: off
Port: Other
PHYAD: 0
Transceiver: internal
Link detected: yes
root@NFPVE02:~#
unifi switch

iperf output
Connecting to host 10.0.0.11 , port 5201
[ 5] local 172.27.87.192 port 38850 connected to 10.0.0.11 port 5201
[ ID] Interval Transfer Bitrate Retr Cwnd
[ 5] 0.00-1.00 sec 114 MBytes 957 Mbits/sec 0 3.22 MBytes
[ 5] 1.00-2.00 sec 112 MBytes 937 Mbits/sec 0 3.22 MBytes
[ 5] 2.00-3.00 sec 112 MBytes 936 Mbits/sec 0 3.22 MBytes
[ 5] 3.00-4.00 sec 111 MBytes 929 Mbits/sec 0 3.22 MBytes
[ 5] 4.00-5.00 sec 112 MBytes 938 Mbits/sec 0 3.22 MBytes
[ 5] 5.00-6.00 sec 112 MBytes 941 Mbits/sec 0 3.22 MBytes
[ 5] 6.00-7.00 sec 112 MBytes 936 Mbits/sec 0 3.22 MBytes
[ 5] 7.00-8.00 sec 110 MBytes 927 Mbits/sec 0 3.22 MBytes
[ 5] 8.00-9.00 sec 112 MBytes 940 Mbits/sec 0 3.22 MBytes
[ 5] 9.00-10.00 sec 112 MBytes 938 Mbits/sec 0 3.22 MBytes
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval Transfer Bitrate Retr
[ 5] 0.00-10.00 sec 1.09 GBytes 938 Mbits/sec 0 sender
[ 5] 0.00-10.00 sec 1.09 GBytes 935 Mbits/sec receiver
iperf Done.