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.
Constraints
Each attachment can only be associated with one route table. Packets from the attachment will be forwarded based on the route table.
Procedure
- Log in to the management console.
- Click
in the upper left corner and select the desired region and project.
- Click Service List and choose Networking > Enterprise Router.
The Enterprise Router page is displayed.
- Search for the target enterprise router by name.
- 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.
- 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.
- 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.
- 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
Route Policies
Optional
When any of the following attachment types is selected, you can configure a route policy for the association of the attachment to control the routes from the enterprise router to the attachment:
- Global DC gateway
In the Route Policy drop-down list, select a route policy.
For more information about route policies, see Route Policy Overview and Associating a Route Policy with an Enterprise Router.
routePolicy-ab
- Click OK.
The association list is displayed. You can view your association.
- Scenarios
- Constraints
- Procedure