To define which routes are redistributed in the domain, you configure route maps in the tier-0 gateway.
Procedure
- On the NSX Manager main navigation bar, click Networking.
- In the navigation pane, click Tier-0 gateways.
- Select the gateway, and from the ellipsis menu, click Edit.
- Create a route map for traffic incoming to availability zone 2.
- Expand the Routing section and in the Route maps section, click Set.
- In the Set route maps dialog box, click Add route map.
- Enter a name for the route map.
- In the Match criteria column, click Set.
- 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
- Click Add and then click Apply.
- In the Set route maps dialog box, click Save.
- 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
- In the Set route maps dialog box, click Close.