beautypg.com

Entering the route map into the software – Brocade BigIron RX Series Configuration Guide User Manual

Page 955

background image

BigIron RX Series Configuration Guide

877

53-1002484-04

Filtering

27

A sequence of community filters

A sequence of address filters

The IP address of the next hop router

The route’s tag

For OSPF routes only, the route’s 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’s set statements can perform
one or more of the following modifications to the route’s attributes:

Prepend AS numbers to the front of the route’s AS-path. By adding AS numbers to the AS-path,
you can cause the route to be less preferred when compared to other routes on the basis of the
length of the AS-path.

Add a user-defined tag to the route or add an automatically calculated tag to the route.

Set the community value.

Set the local preference.

Set the MED (metric).

Set the IP address of the next hop router.

Set the origin to IGP or INCOMPLETE.

Set the weight.

For example, when you configure parameters for redistributing routes into BGP, one of the optional
parameters is a route map. If you specify a route map as one of the redistribution parameters, the
router will match the route against the match statements in the route map. If a match is found and
if the route map contains set statements, the router will set attributes in the route according to the
set statements.

To create a route map, you define instances of the map. Each instance is identified by a sequence
number.

To define a route map, use the procedures in the following sections.

Entering the route map Into the software

To add instance 1 of a route map named “GET_ONE” with a permit action, enter the following
command.

BigIron RX(config)# route-map GET_ONE permit 1

BigIron RX(config-routemap GET_ONE)#

Syntax: [no] route-map <map-name> permit | deny <num>

As shown in this example, the command prompt changes to the Route Map level. You can enter
the match and set statements at this level. Refer to

“Specifying the match conditions”

on page 878

and

“Setting parameters in the routes”

on page 881.

The <map-name> is a string of characters that names the map. Map names can be up to 32
characters in length.