This topic describes how to view routes of a transit router.

Background information

Each Basic Edition transit router is associated with only one default route table. The default route table of a Basic Edition transit router contains routes of all network instances that are connected to the transit router. In the default route table, you can view all routes in the region where the Basic Edition transit router is deployed.

Each Enterprise Edition transit router is associated with a default route table. In addition, you can create multiple custom route tables for each Enterprise Edition transit router. Route tables that are associated with the same transit router are independent of each other. You can query routes of any route table that is associated with an Enterprise Edition transit router.

For more information about how to check the edition of a transit router, see View the edition of a transit router.

View routes of an Enterprise Edition transit router

  1. Log on to the CEN console.
  2. On the Instances page, click the ID of the CEN instance that you want to manage.
  3. On the Transit Router tab, find the transit router in the region where you want to view the routes and click the ID of the transit router.
  4. On the details page of the transit router, click Route Table.
  5. On the left side of the Route Table tab, click the ID of the route table that you want to manage.
  6. On the details page of the route table, you can view routes in the current route table.
    Parameter Description
    Name Displays the name and ID of the route.

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

    The name must be 2 to 128 characters in length and can contain digits, underscores (_), and hyphens (-). It must start with a letter or Chinese character.

    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.
    • Attachment: indicates that route is propagated from a network instance.
    • BlackHole: indicates that the route is a null route.

      All packets that match the null route are dropped.

    Route Type Displays the type of the route.
    • Propagated: indicates that the route is a Cloud Enterprise Network (CEN) route.
    • Static: indicates that the route is a custom route.
    Route Status Displays the state of the route.
    • Active: indicates that the route is active.
    • Rejected: indicates that the route matches a route map of the route table and is rejected.
    • Prohibited: indicates that the route is prohibited because the number of routes reaches the upper limit of the transit router.

      For more information about the total number of routes supported by each Enterprise Edition transit router, see Limits.

    Description Displays the description of the route.

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

    The description must be 2 to 128 characters in length and can contain digits, underscores (_), and hyphens (-). It must start with a letter or Chinese character.

View routes of a Basic Edition transit router

  1. Log on to the CEN console.
  2. On the Instances page, click the ID of the CEN instance that you want to manage.
  3. On the Transit Router tab, find the transit router in the region where you want to view the routes and click the ID of the transit router.
  4. On the details page of the transit router, click Route Table.
  5. On the details page of the route table that is associated with the transit router, view routes in the region where the transit router is created.
    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 propagated from a Cloud Connect Network (CCN) instance.
    • VPC: indicates that the route is propagated from a virtual private cloud (VPC).
    • VBR: indicates that the route is propagated from a virtual border router (VBR).
    • local_service: indicates that the route is a system route.
    Route Type Displays the type of the route.
    • CEN: indicates that the route is a CEN route.
    • Custom: indicates that the route is a custom route.
    • System: indicates that the route is a system route that is automatically added.
    Status Displays the state of the route.
    Route Map Displays the route map that route matches.

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

    Route Property Displays the properties of the route.

    Click details to view properties of the route. For example, you can view the AS Path, Community, and priority value of the route.

    Region Out Route Map Displays the route map that the route matches to forward packets to another region.
    Region Out Status Displays the state of the route to another region.