RouteMapMatchCriteriaEntry

RouteMapMatchCriteriaEntry
RouteMapMatchCriteriaEntry

An object representing the Route Map matching criteria item.

JSON Example
{
    "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"
        }
    ]
}
string
type
Required

The type of Route Map entry. Possible values are:

  • IP_PREFIX
  • COMMUNITY_LIST
ipPrefixListMatchCriteria property must be set if the type of entry is IP_PREFIX. communityListMatchCriteria property must be set if the type of entry is COMMUNITY_LIST.
string
action
Required

Action for the Route Map entry. Possible values are:

  • PERMIT
  • DENY
string
asPathPrepend
Optional

AS path prepend to influence route selection in ASPLAIN or ASDOT formats, like ASPLAIN format :- '65546', ASDOT format :- '1.10'.

integer As int64 As int64
localPreference
Optional

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.

integer As int64 As int64
multiExitDiscriminator
Optional

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.

boolean
preferGlobalIPv6NextHop
Optional

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.

integer As int32 As int32
weight
Optional

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.

string
community
Optional

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.

communityListMatchCriteriaItems
Optional

The list of Community Lists to match against. This must be specified if the type of entry is COMMUNITY_LIST.

ipPrefixListMatchCriteriaItems
Optional

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.

Availability
Added in 38.0