Stay organized with collections
Save and categorize content based on your preferences.
Identify router maintenance events
Cloud Router undergoes periodic maintenance. For more information, see
Software
maintenance.
Identify events using the maintenance of router task message
In the Google Cloud console, the following message appears:
Maintenance of router task: BGP sessions will
restart. Routes are preserved for the duration of the configured timers. These
are normal events, and no data loss is expected to occur.
This message indicates that a Cloud Router maintenance event occurred
during the issue or time period.
Identify events using a log-based metric
Console
In the Google Cloud console, go to the Cloud Routers page.
Verify connectivity between the on-premises router and the Cloud Router
Use the following methods to verify connectivity:
For Cloud Router used with Cloud VPN, set up a dashboard
for network/received_packets_count and network/sent_packets_count to
monitor any loss in connectivity. For more information, see View VPN
metrics.
For Cloud Router used with Cloud Interconnect, set up a
dashboard for network/attachment/sent_packets_count and
network/attachment/received_packets_count to monitor the connectivity of
VLAN attachments. For more information, see Interconnect
metrics.
During Cloud Router maintenance events, metrics for each resource
aren't expected to show any gap of connectivity.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[],[],null,["# Identify router maintenance events\n==================================\n\nCloud Router undergoes periodic maintenance. For more information, see\n[Software\nmaintenance](/network-connectivity/docs/router/concepts/how-cloud-router-works#maintenance).\n\nIdentify events using the *maintenance of router task* message\n--------------------------------------------------------------\n\nIn the Google Cloud console, the following message appears:\n**Maintenance of router task: BGP sessions will\nrestart. Routes are preserved for the duration of the configured timers. These\nare normal events, and no data loss is expected to occur.**\n\nThis message indicates that a Cloud Router maintenance event occurred\nduring the issue or time period.\n\nIdentify events using a log-based metric\n----------------------------------------\n\n### Console\n\n1. In the Google Cloud console, go to the **Cloud Routers** page.\n\n [Go to Cloud Routers](https://console.cloud.google.com/hybrid/routers/list)\n2. Find the Cloud Router from the list of Cloud Routers.\n\n3. In the **Logs** column, click **View**.\n\n The default query appears in the query builder.\n4. From the default query, note the value of the router ID of the\n `resource.labels.router_id` variable.\n\n5. Build a new query by using the `resource.labels.router_id` value from the\n previous query as follows:\n\n ```\n resource.labels.router_id=ROUTER_ID\n textPayload=~\"Maintenance of router task: BGP sessions will restart.\"\n ```\n6. Create an alert with a notification of a maintenance event by using the\n previous query.\n\n This notification appears the first time the router is\n created and subsequently during every maintenance event.\n\n For more information about creating an alert,\n see [Create an alert policy on a counter metric](/logging/docs/logs-based-metrics/charts-and-alerts#alert-on-lbm).\n\nVerify connectivity between the on-premises router and the Cloud Router\n-----------------------------------------------------------------------\n\nUse the following methods to verify connectivity:\n\n- For Cloud Router used with Cloud VPN, set up a dashboard\n for `network/received_packets_count` and `network/sent_packets_count` to\n monitor any loss in connectivity. For more information, see [View VPN\n metrics](/network-connectivity/docs/vpn/how-to/viewing-logs-metrics#metrics).\n\n- For Cloud Router used with Cloud Interconnect, set up a\n dashboard for `network/attachment/sent_packets_count` and\n `network/attachment/received_packets_count` to monitor the connectivity of\n VLAN attachments. For more information, see [Interconnect\n metrics](/monitoring/api/metrics_gcp_i_o#gcp-interconnect).\n\nDuring Cloud Router maintenance events, metrics for each resource\naren't expected to show any gap of connectivity."]]