Specify routing data manually

Relevant for: AFA Administrators

This topic explains how AFA administrators can manually change a device’s routing and topology data using URT (Unified Routing Table) files.

By default, AFA compiles routing and topology data from each device automatically every time the device is monitored or analyzed. However, you may want to override or supplement that data in situations where AFA does not automatically collect all necessary routing details (for example, an unsupported VPN type), or where you need to add custom elements.

AFA provides two fundamental ways to define routing information manually:

  • Static mode
  • Hybrid (mixed) mode

Overview of Modes

  • Static Mode

    • You upload a complete, static representation of the device’s routing data via a URT file.

    • After switching to Static mode for a device, AFA ignores any new changes made on the device unless you manually update and upload a new URT file.

    • This approach is helpful if you must override or correct all routing information for a device, but it requires continuous maintenance of the URT file to keep it in sync with the device.

  • Hybrid Mode

    • You provide only the additional or modified routing information to complement what AFA discovers automatically.

    • AFA continues to regenerate URT files during monitoring and analysis, and merges your custom “add-on” information.

    • In practice, this eliminates the need to maintain an entire static URT file. You maintain only the parts that AFA cannot (or does not) discover automatically—for example, an extra interface or custom routes.

    • The final URT used in AFA includes both the automatically discovered data and your additional route/interface data.

Usage Examples

Why Use Static Mode?

You might have a special scenario where you want to override all routing information with your own. For instance, if a device’s routing data is highly customized or significantly different from what AFA can parse. In such a case, you select Static mode, provide your URT file, and AFA will rely solely on your URT file for future analyses.

Why Use Hybrid Mode?

You may have a fully supported device but with a few custom elements—perhaps an interface or route that AFA doesn’t detect automatically. Rather than providing a complete static URT file that must be updated every time the device changes, you can simply maintain a tiny “delta” file (named additionalRoutes.urt) that adds those custom routes or interfaces. AFA merges the “additionalRoutes.urt” content with the automatically discovered data.

To specify routing data manually

Note: You can only specify routing data for AWS VPC and Transit Gateway from the map, see To specify routing data from the map

Specifying routing data manually for primary devices with sub-devices is done differently than for primary devices without secondary devices.

If sub-devices are defined in the URT file, specify routing data manually for each sub-device (not for the parent device). If the primary device has no secondary device, specify routing data manually for it directly.

To specify routing data from the map

This procedure describes how to specify routing data manually using Static mode directly from the map , instead of the Devices Setup page.

Do the following:

  1. In AFA, view the graphic network map. Click DEVICES, select a device, and then click MAP.

  2. Locate and right-click the device you want to edit, and select Routing Information.

    The Routing information dialog shows the current URT file. For example:

  3. Select Static Routing Table (URT), and then do one of the following:

    • If you already have a URT defined that you want to edit, click Download current URT file.
    • To create a new URT file, click Download Sample files.
  4. Edit the file with the routing information you want to import. See an example for manually specifying routing information at How to manually specify routing information for Cisco Layer 2 devices in AlgoPedia.

  5. Again access the Devices Setup page. For details, see Access the DEVICES SETUP page.

  6. From the tree on the left, select the device or sub-device you want to edit, and then click Edit on the right.
  7. In the Route Collection area, select Static Routing Table (URT).
  8. click Upload new file, and select the your edited file.

    AFA validates your file, and notifies you if any syntax or content error is found.

  9. When complete, click OK.

    The new routing table will take affect after the next device analysis.