Linux

Iperf and Speedtest on Cisco Router to Perform Bandwidth Tests



This video describes how to use iPerf and Speedtest on Cisco Router to perform bandwidth tests.

— configure template

conf t
¡
iox
!
interface GigabitEthernet0/0/0.20
ip nat outside
exit
¡
!
interface VirtualPortGroup0
ip address 192.168.35.1 255.255.255.252
ip nat inside
no mop enabled
no mop sysid
exit
!
ip access-list standard INET
permit 192.168.35.0 0.0.0.3
exit
!
ip nat inside source list INET interface GigabitEthernet0/0/0.20 overload
!
app-hosting appid guestshell
app-vnic gateway1 virtualportgroup 0 guest-interface 0
guest-ipaddress 192.168.35.2 netmask 255.255.255.252
app-default-gateway 192.168.35.1 guest-interface 0
name-server0 8.8.8.8
name-server1 1.1.1.1

— enable guestshell

guestshell enable

— run guestshell

guestshell run bash

— download speedtest

$ wget -O speedtest-cli
$ chmod +x speedtest-cli

— run speedtest

python3 speedtest-cli –share

Or

./speedtest-cli –share

— install iperf

sudo yum install iperf3

— run iperf

iperf3 -t 30 -i 4 -c (Server)

— link public servers for iperf

— metadata error when installing iperf

run these commands and try again to install iperf

— First command

sudo sed -i -e “s|mirrorlist=|#mirrorlist=|g” /etc/yum.repos.d/CentOS-*

— Second Command

sudo sed -i -e “s|#baseurl= /etc/yum.repos.d/CentOS-*

— Third Command

dnf clean all

— last command

sudo dnf swap centos-linux-repos centos-stream-repos

— install iperf

sudo yum install iperf3

[ad_2]

source

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button