# Disable, Restart, or Uninstall the Enterprise Agent via DCNM

{% hint style="warning" %}
Due to recent platform-wide naming, navigation, and URL changes in the product, you may notice some discrepancies between the product and the screenshots displayed in our technical documentation. The instructions and actual pages in the product are still valid and haven’t changed. Please bear with us as we update our screenshots to better match the in-product experience. See the full scope of changes on [Naming and Navigation Menu changes - Summary List](https://docs.thousandeyes.com/whats-new/naming-and-nav-phase-2-changes).
{% endhint %}

This article contains the steps to either disable, restart, or uninstall a ThousandEyes Enterprise Agent via DCNM.

{% hint style="info" %}
Enterprise Agents must be disabled before they can be uninstalled.
{% endhint %}

## Disable an Enterprise Agent

To temporarily disable a running ThousandEyes Enterprise Agent, open the **ThousandEyes Agent** drop-down menu, and select **Stop**. The status will then update:

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-eed004f1fb9bf32cd548766b78716cceff38810b%2Fproduct-documentation_global-vantage-points_enterprise-agents_installing_cisco-devices_installing-enterprise-agents-on-cisco-nexus-9000-series-switches_13.png?alt=media\&token=9865ff50-a568-4324-8858-70f95d2d218c)

## Restart an Enterprise Agent

Once stopped, the agent can be restarted by opening the **ThousandEyes Agent** drop-down menu, and select **Start**. The status will then return to **Running**.

## Uninstall an Enterprise Agent

To uninstall an Enterprise Agent via DCNM, there are four steps:

1. [Disable the Agent](#disable-an-enterprise-agent).
2. Uninstall the Enterprise Agent from the switch.
3. Delete the identity configuration file.
4. Delete the Enterprise Agent from the ThousandEyes web app.

Step 1 is covered in an earlier section. Steps 2-4 are covered below.

### Uninstall the Enterprise Agent from the Switch

Open the **ThousandEyes Agent** drop-down menu, and select **Uninstall**. A confirmation message will pop up to confirm the choice. Click **Ok** to uninstall the agent from the switch:

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-7788d95194fb9d6432e41898e09ea8a0458c79da%2Fproduct-documentation_global-vantage-points_enterprise-agents_installing_cisco-devices_installing-enterprise-agents-on-cisco-nexus-9000-series-switches_14.png?alt=media\&token=fafcb457-be61-434e-9765-78116b1379d2)

### Delete the Identity Configuration File

{% hint style="warning" %}
If you are replacing the existing switch with a new switch, but wish to keep the same Enterprise Agent, do not continue this process. You can reinstall the Enterprise Agent on the new switch using the existing identity configuration file. However, if you complete this step, a new Enterprise Agent will be created.
{% endhint %}

To delete the Enterprise Agent identity:

1. Click the **Play** button.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-435a23ae9a86497c3f80e8dd2752d6920c655243%2Fproduct-documentation_global-vantage-points_enterprise-agents_installing_cisco-devices_installing-enterprise-agents-on-cisco-nexus-9000-series-switches_15-1.png?alt=media\&token=23e3c489-33a3-485a-ab53-11eb8774d957)

2. Open the drop-down list and select **ThousandEyes\_Agent\_Identity\_Delete**.

![](https://1112912342-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M4QARF6s57qxMrOHDTZ%2Fuploads%2Fgit-blob-1c96a1f9bde9ac2c18bad1ceeb7db5e4a64cd2f2%2Fproduct-documentation_global-vantage-points_enterprise-agents_installing_cisco-devices_installing-enterprise-agents-on-cisco-nexus-9000-series-switches_16-1.png?alt=media\&token=7d914465-2a3e-45b4-adce-102e99f8838d)

3. Click **Deploy** to delete the agent identity.

### Delete the Enterprise Agent from the ThousandEyes Web App

1. In the ThousandEyes web app, navigate to **Network & App Synthetics > Agent Settings**.
2. Find the desired agent, and click the three dots icon at the end of the row.
3. Select **Delete**.
4. In the pop-out panel, click **Delete** to confirm removing the agent from the ThousandEyes web app.

{% hint style="success" %}
The Enterprise Agent is now completely uninstalled and removed from ThousandEyes.
{% endhint %}
