This topic describes how to view route details and how to edit, publish, unpublish, and delete routing rules of a gateway.
View route details
Log on to the MSE console. In the top navigation bar, select a region.
In the left-side navigation pane, choose Cloud-native Gateway > Gateways. On the Gateways page, click the ID of the gateway.
In the left-side navigation pane, click Routes. Then, click the Routes tab.
Click the name of the desired route and view route information, such as the basic information, policy settings, monitoring data, and log data.
Modify a routing rule
Log on to the MSE console. In the top navigation bar, select a region.
In the left-side navigation pane, choose Cloud-native Gateway > Gateways. On the Gateways page, click the ID of the gateway.
In the left-side navigation pane, click Routes. Then, click the Routes tab.
Click Edit in the Actions column of the target route, or click the name of the target route to go to the Overview page and click the Edit button in the upper-right corner. On the edit page, modify the route parameters and then click Save And Publish.
Publish a routing rule
Log on to the MSE console. In the top navigation bar, select a region.
In the left-side navigation pane, choose Cloud-native Gateway > Gateways. On the Gateways page, click the ID of the gateway.
In the left-side navigation pane, click Routes. Then, click the Routes tab.
In the Actions column for the target route, choose , or click the name of the target route to open the Overview page, click the Publish button in the upper-right corner, and then click OK in the dialog box.
This operation applies only to unpublished routes. After a route is published, its status changes to Published, which indicates that the operation is successful. You cannot publish a route that is already published. To update a published route, you can modify the routing rule and then publish it again.
Unpublish a routing rule
Log on to the MSE console. In the top navigation bar, select a region.
In the left-side navigation pane, choose Cloud-native Gateway > Gateways. On the Gateways page, click the ID of the gateway.
In the left-side navigation pane, click Routes. Then, click the Routes tab.
In the Actions column for the target route, choose , or click the name of the target route to open the Overview page, click the Unpublish button in the upper-right corner, and then click OK in the dialog box.
This operation applies only to published routes. After a route is unpublished, its status changes to Unpublished, which indicates that the operation is successful. You do not need to unpublish a route that is already unpublished.
Delete a routing rule
Log on to the MSE console. In the top navigation bar, select a region.
In the left-side navigation pane, choose Cloud-native Gateway > Gateways. On the Gateways page, click the ID of the gateway.
In the left-side navigation pane, click Routes. Then, click the Routes tab.
In the Actions column for the target route, choose . Alternatively, click the target route name to open the Overview page, click the Unpublish button in the upper-right corner, and then click OK in the dialog box that appears.
This operation applies only to published routes. After a route is unpublished, its status changes to Unpublished. After the route is successfully unpublished, you can delete it.
In the Actions column for the target route, choose , or click the name of the target route to open the Overview page, click the Delete button in the upper-right corner, and then click OK in the dialog box.