This topic describes how to associate a custom route table with a VSwitch. After you associate a custom route table with a VSwitch, you can control the routes of the VSwitch (subnet). Each VSwitch can be associated with only one custom route table or system route table. However, after the VSwitch is associated with a custom route table, the system route table is automatically disassociated.

Prerequisites

A custom route table is created. For more information, see Create a custom route table.

Procedure

  1. Log on to the VPC console.
  2. In the left-side navigation pane, click VSwitches.
  3. Select the region of the VPC to which the target VSwitch belongs.
  4. On the VSwitches page, find the target VSwitch, and then click Manage in the Actions column.
  5. In the VSwitch Basic Information area, click Bind after the Route Table field.
  6. On the Associate RouteTable page, select the target route table, and then click OK.