Help Center/ Enterprise Router/ User Guide/ Associations/ Creating an Association for an Attachment in a Route Table
Updated on 2024-12-09 GMT+08:00

Creating an Association for an Attachment in a Route Table

Scenarios

This section describes how to create an association in a route table of an enterprise router to associate a specified attachment with the route table.

Notes and Constraints

Each attachment can only be associated with one route table. Packets from the attachment will be forwarded based on the route table.

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 page is displayed.

  4. Search for the target enterprise router by name.
  5. Go to the Route Tables tab using either of the following methods:

    • In the upper right corner of the enterprise router, click Manage Route Table.
    • Click the enterprise router name and click Route Tables.

  6. Click the route table where you want to create an association. On the Associations tab, click Create Association.

    The Create Association dialog box is displayed.

  7. Configure the parameters based on Table 1.

    Table 1 Parameters for creating an association

    Parameter

    Setting

    Example Value

    Attachment Type

    Mandatory

    Select an attachment type.
    • VPC: A VPC is attached to the enterprise router.
    • Virtual gateway: A Direct Connect virtual gateway is attached to the enterprise router.
    • VPN gateway: A VPN gateway is attached to the enterprise router.
    • Global DC gateway: A Direct Connect global DC gateway is attached to the enterprise router.

    For more information, see Attachment Overview.

    VPC

    Attachment

    Mandatory

    In the drop-down list, select the attachment to be associated with the route table.

    er-attach-02

  8. Click OK.

    The association list is displayed. You can view your association.