Using a table map to set the tag value, Redistributing static routes – Brocade BigIron RX Series Configuration Guide User Manual

Page 942

Advertising
background image

864

BigIron RX Series Configuration Guide

53-1002484-04

Using a table map to set the tag value

27

The route-map <map-name> parameter specifies a route map to be consulted before adding the
OSPF route to the BGP4 route table.

Redistributing static routes

To configure the device to redistribute static routes, enter the following command.

BigIron RX(config-bgp)# redistribute static

Syntax: redistribute static [metric <num>] [route-map <map-name>]

The static parameter indicates that you are redistributing static routes into BGP4.

The metric <num> parameter changes the metric. You can specify a value from 0 – 4294967295.
The default
is 0.

The route-map <map-name> parameter specifies a route map to be consulted before adding the
static route to the BGP4 route table.

The route map you specify must already be configured on the router. Refer to

“Defining route maps”

on page 876 for information about defining route maps.

Using a table map to set the tag value

Route maps that contain set statements change values in routes when the routes are accepted by
the route map. For inbound route maps (route maps that filter routes received from neighbors),
this means that the routes are changed before they enter the BGP4 route table.

For tag values, if you do not want the value to change until a route enters the IP route table, you can
use a table map to change the value. A table map is a route map that you have associated with the
IP routing table. The device applies the set statements for tag values in the table map to routes
before adding them to the route table.

To configure a table map, you configure the route map, then identify it as a table map. The table
map does not require separate configuration. You create it simply by calling an existing route map
a table map. You can have one table map.

NOTE

Use table maps only for setting the tag value. Do not use table maps to set other attributes. To set
other route attributes, use route maps or filters.

To create a route map and identify it as a table map, enter commands such as following. These
commands create a route map that uses an address filter. For routes that match the IP prefix list
filter, the route map changes the tag value to 100. This route map is then identified as a table map.
As a result, the route map is applied only to routes that the device places in the IP route table. The
route map is not applied to all routes. This example assumes that IP prefix list p11 has already
been configured.

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

BigIron RX(config-routemap TAG_IP)# match ip address prefix-list p11

BigIron RX(config-routemap TAG_IP)# set tag 100

BigIron RX(config-routemap TAG_IP)# router bgp

BigIron RX(config-bgp)# table-map TAG_IP

Advertising