A route map consists of a sequence of IP prefix lists, BGP path attributes, and an associated action. The router scans the sequence for an IP address match. If there is a match, the router performs the action and scans no further.

About this task

Route maps can be referenced at the BGP neighbor level and route redistribution. When IP prefix lists are referenced in route maps and the route map action of permitting or denying is applied, the action specified in the route map sequence overrides the specification within the IP prefix list.

Prerequisites

Verify that an IP prefix list is configured. See Create an IP Prefix List.

Procedure

  1. From your browser, log in to an NSX Manager at https://nsx-manager-ip-address.
  2. Select Routing from the navigation panel.
  3. Select the tier-0 logical router.
  4. Select Routing > Route Maps.
  5. Click Add.
  6. Enter a name and an optional description for the route map.
  7. Click Add to add an entry in the route map.
  8. Select one or more IP prefix lists.
  9. (Optional) : Set BGP attributes.

    BGP Attribute

    Description

    AS-path Prepend

    Prepend a path with one or more AS (autonomous system) numbers to make the path longer and therefore less preferred.

    MED

    Multi-Exit Discriminator indicates to an external peer a preferred path to an AS.

    Weight

    Set a weight to influence path selection. The range is 0 - 65535.

    Community

    Specify a community using the aa:nn format, for example, 300:500. Or use the drop-down menu to select one of the following:

    • NO_EXPORT_SUBCONFED - Do not advertise to EBGP peers.

    • NO_ADVERTISE - Do not advertise to any peer.

    • NO_EXPORT - Do not advertise outside BGP confederation

  10. In the Action column, select Permit or Deny.

    You can permit or deny IP addresses in the IP prefix lists from advertising their addresses.

  11. Click Save.