Specifying the match conditions – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 112

Advertising
background image

84

Multi-Service IronWare Routing Configuration Guide

53-1003033-02

Filtering

Specifying the match conditions

Use the following command to define the match conditions for instance 1 of the route map
GET_ONE. This instance compares the route updates against BGP4 address filter 11.

Brocade(config-routemap GET_ONE)# match address-filters 11

Syntax: [no] match

[as-path name]
[community acl exact-match] |
[extcommunity acl |
[ip address acl | prfix-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 ..
protocol bgp static-network
protocol bgp external
protocol bgp internal

The as-path num parameter specifies an AS-path ACL. You can specify up to five AS-path ACLs. To
configure an AS-path ACL, use the ip as-path access-list command. Refer to

“Defining an AS-path

ACL”

on page 76.

The community num parameter specifies a community ACL.

NOTE

The ACL must already be configured.

The community acl exact-match parameter matches a route if (and only if) the route community
attributes field contains the same community numbers specified in the match statement.

The extcommunity acl parameter identifies a set of sites and VRFs that may receive routes that are
tagged with the configured route target and site of origin.

The ip address | next-hop acl-num | prefix-list string parameters specify an ACL or IP prefix list. Use
this parameter to match based on the destination network or next-hop gateway. To configure an IP
ACL for use with this command, use the ip access-list command.

The ip route-source acl | prefix name parameters match based on the source of a route (the IP
address of the neighbor from which the device learned the route).

The metric num parameter compares the route MED (metric) to the specified value.

The next-hop address-filter-list parameter compares the IP address of the route next-hop to the
specified IP address filters. The filters must already be configured.

The route-type internal | external-type1 | external-type2 parameters apply only to OSPF routes.
These parameters compare the route type to the specified value. The level-1 parameter compares
IS-IS routes only with routes within the same area. The level-2 parameter compares IS-IS routes
only with routes in different areas, but within a domain. The level-1-2 parameter compares IS-IS
routes with routes in the same area and in different areas, but within a domain.

The tag tag-value parameter compares the route tag to the specified tag value.

The protocol bgp static-network parameter matches on BGP4 static network routes.

Advertising