Associating a Route Policy with an Enterprise Router
Scenarios
You can associate a route policy with an enterprise router to control the routes of the enterprise router for traffic sending and receiving. For details, see Table 1.
Traffic Direction | Description |
---|---|
Routes to send traffic by an enterprise router: From ER-A to Direct Connect virtual gateway | Control routes used by an enterprise router to send traffic to a Direct Connect virtual gateway. These routes, including both static and BGP routes, are in the enterprise router route table. On the Associations tab of the enterprise router, associate a route policy with the association of an attachment. For details, see Associating a Route Policy with the Association of an Attachment. |
Routes to receive traffic by an enterprise router: From Direct Connect virtual gateway to ER-A | Control routes used by an enterprise router to receive traffic from a Direct Connect virtual gateway. These routes are BGP routes. On the Propagations tab of the enterprise router, associate a route policy with the propagation of an attachment. For details, see Associating a Route Policy with the Propagation of an Attachment. |
Notes and Constraints
- Route policies cannot be applied to VPC attachments.
- Route policies can be applied to global DC gateway attachments, but not to VPC attachments.
- Route policies change the paths through which traffic passes. Evaluate the impact on your services before associating a route policy with an enterprise router.
Associating a Route Policy with the Association of an Attachment
- 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 page 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 target route table and then the Associations tab.
The association list is displayed.
- Locate the row that contains the target association and click Modify in the Operation column.
The Modify Association dialog box is displayed.
- Select the created route policy and click OK.
If there is no desired route policy, create one by referring to Creating a Route Policy.
Return to the association list. You can see that the route policy has been associated with the corresponding association.
Associating a Route Policy with the Propagation of an Attachment
- Search for the target enterprise router by name.
- Go to the Route Tables tab page 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 target route table and then the Propagations tab.
The propagation list is displayed.
- Locate the row that contains the target propagation and click Modify in the Operation column.
The Modify Propagation dialog box is displayed.
- Select the created route policy and click OK.
If there is no desired route policy, create one by referring to Creating a Route Policy.
Return to the propagation list. You can see that the route policy has been associated with the corresponding propagation.
- Scenarios
- Notes and Constraints
- Associating a Route Policy with the Association of an Attachment
- Associating a Route Policy with the Propagation of an Attachment