Configure Route Maps in the Tier-0 Gateway for Availability Zone 2

To define which routes are redistributed in the domain, you configure route maps in the tier-0 gateway.
  1. On the NSX Manager main navigation bar, click
    Networking
    .
  2. In the navigation pane, click
    Tier-0 gateways
    .
  3. Select the gateway, and from the ellipsis menu, click
    Edit
    .
  4. Create a route map for traffic incoming to availability zone 2.
    1. Expand the
      Routing
      section and in the
      Route maps
      section, click
      Set
      .
    2. In the
      Set route maps
      dialog box, click
      Add route map
      .
    3. Enter a name for the route map.
    4. In the
      Match criteria
      column, click
      Set
      .
    5. On the
      Set match criteria
      dialog box, click
      Add match criteria
      and configure the following settings.
      Setting
      Value for Default Route
      Value for Any
      Type
      IP Prefix
      IP Prefix
      Members
      Default Route
      Any
      Local Preference
      80
      90
      Action
      Permit
      Permit
    6. Click
      Add
      and then click
      Apply
      .
    7. In the
      Set route maps
      dialog box, click
      Save
      .
  5. Repeat step 4 to create a route map for outgoing traffic from availability zone 2 with the following configuration.
    Setting
    Value
    Route map name
    rm-out-az2
    Type
    IP Prefix
    Members
    Any
    As Path Prepend
    bgp_asn
    Local Preference
    100
    Action
    Permit
  6. In the
    Set route maps
    dialog box, click
    Close
    .