Enterprise Edition transit routers support custom routes. You can add a static route or a blackhole route to a specified route table. This allows you to manage network traffic in a flexible manner.

Add a custom route to a route table of an Enterprise Edition transit router

  1. Log on to the CEN console.
  2. On the Instances page, find the CEN instance that you want to manage and click the instance ID.
  3. Choose Basic Settings > Transit Router, find the transit router that you want to manage, and then click the ID of the transit router.
  4. On the details page of the transit router, click the Route Propagation tab.
  5. In the left-side section, click the route table ID. On the Route Entry tab of the details page, click Add Route Entry.
  6. In the Add Route Entry dialog box, set the following parameters and click OK.
    Parameter Definition
    Route Table By default, the current route table is selected.
    Transit Router By default, the current transit router is selected.
    Name Enter a name for the route.
    Destination CIDR Enter the destination CIDR block of the route. Example: 192.168.1.0/24.
    Blackhole Route?
    • Yes: specifies that the route is a blackhole route. All traffic destined for this route is dropped.
    • No: specifies that the route is not a blackhole route. In this case, you must specify the next hop of the route.
    Next Hop Specify the next hop.
    Description Enter a description for the route.

View routes of an Enterprise Edition transit router

  1. Log on to the CEN console.
  2. On the Instances page, find the CEN instance that you want to manage and click the instance ID.
  3. Choose Basic Settings > Transit Router, find the transit router that you want to manage, and then click the ID of the transit router.
  4. On the details page of the transit router, click the Route Propagation tab.
  5. In the left-side section, click the ID of the route table that you want to manage.
  6. On the Route Entry tab of the route table details page, you can view the following information about routes in the current route table.
    Parameter Description
    Cluster Name Displays the name and ID of the route.

    You can click the Edit icon to enter a name for the route or modify its name.

    Destination CIDR Block Displays the destination CIDR block of the route.
    Next Hop Displays the network instance that is specified as the next hop of the route.
    Type Displays the type of the next hop.
    • Network Instance: indicates that the next hop of the route is a network instance connection.
    • Blackhole: indicates that the route is a blackhole route.

      All traffic destined for this route is dropped.

    Route Type Displays the route type. Valid values:
    • Propagated Routes: indicates that the route is a route learned by the transit router.
    • Static Routes: indicates that the route is a custom route.
    Route Status Displays the status of the route. Valid values:
    • Available: indicates that the route is available.
    • Rejected: indicates that the route matches a routing policy of the route table and is unavailable.
    • Candidate: indicates that the route is a standby route. When the active route is unavailable, traffic can be transmitted through the standby route.
    Description Displays the description of the route.

    You can click the Edit icon to enter a description for the route or modify its description.

Enterprise Edition transit routers can search for routes based on IP addresses or CIDR blocks. You can enter an IP address or a CIDR block in the Destination CIDR Block field. The system filters routes based on the specified IP address or CIDR block. Enter IP addresses or CIDR blocks in the following formats:
  • IP address: 192.168.1.1 or 192.168.0.1.
  • CIDR block: 10.0.0.0, 10.0.1.0, or 192.168.0.0/24.

View routes of a Basic Edition transit router

  1. Log on to the CEN console.
  2. On the Instances page, find the CEN instance that you want to manage and click the instance ID.
  3. Choose Basic Settings > Transit Router, find the transit router that you want to manage, and then click the ID of the transit router.
  4. On the details page of the transit router, click the Route Propagation tab.
  5. On the Route Entry tab, view the routes in the current region.
    Parameter Description
    Destination CIDR Block Displays the destination CIDR block of the route.
    Next Hop Displays the network instance that is specified as the next hop of the route.
    Type Displays the type of the network instance that is specified as the next hop of the route.
    • CCN: indicates that the route is advertised from a Cloud Connect Network (CCN) instance.
    • VPC: indicates that the route is advertised from a virtual private cloud (VPC).
    • VBR: indicates that the route is advertised from a virtual border router (VBR).
    • local_service: indicates that the route is a system route.
    Route Type Displays the route type. Valid values:
    • CEN: indicates that the route is a route learned by the transit router.
    • Custom: indicates that the route is a custom route.
    • System: indicates that the route is a system route that is automatically added.
    State Displays the status of the route. Valid values:
    • Available: indicates that the route is available.
    • Rejected: indicates that the route matches a routing policy of the route table and is unavailable.
    • Candidate: indicates that the route is a standby route. When the active route is unavailable, traffic can be transmitted through the standby route.
    Route Map Displays the routing policy that the route matches.

    If the route matches a routing policy, you can click details to view details about the routing policy.

    Route Property Displays the attributes of the route.

    You can click details to view the attributes of the route, such as the AS path, community value, and priority.

    Region Out Route Map Displays the routing policy that the route matches to forward packets to other regions.
    Region Out Status Displays the status of the route that forwards packets to other regions.

Delete a custom route from a route table of an Enterprise Edition transit router

  1. Log on to the CEN console.
  2. On the Instances page, find the CEN instance that you want to manage and click the instance ID.
  3. Choose Basic Settings > Transit Router, find the transit router that you want to manage, and then click the ID of the transit router.
  4. On the details page of the transit router, click the Route Propagation tab.
  5. In the left-side section, click the ID of the route table that you want to manage.
  6. On the Route Entry tab of the route table details page, find the route that you want to delete and click Delete in the Actions column.
  7. In the Delete Route Entry message, confirm the information and click OK.

References