beautypg.com

Table-map (bgp) – Brocade Network OS Command Reference v4.1.0 User Manual

Page 1339

background image

Network OS Command Reference

1301

53-1003115-01

table-map (BGP)

2

table-map (BGP)

Maps external entry attributes into the routing table, ensuring that those attributes are preserved
after being redistributed into OSPF.

Synopsis

table-map string

no table-map string

Operands

string

Specifies a route map to be whose attributes are to be preserved. Range is
from 1 through 63 ASCII characters.

Defaults

This option is disabled.

Command Modes

BGP address-family IPv4 unicast configuration mode

Description

Use this command to map external entry attributes into the routing table, ensuring that those
attributes are preserved after being redistributed into OSPF This applies to all peers.

Usage Guidelines

Use this command only to set the tag values. Normally, a route map is applied on routes (and
therefore the routes are updated) before it is stored in the BGP routing table. Use the table-map
command to begin the update before the routes are stored in the IP routing table.

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), the
routes are changed before they enter the BGP4 routing table. For tag values, if you do not want the
value to change until a route enters the IP routing 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
routing table. To configure a table map, you first configure the route map, then identify it as a table
map. The table map does not require separate configuration. You can have only 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 those shown in the first example below. 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 and is then considered as a table map. This route map is applied only to routes
that the device places in the IP routing table. The route map is not applied to all routes. The first
example below assumes that IP prefix list p11 has already been configured.

Examples

The following illustrates the execution of the table-map command in the context discussed in
Usage Guidelines:

switch(config)# rbridge-id 10

switch(config-rbridge-id-10)# route-map TAG_IP permit 1

switch(config-route-map/TAG_IP/permit/1)# match ip address prefix-list p11

switch(config-route-map/TAG_IP/permit/1)# set tag 100

switch(config-route-map/TAG_IP/permit/1)# exit

switch(config-rbridge-id-10)# router bgp

switch(config-bgp-router)# address-family ipv4 unicast

switch(config-bgp-ipv4u)# table-map TAG_IP

Use the no form of the command to remove the table map:

switch(config)# rbridge-id 10