

# Stop an Amazon Direct Connect Resiliency Toolkit virtual interface failover test
<a name="stop_failover_test"></a>

You can stop the virtual interface failover test using the Amazon Direct Connect console, or the Amazon CLI.

**To stop the virtual interface failover test from the Amazon Direct Connect console**

1. Open the **Amazon Direct Connect** console at [https://console.amazonaws.cn/directconnect/v2/home](https://console.amazonaws.cn/directconnect/v2/home).

1. Choose **Virtual interfaces**.

1. Select the virtual interface, and then choose **Actions**, **Cancel test**.

1. Choose **Confirm**.

Amazon restores the BGP peering session. The testing history displays "cancelled" for the test. 

**To stop the virtual interface failover test using the Amazon CLI**  
Use [StopBgpFailoverTest](https://docs.amazonaws.cn/directconnect/latest/APIReference/API_StopBgpFailoverTest.html).