Updated on 2024-01-16 GMT+08:00

Deleting a VPN Gateway Attachment

Scenarios

This section describes how to delete a VPN gateway attachment from an enterprise router.

Notes and Constraints

  • Deleting an attachment will also delete its associations, propagations, and propagated routes in the route table.
  • If flow logging is enabled for an attachment, flow logging will be disabled, but collected flow logs will not be deleted.

Procedure

  1. Log in to the management console.
  2. Click in the upper left corner and select the desired region and project.
  3. Click Service List and choose Networking > Enterprise Router.

    The Enterprise Router homepage is displayed.

  4. Search for the target enterprise router by name.

    Figure 1 Searching for an enterprise router

  5. Go to the Attachments tab using either of the following methods:

    • In the upper right corner of the enterprise router, click Manage Attachment.
    • Click the enterprise router name and click Attachments.

    A VPN gateway attachment cannot be directly deleted on the Attachments page of the enterprise router.

    A VPN gateway attachment will be automatically deleted after you perform the following operations to delete its VPN connections, unbind the EIP from the VPN gateway, and delete the VPN gateway.

  6. Locate the target VPN gateway attachment and click the attached resource.

    Example: vpngw-demo

    The VPN gateway attachment details page is displayed.

  7. On the attachment details page, click in the upper left corner.

    The VPN gateway list is displayed.

  8. In the VPN gateway list, locate the target VPN gateway, click More in the Operation column, and click Delete.

    A confirmation dialog box is displayed.

  9. Click Yes.

    A deleted VPN gateway cannot be recovered.