RouteMapMatchCriteriaEntry
An object representing the Route Map matching criteria item.
{
"type": "string",
"action": "string",
"asPathPrepend": "65546, 1.10",
"localPreference": 0,
"multiExitDiscriminator": 0,
"preferGlobalIPv6NextHop": false,
"weight": 0,
"community": "NO_EXPORT 11:22:33",
"communityListMatchCriteriaItems": [
{
"operator": "string",
"communityListRef": {
"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
"name": "string",
"type": "string"
},
"regexValue": "string"
}
],
"ipPrefixListMatchCriteriaItems": [
{
"id": "2a4ba9ad-e8d5-409c-8cae-c06910cd9b47",
"name": "string",
"type": "string"
}
]
}
The type of Route Map entry. Possible values are:
- IP_PREFIX
- COMMUNITY_LIST
Action for the Route Map entry. Possible values are:
- PERMIT
- DENY
AS path prepend to influence route selection in ASPLAIN or ASDOT formats, like ASPLAIN format :- '65546', ASDOT format :- '1.10'.
Local preference to set for matching BGP routes. Local preference indicates the degree of preference for one BGP route over other BGP routes. The path with highest local preference is preferred.
Multi-exit discriminator. Multi-exit discriminator (MED) is a hint to BGP neighbors about the preferred path into an autonomous system (AS) that has multiple paths.
Prefer global IPv6 next hop over local next hop. For incoming and import Route Maps on receiving both IPv6 global and IPv6 link-local address for the route, prefer to use the global address as the next hop. By default, it prefers the link-local next hop.
Weight used to select certain path. Weight is used to select a route when multiple routes are available to the same network. Route with the highest weight is preferred.
Set BGP regular or large community for matching routes. A maximum of one value for each community type separated by space. Regular type can only be combined with a large community. Well-known community name, community value in aa:nn (2byte:2byte) format for regular community and community value in aa:bb:nn (4byte:4byte:4byte) format for large community are supported.
The list of Community Lists to match against. This must be specified if the type of entry is COMMUNITY_LIST.
The list of IP Prefixes to match against. This must be specified if the type of entry is IP_PREFIX. This refers to the ID and name of BGP Prefix lists.