Defining route maps – Brocade FastIron Ethernet Switch Layer 3 Routing Configuration Guide User Manual
Page 443
To configure a distribute list that uses ACL 1, enter a command such as the following.
device(config-bgp)# neighbor 10.10.10.1 distribute-list 1 in
This command configures the device to use ACL 1 to select the routes that the device will accept from
neighbor 10.10.10.1.
Syntax: [no] neighbor ip-addr distribute-list name-or-num in | out
The ip-addr parameter specifies the neighbor.
The name-or-num parameter specifies the name or number of a standard or named ACL.
The in and out parameters specify whether the distribute list applies to inbound or outbound routes:
• in - controls the routes the device will accept from the neighbor.
• out - controls the routes sent to the neighbor.
Defining route maps
A route map is a named set of match conditions and parameter settings that the device can use to
modify route attributes and to control redistribution of the routes into other protocols. A route map
consists of a sequence of instances . If you think of a route map as a table, an instance is a row in that
table. The device evaluates a route according to route map instances in ascending numerical order. The
route is first compared against instance 1, then against instance 2, and so on. When a match is found,
the device stops evaluating the route.
Route maps can contain match clauses and set statements. Each route map contains a permit or deny
action for routes that match the match clauses:
• If the route map contains a permit action, a route that matches a match statement is permitted;
otherwise, the route is denied.
• If the route map contains a deny action, a route that matches a match statement is denied.
• If a route does not match any match statements in the route map, the route is denied. This is the
default action. To change the default action, configure the last match statement in the last instance of
the route map to permit any any .
• If there is no match statement, the software considers the route to be a match.
• For route maps that contain address filters, AS-path filters, or community filters, if the action specified
by a filter conflicts with the action specified by the route map, the route map action takes precedence
over the filter action.
If the route map contains set clauses, routes that are permitted by the route map match statements are
modified according to the set clauses.
Match statements compare the route against one or more of the following:
• The route BGP4 MED (metric)
• A sequence of AS-path filters
• A sequence of community filters
• A sequence of address filters
• The IP address of the next hop device
• The route tag
• For OSPF routes only, the route type (internal, external type-1, or external type-2)
• An AS-path ACL
• A community ACL
• An IP prefix list
• An IP ACL
For routes that match all of the match statements, the route map set clauses can perform one or more
of the following modifications to the route attributes:
Defining route maps
FastIron Ethernet Switch Layer 3 Routing Configuration Guide
443
53-1003087-04