Matching based on destination network, Matching based on next-hop router, Matching based on the route source – Brocade BigIron RX Series Configuration Guide User Manual
Page 958
 
880
BigIron RX Series Configuration Guide
53-1002484-04
Filtering
27
Syntax: match community <string>
The <string> parameter specifies a community list ACL. To configure a community list ACL, use the 
ip community-list command. Refer to 
Matching based on destination network
You can use the results of an IP ACL or an IP prefix list as the match condition.
To construct a route map that matches based on destination network, enter commands such as 
the following.
BigIron RX(config)# route-map NetMap permit 1
BigIron RX(config-routemap NetMap)# match ip address 1
Syntax: match ip address <ACL-name-or-num>
Syntax: match ip address prefix-list <name>
The <name-or-num> parameter with the first command specifies an IP ACL and can be a number 
from 1 – 199 or the ACL name if it is a named ACL. To configure an IP ACL, use the ip access-list or 
access-list command. Refer to 
Chapter 22, “Access Control List”
The <name> parameter with the second command specifies an IP prefix list name. To configure an 
IP prefix list, refer to 
“Defining and applying IP prefix lists”
Matching based on next-hop router
You can use the results of an IP ACL or an IP prefix list as the match condition.
To construct a route map that matches based on the next-hop router, enter commands such as the 
following.
BigIron RX(config)# route-map HopMap permit 1
BigIron RX(config-routemap HopMap)# match ip next-hop 2
Syntax: match ip next-hop <num>
Syntax: match ip next-hop prefix-list <name>
The <num> parameter with the first command specifies an IP ACL and can be a number from 1 – 
199 or the ACL name if it is a named ACL. To configure an IP ACL, use the ip access-list or 
access-list command. Refer to 
Chapter 22, “Access Control List”
The <name> parameter with the second command specifies an IP prefix list name. To configure an 
IP prefix list, refer to 
“Defining and applying IP prefix lists”
Matching based on the route source
To match a BGP4 route based on its source, use the match ip route-source statement. Here is an 
example. 
BigIron RX(config)# access-list 10 permit 192.168.6.0 0.0.0.255
BigIron RX(config)# route-map bgp1 permit 1
BigIron RX(config-routemap bgp1)# match ip route-source 10