Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual
Page 446

The string parameter specifies an AS-path ACL and can be a number from 1 through 199. You can
specify up to five AS-path ACLs.
Matching based on community ACL
To construct a route map that matches based on community ACL 1, enter the following commands.
device(config)# ip community-list 1 permit 123:2
device(config)# route-map CommMap permit 1
device(config-routemap CommMap)# match community 1
Syntax: [no] match community string
The string parameter specifies a community list ACL. To configure a community list ACL, use the ip
community-list command.
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.
device(config)# route-map NetMap permit 1
device(config-routemap NetMap)# match ip address 1
Syntax: [no] match ip address ACL-name-or-num
Syntax: [no] match ip address prefix-list name
The ACL-name-or-num parameter with the first command specifies an IP ACL and can be a number
from 1 through 199 or the ACL name if it is a named ACL. Multiple ACLs may be added when
seperated by spaces. To configure an IP ACL, use the ip access-list or access-list command.
The name parameter with the second command specifies an IP prefix list name.
Matching based on next-hop device
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 device, enter commands such as the
following.
device(config)# route-map HopMap permit 1
device(config-routemap HopMap)# match ip next-hop 2
Syntax: [no] match ip next-hop string
Syntax: [no] match ip next-hop prefix-list name
The string parameter with the first command specifies an IP ACL and can be a number from 1 through
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.
The name parameter with the second command specifies an IP prefix list name.
Matching based on the route source
To match a BGP4 route based on its source, use the match ip route-source command.
device(config)# access-list 10 permit 192.168.6.0 0.0.0.255
Configuring BGP4 (IPv4)
446
FastIron Ethernet Switch Layer 3 Routing Configuration Guide
53-1003087-04