route-map match

Match values from routing table

match Specification

Type Configuration Resource
Element Name match
Element URI /axapi/v3/route-map/{tag}+{action}+{sequence}/match
Element Attributes match_attributes
Schema match schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/route-map/{tag}+{action}+{sequence}/match

match Attributes

Get Object

GET

/axapi/v3/route-map/{tag}+{action}+{sequence}/match

match Attributes

Modify Object

POST

/axapi/v3/route-map/{tag}+{action}+{sequence}/match

match Attributes

Replace Object

PUT

/axapi/v3/route-map/{tag}+{action}+{sequence}/match

match Attributes

Delete Object

DELETE

/axapi/v3/route-map/{tag}+{action}+{sequence}/match

match Attributes

match Attributes

as-path

Description: as-path is a JSON Block . Please see below for as-path

Type: Object

community

Description: community is a JSON Block . Please see below for community

Type: Object

extcommunity

Description: extcommunity is a JSON Block . Please see below for extcommunity

Type: Object

group

Description: group is a JSON Block . Please see below for group

Type: Object

interface

Description: interface is a JSON Block . Please see below for interface

Type: Object

ip

Description: ip is a JSON Block . Please see below for ip

Type: Object

ipv6

Description: ipv6 is a JSON Block . Please see below for ipv6

Type: Object

local-preference

Description: local-preference is a JSON Block . Please see below for local-preference

Type: Object

metric

Description: metric is a JSON Block . Please see below for metric

Type: Object

origin

Description: origin is a JSON Block . Please see below for origin

Type: Object

route-type

Description: route-type is a JSON Block . Please see below for route-type

Type: Object

tag

Description: tag is a JSON Block . Please see below for tag

Type: Object

uuid

Description: uuid of the object

Type: string

extcommunity

Specification
Type object

extcommunity-l-ext-cfg

Description: extcommunity-l-ext-cfg is a JSON Block . Please see below for l330_extcommunity-l-ext-cfg

Type: Object

extcommunity-l-name

Description: extcommunity-l-name is a JSON Block . Please see below for l330_extcommunity-l-name

Type: Object

extcommunity-l-std-cfg

Description: extcommunity-l-std-cfg is a JSON Block . Please see below for l330_extcommunity-l-std-cfg

Type: Object

extcommunity.extcommunity-l-std-cfg

Specification
Type object

exact-match

Description: Do exact matching of ecommunities

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

l-std

Description: Community-list number (standard)

Type: number

Range: 1-99

Mutual Exclusion: l-std l-ext and name are mutually exclusive

extcommunity.extcommunity-l-name

Specification
Type object

exact-match

Description: Do exact matching of ecommunities

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

name

Description: Community-list name

Type: string

Mutual Exclusion: name l-std and l-ext are mutually exclusive

extcommunity.extcommunity-l-ext-cfg

Specification
Type object

exact-match

Description: Do exact matching of ecommunities

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

l-ext

Description: Community-list number (expanded)

Type: number

Range: 100-199

Mutual Exclusion: l-ext l-std and name are mutually exclusive

origin

Specification
Type object

egp

Description: remote EGP

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: egp igp and incomplete are mutually exclusive

igp

Description: local IGP

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: igp egp and incomplete are mutually exclusive

incomplete

Description: unknown heritage

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

Mutual Exclusion: incomplete egp and igp are mutually exclusive

group

Specification
Type object

group-id

Description: HA or VRRP-A group id

Type: number

Range: 0-31

ha-state

Description: ‘active’: HA or VRRP-A in Active State; ‘standby’: HA or VRRP-A in Standby State;

Type: string

Supported Values: active, standby

ip

Specification
Type object

address

Description: address is a JSON Block . Please see below for l330_address

Type: Object

next-hop

Description: next-hop is a JSON Block . Please see below for l330_next-hop

Type: Object

peer

Description: peer is a JSON Block . Please see below for l330_peer

Type: Object

ip.peer

Specification
Type object

acl1

Description: IP access-list number

Type: number

Range: 1-199

Mutual Exclusion: acl1 acl2 and name are mutually exclusive

acl2

Description: IP access-list number (expanded range)

Type: number

Range: 1300-2699

Mutual Exclusion: acl2 acl1 and name are mutually exclusive

name

Description: IP access-list name

Type: string

Mutual Exclusion: name acl1 and acl2 are mutually exclusive

ip.next-hop

Specification
Type object

acl1

Description: IP access-list number

Type: number

Range: 1-199

Mutual Exclusion: acl1 acl2 and name are mutually exclusive

acl2

Description: IP access-list number (expanded range)

Type: number

Range: 1300-2699

Mutual Exclusion: acl2 acl1 and name are mutually exclusive

name

Description: IP access-list name

Type: string

Mutual Exclusion: name acl1 and acl2 are mutually exclusive

prefix-list-1

Description: prefix-list-1 is a JSON Block . Please see below for l330_prefix-list-1

