vtep-ctl command not found

In this troubleshooting guide we learn how to fix vtep-ctl command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

vtep-ctl: command not found

or when using sudo you get the following error message

sudo: vtep-ctl: command not found

Solutions to vtep-ctl: command not found

How To Fix vtep-ctl: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu vtep-ctl is provided by openvswitch-vtep package.

openvswitch-vtep is:

Open vSwitch is a production quality, multilayer, software-based, Ethernet virtual switch. It is designed to enable massive network automation through programmatic extension, while still supporting standard management interfaces and protocols (e.g. NetFlow, sFlow, SPAN, RSPAN, CLI, LACP, 802.1ag). In addition, it is designed to support distribution across multiple physical servers similar to VMware’s vNetwork distributed vswitch or Cisco’s Nexus 1000V.

This package provides utilities that are useful to interact with a VTEP-configured database and a VTEP emulator.

To fix this problem, we can install more using the command below.

sudo apt-get -y install openvswitch-vtep

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install openvswitch-vtep.

sudo apt -y install openvswitch-vtep

Or if you have aptitude installed you can use the following command.

sudo aptitude install openvswitch-vtep

Summary

In this tutorial we learn how to fix vtep-ctl command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.