Match (route map) – Brocade Network OS Command Reference v4.1.0 User Manual

Page 492

Advertising
background image

454

Network OS Command Reference

53-1003115-01

match (route map)

2

match (route map)

Defines a variety of match conditions for a route map.

Synopsis

match {[as-path name] | [community acl exact-match] | [ip address acl | prefix-list string] |
[ip route-source acl | prefix name] | [metric num] | [next-hop address-filter-list] | [route-type
[internal | external-type1 | external-type2]] | [level-1 | level-2 | level-1-2] [tag tag-value] |
interface interface interface interface . . . interface | [protocol bgp static-network | protocol bgp
external | protocol bgp internal]} {ip address acl acl-name}

no match

no match {ip address acl acl-name}

Operands

as-path

Specifies an AS-path ACL that is configured by the ip as-path access-list
command.

name

Name of the ACL.

community acl exact-match

Matches a route if and only if the route community attributes field contains
the same community numbers specified in the match statement.

ip address

Specifies an IP ACL or prefix list.

acl

ACL that is configured by the ip as-path access-list command.

prefix-list

Specifies an IP prefix list.

string

Name of the prefix list.

ip route-source

Specifies an IP route source ACL or prefix list.

acl

ACL that is configured by the ip as-path access-list command.

prefix

IP prefix.

name

Name of the prefix.

metric

Compares the route MED (metric) to the value specified by num.

num

BGP4 route metric.

next-hop

Compares the IPv4 address of the route next hop to the specified IP
address filters. The filters must be already configured by means of the
distribute-list command.

address-filter-list Number of the address filter list configured by means of the neighbor

distribute-list command.

route-type

Compares a route type to a specified value. Applies to OSPF routes only.

internal

Specifies an internal route.

external-type1

Specifies an External Type 1 route.

external-type2

Specifies an External Type 2 route.

level-1

Compares IS-IS routes only with routes in the same area.

level-2

Compares IS-IS routes only with routes in different areas, but within a
domain.

Advertising