Skip to main content
This topic describes the Megaport Cloud Router (MCR) Looking Glass. The Looking Glass provides single-screen visibility into traffic routing. This visibility helps you troubleshoot connections by showing the status of protocols and routing tables in the MCR.

MCR route selection

MCR uses Border Gateway Protocol (BGP) to exchange network reachability information with adjacent BGP systems, known as neighbors, or peers. During the process of transporting data between BGP neighbors from a source to a destination, MCR makes complex routing decisions about where to send traffic over available routes. MCR forwards traffic on preferred routes using a combination of metrics received from BGP neighbors and settings on the MCR itself. In addition, MCR follows standard BGP policies and autonomous system (AS) routing best practices. All routes are stored in a routing table. The routing table merges all of the routes from different protocols and connected networks.

What the Looking Glass tells you

The Looking Glass answers questions such as:
  • What route is MCR currently using to send traffic?
  • What are all possible routes MCR can use?
  • What IP prefixes and routes have I received from my BGP neighbor(s)?
  • Which routes have been advertised to my BGP neighbor(s)?
  • Does a route exist in the routing table for a specific destination?
Megaport offers a public API that you can use to access the services available through the Looking Glass. For more information, see Megaport API Overview.

Viewing the Looking Glass

The routing table information is available through the Looking Glass only after you have provisioned one or more MCRs. To view the Looking Glass
  1. Log in to the and select Services.
  2. Choose Tools > MCR/NAT Gateway Looking Glass.
    Or click the binoculars icon next to an MCR for easy access.
The Looking Glass displays the routing table entries along with the path MCR uses to arrive at a destination, the VXCs that connect the BGP neighbors, the protocols associated with the routes, and more.
  • MCR Selection — A drop-down list of all provisioned MCRs for an account.
  • BGP Sessions — This section includes all BGP sessions configured on the VXCs for the selected MCR.
  • Routing Table — This table provides the big picture by displaying all of the networks that MCR can reach, including static, local, connected, and BGP routes. MCR consults this table when selecting the best route for forwarding traffic to a destination.
When MCR has more than 20 route table entries, the list is paginated. You can change how many routes are displayed per page using the drop-down list at the bottom of the routing table. The total number of entries in the routing table appears at the top and the bottom of the routing table.

BGP sessions

BGP communicates between two neighbors using a standard TCP connection. Once connected, the BGP neighbors share routing information with each other. The connection between the neighbors is called a BGP session. The BGP Sessions list includes all BGP sessions running on the Virtual Cross Connects (VXCs) for the selected MCR. Use this list to find all routes that have been advertised or received from BGP neighbors. To search for routes within a BGP session
  1. Type an IP address or text to find matches.
  2. Click Neighbour Routes to open a new tab for that session. The tab shows the routes advertised toward or received from that peer BGP router.
  3. Select Advertised or Received to sort the routes.
You can open up to five session tabs simultaneously. Adding more than five sessions replaces the first tab selection with the latest tab selection.
To sort the table by column
  • Click the up/down triangles next to a column heading.
    The table columns reload, if necessary.
  • Click the heading again to reverse the order.
    A small up or down triangle reflects the current bidirectional sort order.

VXC details

Status icons indicate the current BGP session status:
  • A green check mark means that the session is up.
  • A red x means that the session is down.
  • A yellow information icon means that the session status is unknown.
To view or edit a VXC
  • Click the VXC name.
    The Connection Details page appears.

Routing table

The routing table includes all of the networks that MCR can reach, along with the path MCR uses to arrive at a destination. When MCR receives a packet, it examines the packet’s destination IP address and uses the routing table to make forwarding decisions accordingly. For example, suppose MCR is selecting a route for a packet with a destination IP address of 10.0.0.3. MCR consults the routing table and considers 10.0.0.0/8 and 10.0.0.0/24 as candidates because they both cover the address range. In this example, MCR would select 10.0.0.0/24 as the best match, because it is the most specific.

Searching the routing table

This section describes several ways to retrieve detailed information about routes. To view the routing table
  1. Select the Routes Table tab.
  2. Select All Routes.
  3. After Protocol, select All Types.
    The Looking Glass displays all routes. The total number of routes appears at the top and bottom of the routing table.
To view routes by IP or network address
  1. Select Routes by IP.
  2. Enter an IPv4, IPv6, or network address with an optional subnet mask. When you enter the address, the control validates it and displays its format. For example, enter a valid IPv4 address and IPv4 appears in the control. The Looking Glass searches for all routes associated with the protocol and displays matching table entries.
The Looking Glass searches through the entire routing table, not just the current page you are viewing.
To view routes by protocol
  1. Select All Routes.
  2. Select a protocol.
    The Looking Glass searches for all routes associated with the protocol and displays matching table entries.
To view routes using a text filter
  1. Select All Routes.
  2. Enter text, one search term at a time. For example, type Azure or 20.
    The Looking Glass filters the table based on the search term and displays matching table entries.
This table describes the column headings and their meaning. To sort the table by column
  • Click the up/down triangles next to a column heading.
    The table columns reload, if necessary.
  • Click the triangle in the heading again to reverse the order. The triangle reflects the current bidirectional sort order.

Viewing BGP routes

A BGP route is a destination consisting of an IP address prefix and other details describing the path to the destination. The BGP table page displays the BGP table that summarizes all BGP routes (not only the best routes) from all the BGP neighbors, including several routes to the same network with different attributes. To view the BGP table
  1. Select the BGP Table tab.
  2. Select All Routes.
To search for BGP routes by IP address
  1. Select the BGP Table tab.
  2. Select Routes by IP.
  3. Enter an IPv4 or IPv6 network address with an optional subnet mask. When you enter the address, the control validates it and displays its format. For example, enter a valid IPv4 address and IPv4 appears in the control.
    The Looking Glass searches for the prefix and displays entries from the BGP routing table.
To view routes using a text filter
  1. Select All Routes.
  2. Enter text, one search term at a time. For example, type AWS or 20.
    The Looking Glass filters the table based on the search term and displays matching table entries.
This table describes the column headings and their meaning.

BGP route details

BGP routes have several associated attributes that MCR can consider to select the best route. Looking Glass retrieves the values for the BGP attributes directly from MCR. They can either be values that MCR has received, or they can be values that MCR has set. To view BGP route details
  • Select the down arrow next to a prefix.
This table describes the attributes and their meaning.

Viewing static routes

Static routes are manually defined and maintained. Static routing is not really a routing protocol but instead a simple process of manually entering a route prefix and destination to define a route. To view static routes
  1. Select the Routes Table tab.
  2. Select All Routes.
  3. For Protocol, select Static.

Reloading the data

Routes are added, updated, and withdrawn from the routing tables as the networks change. The Looking Glass collects route details when you select an MCR and doesn’t refresh changes to the routes table automatically. The routes table updates when you manually reload the data. To reload the route information
  • Click Reload Data in the upper-right corner.
The MCR Looking Glass has a limit of 100 requests per day per MCR.
Last modified on August 21, 2026