Type: Object

ip.next-hop.prefix-list-1

Specification
Type object

name

Description: IP prefix-list name

Type: string

ip.address

Specification
Type object

acl1

Description: IP access-list number

Type: number

Range: 1-199

Mutual Exclusion: acl1 acl2 and name are mutually exclusive

acl2

Description: IP access-list number (expanded range)

Type: number

Range: 1300-2699

Mutual Exclusion: acl2 acl1 and name are mutually exclusive

name

Description: IP access-list name

Type: string

Mutual Exclusion: name acl1 and acl2 are mutually exclusive

prefix-list

Description: prefix-list is a JSON Block . Please see below for l330_prefix-list

Type: Object

ip.address.prefix-list

Specification
Type object

name

Description: IP prefix-list name

Type: string

metric

Specification
Type object

value

Description: Metric value

Type: number

Range: 0-4294967295

ipv6

Specification
Type object

address-1

Description: address-1 is a JSON Block . Please see below for l330_address-1

Type: Object

next-hop-1

Description: next-hop-1 is a JSON Block . Please see below for l330_next-hop-1

Type: Object

peer-1

Description: peer-1 is a JSON Block . Please see below for l330_peer-1

Type: Object

ipv6.next-hop-1

Specification
Type object

next-hop-acl-name

Description: IPv6 access-list name

Type: string

Mutual Exclusion: next-hop-acl-name and v6-addr are mutually exclusive

prefix-list-name

Description: IPv6 prefix-list name

Type: string

v6-addr

Description: IPv6 address of next hop

Type: string

Format: ipv6-address

Mutual Exclusion: v6-addr and next-hop-acl-name are mutually exclusive

ipv6.peer-1

Specification
Type object

acl1

Description: IPv6 access-list number

Type: number

Range: 1-199

Mutual Exclusion: acl1 acl2 and name are mutually exclusive

acl2

Description: IP access-list number (expanded range)

Type: number

Range: 1300-2699

Mutual Exclusion: acl2 acl1 and name are mutually exclusive

name

Description: IP access-list name

Type: string

Mutual Exclusion: name acl1 and acl2 are mutually exclusive

ipv6.address-1

Specification
Type object

name

Description: IPv6 access-list name

Type: string

prefix-list-2

Description: prefix-list-2 is a JSON Block . Please see below for l330_prefix-list-2

Type: Object

ipv6.address-1.prefix-list-2

Specification
Type object

name

Description: IPv6 prefix-list name

Type: string

community

Specification
Type object

l-ext-cfg

Description: l-ext-cfg is a JSON Block . Please see below for l330_l-ext-cfg

Type: Object

l-std-cfg

Description: l-std-cfg is a JSON Block . Please see below for l330_l-std-cfg

Type: Object

name-cfg

Description: name-cfg is a JSON Block . Please see below for l330_name-cfg

Type: Object

community.l-std-cfg

Specification
Type object

exact-match

Description: Do exact matching of ecommunities

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

l-std

Description: Community-list number (standard)

Type: number

Range: 1-99

Mutual Exclusion: l-std l-ext and name are mutually exclusive

community.name-cfg

Specification
Type object

exact-match

Description: Do exact matching of ecommunities

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

name

Description: Community-list name

Type: string

Mutual Exclusion: name l-std and l-ext are mutually exclusive

community.l-ext-cfg

Specification
Type object

exact-match

Description: Do exact matching of ecommunities

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

l-ext

Description: Community-list number (expanded)

Type: number

Range: 100-199

Mutual Exclusion: l-ext l-std and name are mutually exclusive

local-preference

Specification
Type object

val

Description: Preference value

Type: number

Range: 0-4294967295

route-type

Specification
Type object

external

Description: external is a JSON Block . Please see below for l330_external

Type: Object

route-type.external

Specification
Type object

value

Description: ‘type-1’: Match OSPF External Type 1 metrics; ‘type-2’: Match OSPF External Type 2 metrics;

Type: string

Supported Values: type-1, type-2

tag

Specification
Type object

value

Description: Tag value

Type: number

Range: 0-4294967295

as-path

Specification
Type object

name

Description: AS path access-list name

Type: string

interface

Specification
Type object

ethernet

Description: Ethernet interface (Port number)

Type: number

Format: interface

Mutual Exclusion: ethernet loopback, trunk and ve are mutually exclusive

loopback

Description: Loopback interface (Port number)

Type: number

Range: 1-10

Mutual Exclusion: loopback ethernet, trunk and ve are mutually exclusive

trunk

Description: Trunk Interface (Trunk interface number)

Type: number

Range: 1-16

Mutual Exclusion: trunk ethernet, loopback and ve are mutually exclusive

ve

Description: Virtual ethernet interface (Virtual ethernet interface number)

Type: number

Range: 2-4094

Mutual Exclusion: ve ethernet, loopback and trunk are mutually exclusive