BSR 2000 Configuration and Management Guide
Match and Set Statements
Match statements define the conditions that must be met by a route. Each instance
may contain multiple match statements.If all match statements within a given instance
match for a given route, the route meets the conditions of the instance. Therefore, the
ordering of match statements within an instance does not matter. If an instance has no
match statements, all routes meet the conditions of the instance (unless they are
denied by an instance with a lower sequence-number).
Set statements define the conditions that are applied to the route. If the match
conditions of a given instance are met by a route, all set statements within the instance
are applied to the route. Therefore, the ordering of set statements within an instance
does not matter since either all or none are applied.
If an instance has no set statements and all the match statements in the instance match,
nothing is set for the route. The route is simply redistributed, advertised, or learned as
is (depending on where the route map is applied).
Table 12-2
12-50
WORD uniquely identifies a route map.
permit specifies consider the route for further operation.
deny specifies do not consider the route for further operation.
0-65535 uniquely identifies an instance of the route map. Instances with lower
sequence numbers are parsed first.
shows match commands for creating route maps.
Command
match as-path
match community
match ip address
match ip next-hop
match metric
match ip route-src
Table 12-2 match Commands
Description
Matches a BGP AS_path access list.
Matches a BGP community list.
Matches an IP access list.
Matches the next-hop ip address.
Matches a routing metric value. For BGP, this
is the MED.
Matches neighbor IP address
MGBI
Release 1.0
526360-001-00 Rev. B