Policy > Networking > Connectivity > Tier-0 Gateways > Routing > Route Maps

Create or update a route map

If a route map with the route-map-id is not already present, create a new
route map. If it already exists, update the route map for specified
attributes.
This API is available when using VMware Cloud on AWS or VMware NSX-T.

Request:

Method:
PATCH
URI Path(s):
/policy/api/v1/infra/tier-0s/<tier-0-id>/route-maps/<route-map-id>
Request Headers:
n/a
Query Parameters:
n/a
Request Body:
Tier0RouteMap+

Example Request:

PATCH https://<policy-mgr>/policy/api/v1/infra/tier-0s/vmc_prv/route-maps/rm1 { "entries": [ { "community_list_matches": [ { "criteria": "/infra/tier-0s/vmc/community-lists/cl1", "match_operator": "MATCH_ALL" }], "set": { "as_path_prepend": "3354.1234", "med": 20, "weight": 12 }, "action": "PERMIT" }, { "prefix_list_matches": [ "/infra/tier-0s/vmc/prefix-lists/pl1" ], "set": { "as_path_prepend": "3354.1234", "med": 20, "weight": 12 }, "action": "PERMIT" } ] }

Successful Response:

Response Code:
200 OK
Response Headers:
n/a
Response Body:
n/a

Example Response:

200 OK

Required Permissions:

crud

Feature:

policy_t0

Additional Errors: