> ## Documentation Index
> Fetch the complete documentation index at: https://docs.megaport.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Shutting Down a VXC for Failover Testing

> This help topic describes how you can temporarily shut down a VXC for failover testing in the Megaport Portal.

You can temporarily shut down a VXC for failover testing, redundancy, or network design testing purposes. This can be done when creating a VXC, or at a later time after you have created and deployed a VXC on the Megaport network.

When a VXC has been shut down, you can view the VXC service that has been shut down and re-enable the VXC service.

> [!TIP]
>
> You can also shut down and re-enable an IX service. For more information, see [Shutting Down an IX for Failover Testing](https://docs.megaport.com/ix/shutting-down-an-ix.md).

## VXC shutdown overview

When creating and deploying a VXC on the Megaport network, you can decide whether to set the initial state of the connection to enabled (default) or shut down.

The A-End of an *Active* VXC can be shut down for failover testing and re-enabled once testing is complete. Active VXCs have a provisioning status of Configured, Live, Canceled, or Canceled\_Parent. In the Megaport Portal, the Services page displays the text (Shut Down) under the status when the service has been shut down.

![VXC Connection Shut Down in Services Page](https://docs.megaport.com/images/api/vxc-connection-shut-down.png)

A VXC that has been shut down can still be edited, locked, and terminated.

You can view service logs and usage reports for a VXC. In the Service Logs, the shutdown action for a VXC is recorded as an event and time stamped. In the Service Graph usage details, the service will go down when it has been shut down. For more information, see [Monitoring Ports, VXCs, Megaport Internet, and IXs](https://docs.megaport.com/monitoring/port-vxc-monitoring.md).

> [!TIP]
>
> You can also use the Megaport API to shut down and re-enable VXCs. For more information, see [Shutting Down a VXC and IX with the API](https://docs.megaport.com/api/api-vxc-shut-down.md).

> [!NOTE]
>
> * Billing is **not** suspended during the period when a VXC is shut down.
> * As per any VXC speed changes, the shut down/enabled state can take up to two minutes to take effect and be updated in the Megaport Portal.
> * For Megaport Marketplace connections, only the A-End company can shut down a service. The B-End can see the state but cannot change it.

## Who can shut down a VXC?

Users who have editing rights with the Company Admin, Technical Admin, and Technical Contact roles and are able to update a service can shut down and re-enable a VXC.

* If a partner shuts down the VXC of a managed account, the partner or the managed account can both re-enable the VXC.

* If a managed account shuts down their own VXC, this can be re-enabled by either the partner or the managed account.

* If a user from a direct account shuts down their own VXC, this can be re-enabled by any user with editing permissions from the same direct account.

**shutdown\_vxc**

## Shutting down a VXC

You can temporarily shut down a VXC for testing purposes. This can be done when creating a VXC or later when editing a VXC. This task describes how to shut down a VXC when editing a VXC.

**To shut down a VXC**

1. In the [Megaport Portal](https://portal.megaport.com), go to the **Services** page and locate the VXC.

2. Click **Details** in the **Actions** section for the connection.

   ![Edit a VXC](https://docs.megaport.com/images/connections/vxc-gear-icon.png)

   The Connection Configuration page appears.

   ![VXC Connection Details page](https://docs.megaport.com/images/connections/vxc-connection-details.png)

3. In the **VXC State** field, click **Shut Down**.\
   A prompt appears, asking you to confirm the action.

   ![VXC Connection Shutdown prompt](https://docs.megaport.com/images/connections/vxc-connection-shutdown-prompt.png)

4. Read the prompt then click **Confirm** and **Save**.\
   The VXC is shut down. This can take up to two minutes to take effect and be updated in the Megaport Portal.

   ![VXC Connection Shut Down in the Services Page](https://docs.megaport.com/images/api/vxc-connection-shut-down.png)

**To re-enable a VXC**

1. In the [Megaport Portal](https://portal.megaport.com), go to the **Services** page and locate the VXC that is shut down.

2. Click **Details** in the **Actions** section for the connection.

   ![Edit a VXC](https://docs.megaport.com/images/connections/vxc-gear-icon.png)

3. In the **VXC State** field, click **Enabled**.

4. Click **Save**.\
   The VXC is now enabled. This can take up to two minutes to take effect and be updated in the Megaport Portal.

   ![VXC Connection Enabled in the Services Page](https://docs.megaport.com/images/connections/vxc-connection-enabled.png)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.