Specifying the match conditions – Brocade TurboIron 24X Series Configuration Guide User Manual
Page 747

Brocade TurboIron 24X Series Configuration Guide
713
53-1003053-01
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.
TurboIron(config-routemap GET_ONE)#match address-filters 11
Syntax: match [as-path
[next-hop
internal | external-type1 | external-type2] | [tag
The as-path
To configure an AS-path ACL, use the ip as-path access-list command. Refer to
The address-filters | as-path-filters | community-filters
or list of filters to be matched for each route. The router treats the first match as the best match. If
a route does not match any filter in the list, then the router considers the match condition to have
failed. To configure these types of filters, use commands at the BGP configuration level:
•
To configure an address filter, refer to
“Filtering specific IP addresses”
•
To configure an AS-path filter or AS-path ACL, refer to
•
To configure a community filter or community ACL, refer to
You can enter up to six community names on the same command line.
NOTE
The filters must already be configured.
The community
NOTE
The ACL must already be configured.
The community
community attributes field contains the same community numbers specified in the match
statement.
The ip address | next-hop
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. Refer to
on page 897. To configure an IP prefix list, use the ip prefix-list command. Refer to
The ip route-source
(the IP address of the neighbor from which the device learned the route).
The metric
The next-hop
specified IP address filters. The filters must already be configured.
The nlri multicast | unicast | multicast unicast parameter specifies whether you want the route
map to match on multicast routes, unicast routes, or both route types.